[TYPO3-commerce] Looking for bugfix for Bug #1719 of com_advanced_products

Morten Haggren mo at idefa.dk
Thu Sep 30 08:24:52 CEST 2010


Hi Sven,

just set $articleData->prices_loaded=true;
before calling load_data and back to false after - that way you dont 
have to rewrite patch class.tx_commerce_article.php every new commerce 
release.

/Morten Olesen

On 2010-09-30 00:47, Sven Schumacher wrote:
> Hello,
>
> com_advanced_products uses the hook postpricenet/postpricegross and it
> crashes when it calls:
>
> $articleData = t3lib_div::makeInstance('tx_commerce_article');
> $articleData->init($articleUid['uid_article']);
> //up to here everything is fine
> $articleData->load_data(); // <<-- this is the bad one.
>
> So load_data ends in an endless loop because of calling load_prices.
> I added to the original class.tx_commerce_article.php another load_dataP
> which is the same function without load_prices-Call.




-- 
RewriteRule ^Morten Olesen$ Morten Haggren [R=301,L]


More information about the TYPO3-project-commerce mailing list