[Skip to main content](#vessel-content)

#   onProductFormDisplay() trigger in the HikaShop Shipping plugin

##

- **[IGrock](/forum/user/37695-igrock "View IGrock's Profile")**
- [![IGrock's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37695.jpg)](/forum/user/37695-igrock "View IGrock's Profile") Topic Author
- [ Offline](/forum/user/37695-igrock)

Less More

- Posts: 76
- Thank you received: 9
-
-

9 years 9 months ago -  9 years 9 months ago [\#262167](#262167) by [IGrock](/forum/user/37695-igrock "View IGrock's Profile")  *[onProductFormDisplay() trigger in the HikaShop Shipping plugin](/forum/31-development/888806-onproductformdisplay-trigger-in-the-hikashop-shipping-plugin#262167 "Hi,  In my shipping plugin I want to add a new fields to the hikashop&#95;product table and a new row to the hikashop&#95;field table. For this I want to use triggers onProductFormDisplay() and onHikashopBeforeCheckDB(), but they do not work in the HikaShop Shipping plugin. Why?")* was created by *[IGrock](/forum/user/37695-igrock "View IGrock's Profile")*

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: 9 years 9 months ago by [IGrock](/forum/user/37695-igrock "View IGrock's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4ODgwNi1vbnByb2R1Y3Rmb3JtZGlzcGxheS10cmlnZ2VyLWluLXRoZS1oaWthc2hvcC1zaGlwcGluZy1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#262177](#262177) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[onProductFormDisplay() trigger in the HikaShop Shipping plugin](/forum/31-development/888806-onproductformdisplay-trigger-in-the-hikashop-shipping-plugin#262177 "Hi,  In my shipping plugin I want to add a new fields to the hikashop&#95;product table and a new row to the hikashop&#95;field table. For this I want to use triggers onProductFormDisplay() and onHikashopBeforeCheckDB(), but they do not work in the HikaShop Shipping plugin. Why?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4ODgwNi1vbnByb2R1Y3Rmb3JtZGlzcGxheS10cmlnZ2VyLWluLXRoZS1oaWthc2hvcC1zaGlwcGluZy1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[IGrock](/forum/user/37695-igrock "View IGrock's Profile")**
- [![IGrock's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37695.jpg)](/forum/user/37695-igrock "View IGrock's Profile") Topic Author
- [ Offline](/forum/user/37695-igrock)

Less More

- Posts: 76
- Thank you received: 9
-
-

9 years 9 months ago [\#262246](#262246) by [IGrock](/forum/user/37695-igrock "View IGrock's Profile")  Replied by *[IGrock](/forum/user/37695-igrock "View IGrock's Profile")* on topic *[onProductFormDisplay() trigger in the HikaShop Shipping plugin](/forum/31-development/888806-onproductformdisplay-trigger-in-the-hikashop-shipping-plugin#262246 "Hi,  In my shipping plugin I want to add a new fields to the hikashop&#95;product table and a new row to the hikashop&#95;field table. For this I want to use triggers onProductFormDisplay() and onHikashopBeforeCheckDB(), but they do not work in the HikaShop Shipping plugin. Why?")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4ODgwNi1vbnByb2R1Y3Rmb3JtZGlzcGxheS10cmlnZ2VyLWluLXRoZS1oaWthc2hvcC1zaGlwcGluZy1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
