Skip to main content

writing simple hikashop plugin

More
13 years 7 months ago #88780 by lazyman
Hello,

I need a simple database query tu be executed when saving product. I need filename of product and catalogue-no of product to be written to another table. Is it possible to write little plugin for this purpose, or i need to change some code?

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88825 by Jerome
Hi,

You can create a little HikaShop plugin which would be triggered when a product is update (or created).
We have a developper documentation which list most of our triggers (we are updating this documentation in order to add all new triggers).
www.hikashop.com/en/support/documentatio...ntation.html#content

So you can use " onAfterProductCreate(&$element) " and " onAfterProductUpdate(&$element) " triggers in your plugin.

Best regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds
Powered by Kunena Forum