Move Product Automatically To Another Category

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 9 months ago #89745

Is it possible to automatically move a product, once it's sold, to another category?

Thanks!!

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #89809

Hi,

By default there is no options for that, but it's possible.
You have to create a plugin, it can be based on the function "onAfterProductUpdate".

When the product stock is "0" you can execute SQL requests to change the product categories.
It require good php skill, you can find some documentation here:
www.hikashop.com/fr/support/documentatio...r-documentation.html

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

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 9 months ago #91498

That's above my skill level :( But thanks!!

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

Time to create page: 0.064 seconds
Powered by Kunena Forum