Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Extending Product_Image for image size changes


Reply


799 Views

Avatar
joelpittet

Community Member, 4 Posts

30 October 2009 at 6:32pm

What is the best way to overwrite methods of Product_Image? I have a guess that it would be to copy that into the same path in mysite/code/products/Product_Image.php and extend the original with my changed methods and such... is that the best way? Do I need to add anything to the _config.php file too?

I am a bit of a SilverStripe noob, sorry.