onProductFormDisplay() trigger in the HikaShop Shipping plugin

  • Posts: 76
  • Thank you received: 9
7 years 9 months ago #262167

Hi,

In my shipping plugin I want to add a new fields to the hikashop_product table and a new row to the hikashop_field table. For this I want to use triggers onProductFormDisplay() and onHikashopBeforeCheckDB(), but they do not work in the HikaShop Shipping plugin. Why?

Last edit: 7 years 9 months ago by IGrock.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #262177

Hi,

Only HikaShop plugins are loaded for that specific context.
Shipping plugins are made to provide a shipping method ; so they are loaded when we need them : during the checkout and while dealing with cart or orders.

So you will need to have a plugin in the "hikashop" group to be loaded and use these triggers.

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.

  • Posts: 76
  • Thank you received: 9
7 years 9 months ago #262246

Thank You, Jerome.
I had to hang it on the trigger onShippingConfigurationSave().

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

Time to create page: 0.055 seconds
Powered by Kunena Forum