Skip to main content

Update another column when publish or unpublish a product

More
9 years 7 months ago #261456 by PeterChain
-- 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 or Create an account to join the conversation.

More
9 years 7 months ago #261457 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.

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

More
9 years 7 months ago #261575 by PeterChain
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 or Create an account to join the conversation.

More
9 years 7 months ago #261577 by Jerome
Hi,

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

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.

Moderators: Obsidev
Time to create page: 0.173 seconds
Powered by Kunena Forum