AbanteCart Community

AbanteCart Development => Extensions and Add-Ons => Topic started by: natdroid on November 19, 2015, 12:42:21 PM

Title: Abantecart 1.2.5 all extensions problem
Post by: natdroid on November 19, 2015, 12:42:21 PM
Hello, AbanteCart team. 
Recently we had a customer write in broken extensions with 1.2.5
In what universe product urls from shopping cart differ from standard url?  :(
Why http://localhost/index.php?rt=product/product&product_id=116 reverted to http://localhost/index.php?rt=product/product&key=116:c02e4b65f5afd23e0c568d04b9c85ef5  (SEO 2.0?)
All extensions broken and how to get prod.ids? we're tired of update the code because of 'unnecessary mini changes every month  :'(

(http://i.dailymail.co.uk/i/pix/2015/01/18/24D0D97C00000578-2915804-image-a-1_1421617137240.jpg)
Title: Re: Abantecart 1.2.5 all extensions problem
Post by: abantecart on November 21, 2015, 11:09:29 AM
I suggest that you set this code at the beginning of the function
Code: [Select]
$that = $this->baseObject;
And reference $that->request->....

This way, code looks shorter and you can distinct local scope from core scope