Mass action not triggered on vendor changes

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks ago #356117

-- 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

Attachments:

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
1 year 4 weeks ago #356121

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,


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.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks ago #356163

Hi Jerome

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.073 seconds
Powered by Kunena Forum