- Posts: 76
- Thank you received: 9
onProductFormDisplay() trigger in the HikaShop Shipping plugin
9 years 7 months ago - 9 years 7 months ago #262167
by IGrock
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?
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: 9 years 7 months ago by IGrock.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262177
by Jerome
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.
Replied by Jerome on topic onProductFormDisplay() trigger in the HikaShop Shipping plugin
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,
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.
9 years 7 months ago #262246
by IGrock
Replied by IGrock on topic onProductFormDisplay() trigger in the HikaShop Shipping plugin
Thank You, Jerome.
I had to hang it on the trigger onShippingConfigurationSave().
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.244 seconds