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

#   Update another column when publish or unpublish a product

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 9 months ago [\#261456](#261456) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Update another column when publish or unpublish a product](/forum/23-market-how-to/888679-update-another-column-when-publish-or-unpublish-a-product#261456 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.25  I want to change a column value for a product when publishing or unpublish on frontend / backend listing view.  There's a trigger to do it?  Thanks.  -- Víctor")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.1 Multivendor
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.25

I want to change a column value for a product when publishing or unpublish on frontend / backend listing view.

There's a trigger to do it?

Thanks.

-- Víctor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Njc5LXVwZGF0ZS1hbm90aGVyLWNvbHVtbi13aGVuLXB1Ymxpc2gtb3ItdW5wdWJsaXNoLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#261457](#261457) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Update another column when publish or unpublish a product](/forum/23-market-how-to/888679-update-another-column-when-publish-or-unpublish-a-product#261457 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.25  I want to change a column value for a product when publishing or unpublish on frontend / backend listing view.  There's a trigger to do it?  Thanks.  -- Víctor")*

[ www.hikashop.com/support/documentation/6...ntation.html#product](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#product)

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 9 months ago [\#261575](#261575) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Update another column when publish or unpublish a product](/forum/23-market-how-to/888679-update-another-column-when-publish-or-unpublish-a-product#261575 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.25  I want to change a column value for a product when publishing or unpublish on frontend / backend listing view.  There's a trigger to do it?  Thanks.  -- Víctor")*

Hi Jerome,

thanks for the link, I have checked the triggers before posting this and I didn't find a trigger firing when a product is published / unpublished, and, as far as I experienced, when I change the Published Status from a product_list no ProductUpdate trigger is fired, so I don't know if I am wrong in this last appreciation or your answer is like "if you don't find it here it doesn't exist'.

Please some extra clarification will be welcome.

kind regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Njc5LXVwZGF0ZS1hbm90aGVyLWNvbHVtbi13aGVuLXB1Ymxpc2gtb3ItdW5wdWJsaXNoLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#261577](#261577) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Update another column when publish or unpublish a product](/forum/23-market-how-to/888679-update-another-column-when-publish-or-unpublish-a-product#261577 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.1 Multivendor -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.25  I want to change a column value for a product when publishing or unpublish on frontend / backend listing view.  There's a trigger to do it?  Thanks.  -- Víctor")*

Hi,

When a product is published.. The product is updated.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg4Njc5LXVwZGF0ZS1hbm90aGVyLWNvbHVtbi13aGVuLXB1Ymxpc2gtb3ItdW5wdWJsaXNoLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.055 seconds

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