habross Posted October 23, 2016 Share Posted October 23, 2016 Hi, I have different attributes group in each product. I need to show add to cart button in product list but it has some conditions: 1) Show add to cart button - only for products where id_attribute = 1533 2) Out of stock - only for products where quantity <=0 and id_attribute = 1533 3) Variants button - for else products I have problem with adding condition Id_attribute = 1533, which function can give me that product has this id_attribute from every attributes which has? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now