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

Sascha Egerer sascha at sascha-egerer.de
Thu Sep 30 09:27:01 CEST 2010


Hi!

Can you please try this Version? If it works, i will create a clean 
patch at t3con and update the extension.

In one of my shops this extnension works.

Regards

Sascha Egerer

Am 30.09.10 08:24, schrieb Morten Haggren:
> 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.
>
>
>
>



More information about the TYPO3-project-commerce mailing list