[Resolved] Show/hide variations based on user
So I have figured out how to hide products with or without a specific Attribute (I created the Client attribute and added my client’s name as a term), but how can I only show VARIATIONS to each client in the same way?
For example, Product X has two Variations: one for Company A and one for Company B because the pricing is different for each. My code now says if logged in user’s billing company name matches the product Attribute term, then show it. How can I then display a variation name that matches this billing company name? Basically, I don’t want other clients to see another client’s pricing.
- The topic ‘[Resolved] Show/hide variations based on user’ is closed to new replies.