News:

AbanteCart v1.4.2.1 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Need to limit a Category to a Customer Group

Started by kavlito, April 21, 2020, 07:50:30 PM

Previous topic - Next topic

kavlito

My cart is for personalized products for retail and wholesale (resellers).

The resellers products (only 2) are not the same as the retail products.

I would like to be able to have my B2B Category tied to specific Customer Groups and not be shown to the non-Customer Group retail customers.

Can anyone think of how to code that?

Thanks.

noob to AbanteCart coming from Zencart and Opencart

dvagner

Best way - create extension with hook's in Storefront Category controller.
To prevent direct access to product you need hooks:
Storefront Product controller, Storefront Search controller, Block controllers (if used)

Doc: https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17793156/Hooks

Forum Rules Code of conduct
AbanteCart.com 2010 -