onProductFormDisplay() trigger in the HikaShop Shipping plugin

  • Posts: 76
  • Thank you received: 9
7 years 2 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 2 months ago by IGrock.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 2 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 2 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.057 seconds
Powered by Kunena Forum