Hi there @threadi
Thanks you for responding. I can manage the database connection (have already done so for the end of the purchase process). What I would like to do is be able to control what products are visible. I would like to query my database (the query I can organise) to determine if the user has access to a product line. What I don’t know how to do is:
- How do I stall the code that loads the available products when a user clicks on the store so I can make my query
- How do I then filter the products; removing the products they are not eligible to buy
- How to run this check on their cart to ensure they don’t already have ineligible products in their cart.