Disable all products of a particular brand

  • Posts: 42
  • Thank you received: 1
11 years 10 months ago #131846

We've got 3 websites that sell the same products in 3 geographical areas. It's one company with one set of inventory, but due to distribution agreements with various manufacturers, they cannot sell some brands in certain areas. Is it possible to prevent products from displaying by unpublishing a brand?

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

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
11 years 10 months ago #131928

Hi,

Thanks to the plugin "shipping price per product" you can "block" (forbidden) a product for some specific shipping methods.
So you can forbidden a product for certain areas. You just have to split your shipping methods depending the areas you want to have.

Hope my explanation is clear enough.

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.

  • Posts: 42
  • Thank you received: 1
11 years 10 months ago #131993

Ok that makes sense. However, would the product still display to a user since the system wouldn't know where they are coming from until they login?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #132025

Yes, if you restrict your product to some shipping methods, your product will display, but will only be "purchasable" by using one of this shipping methods.

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

  • Posts: 42
  • Thank you received: 1
11 years 10 months ago #132027

Ok, that's what I though. Due to the distribution agreements, we're not able to even advertise that we carry those items so they cannot display at all on the website, even if there is no way to purchase them.

I think the way to go will be to create a simple extension that unpublishes products for any brand that is unpublished.

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
11 years 10 months ago #132091

Yes, in that case, that will require a custom plugin to filter them out from the listings on the products listing pages.
You can use the trigger onBeforeProductListingLoad for that.

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

  • Posts: 42
  • Thank you received: 1
11 years 10 months ago #132097

nicolas wrote: Yes, in that case, that will require a custom plugin to filter them out from the listings on the products listing pages.
You can use the trigger onBeforeProductListingLoad for that.

Perfect! I was going to post a follow up question to see if there were any event triggers that could be used in either the import or product display that could be used to filter out the products. This makes it fairly simple to do then. Thank you!

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

Time to create page: 0.075 seconds
Powered by Kunena Forum