Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Where To Insert Your Custom Php Code Rate Topic   - - - - -


Posted 15 June 2021 - 05:43 AM #1

Hello. I am using cs-cart 4.11.5 version, type ULTIMATE.


I need to optimize images with a custom php script, but I don't know where I can use this code on the cs-cart system.


I know I can buy a plugin for this, but I need to use my code. For example, I have a php code (algorithm), and I need to run it. Where can I paste my php code with the image optimization algorithm?



  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21996 posts

Posted 16 June 2021 - 05:24 AM #2

You can use My changes module and create special controller there. It should get all images data from database and run optimization for each image

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)