Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Extending Product_Image for image size changes

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

Page: 1
Go to End
Author Topic: 746 Views
  • joelpittet
    Community Member
    4 Posts

    Extending Product_Image for image size changes Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.