- Posts: 306
- Thank you received: 42
Mass action not triggered on vendor changes
2 years 11 months ago #356117
by trevsmiff
Mass action not triggered on vendor changes was created by trevsmiff
-- HikaShop version -- : 5.0.0 [2310231533]
-- HikaMarket version -- : 4.1.1 [2309252336]
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.1
Hi
I have set up two mass actions which are triggered after a product is updated. The actions swap the product category between a 'Sold' category and a 'For sale' category when the quantity is above zero. (Used to display badges).
The mass action is triggered correctly when the product quantity is changed from the back-end admin but it is not triggered if the quantity is changed from the vendor control panel.
regards
Trevor
-- HikaMarket version -- : 4.1.1 [2309252336]
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.1
Hi
I have set up two mass actions which are triggered after a product is updated. The actions swap the product category between a 'Sold' category and a 'For sale' category when the quantity is above zero. (Used to display badges).
The mass action is triggered correctly when the product quantity is changed from the back-end admin but it is not triggered if the quantity is changed from the vendor control panel.
regards
Trevor
Please Log in or Create an account to join the conversation.
2 years 11 months ago #356121
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 Mass action not triggered on vendor changes
Hello,
HikaMarket is using the HikaShop product class in order to update/save the product.
The HikaShop product class loads all HikaShop plugins before calling the product trigger.
But since HikaShop 4.3.0, there was a modification in the behavior which should be handled by HikaMarket.
It results that the product categories are modified by the massaction but edited just after that by the production edition (which updates the categories, images, variants.. after the main content of the product is saved).
We worked on a hotfix for HikaMarket 4.1.1.
Please re-download it.
Regards,
HikaMarket is using the HikaShop product class in order to update/save the product.
The HikaShop product class loads all HikaShop plugins before calling the product trigger.
But since HikaShop 4.3.0, there was a modification in the behavior which should be handled by HikaMarket.
It results that the product categories are modified by the massaction but edited just after that by the production edition (which updates the categories, images, variants.. after the main content of the product is saved).
We worked on a hotfix for HikaMarket 4.1.1.
Please re-download it.
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.
The following user(s) said Thank You: trevsmiff
Please Log in or Create an account to join the conversation.
2 years 11 months ago #356163
by trevsmiff
Replied by trevsmiff on topic Mass action not triggered on vendor changes
Hi Jerome
Thanks for that, it is working well.
Best regards
Trevor
Thanks for that, it is working well.
Best regards
Trevor
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.181 seconds