tomikk Posted October 18, 2017 Share Posted October 18, 2017 Hi! I wanted to display customers 'images' according to quantity in stock. It was ok until products got combinations. It does not show good image. Below is my code - how can I display image according to combination? Thank you for help. {if ($product->quantity >= 11) || $allow_oosp || !$product->available_for_order || $PS_CATALOG_MODE}<p id="last_quantities"><img src="#image1"></p>{/if} {if ($product->quantity >= 3 && $product->quantity <= 10) || $allow_oosp || !$product->available_for_order || $PS_CATALOG_MODE}<p id="last_quantities"><img src="#image2"></p>{/if} 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