Lukenzo Posted April 7, 2020 Share Posted April 7, 2020 What is the easiest way to get all product combination with final prices ? Doesn't matter if it is in controller or template. Prestashop 1.7. Thanks in advance. Link to comment Share on other sites More sharing options...
Lukenzo Posted April 14, 2020 Author Share Posted April 14, 2020 I needed to display min and max price in product tab (category page). Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 16, 2020 Share Posted April 16, 2020 $product = new Product($id_product); // I beliver you already have the product id. $attributes = $product->getAttributeCombinations($id_lang); //$id_lang can be fetch from the cookie context. $this->context->language->id Link to comment Share on other sites More sharing options...
Lukenzo Posted April 16, 2020 Author Share Posted April 16, 2020 Thank you Link to comment Share on other sites More sharing options...
RichyVOC Posted May 27, 2021 Share Posted May 27, 2021 Hi, I have the same question. I would like to display price on the radio buttons for each combination (3 to 4 combinations). Knowband plugins seems to have a solution but I'm not sure how to implement this. The screen capture shows what I would like but the prices shown are the base price of the current product. $product = new Product($id_product); // I beliver you already have the product id. $attributes = $product->getAttributeCombinations($id_lang); //$id_lang can be fetch from the cookie context. $this->context->language->id Thanks if you can help 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