fernandido Posted December 11, 2019 Share Posted December 11, 2019 (edited) Hello, I am looking for how to know if a product has combinations in category list. I am using Prestashop 1.7. In the category list, I need to set the text 'From' ..{price} in each product that has combinations. Thanks in advance. Best regards. Edited December 11, 2019 by fernandido (see edit history) Link to comment Share on other sites More sharing options...
fernandido Posted December 13, 2019 Author Share Posted December 13, 2019 Somebody can help giving some tips? Thanks anyway Link to comment Share on other sites More sharing options...
zod Posted April 7, 2020 Share Posted April 7, 2020 Try this code in your theme /templates/catalog/_partials/miniatures/product.tpl {if $product.id_product_attribute > 0} From {/if} {$product.price} Link to comment Share on other sites More sharing options...
fernandido Posted April 7, 2020 Author Share Posted April 7, 2020 Thanks! It works! Link to comment Share on other sites More sharing options...
Ezequielb Posted April 10, 2020 Share Posted April 10, 2020 Hi you all, It works pretty well; but I need to show the lowest price for the combinations available. How can we do it? Best regards! Link to comment Share on other sites More sharing options...
fernandido Posted April 12, 2020 Author Share Posted April 12, 2020 From {/if} {$product.price} From {/if} {$product.price} You should set the lowest price in your product Link to comment Share on other sites More sharing options...
Ezequielb Posted May 6, 2020 Share Posted May 6, 2020 Hello, There should be a way to display the lowest price from all combinations and not default one.. Any help? Link to comment Share on other sites More sharing options...
fernandido Posted May 13, 2020 Author Share Posted May 13, 2020 I think It could be easy. Set by default the combination with lowest price. Link to comment Share on other sites More sharing options...
Ezequielb Posted May 13, 2020 Share Posted May 13, 2020 1 hour ago, fernandido said: I think It could be easy. Set by default the combination with lowest price. That means to enter each product and modify the entire catalog, for stores with thousands of product with combinations.. Link to comment Share on other sites More sharing options...
pietruzzo Posted September 15, 2020 Share Posted September 15, 2020 Hello everyone. What if I want to add the "from..." label only in products that actually have combinations with impact on price? Thanks in advance. 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