writing simple hikashop plugin

  • Posts: 12
  • Thank you received: 0
11 years 9 months ago #88780

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.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
11 years 9 months ago #88825

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum