Lukenzo Posted April 7, 2020 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. Share this post Link to post Share on other sites More sharing options...
Lukenzo Posted April 14, 2020 Posted April 14, 2020 I needed to display min and max price in product tab (category page). Share this post Link to post Share on other sites More sharing options...
Knowband Plugins Posted April 16, 2020 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 Share this post Link to post Share on other sites More sharing options...
Lukenzo Posted April 16, 2020 Posted April 16, 2020 Thank you Share this post Link to post Share on other sites More sharing options...
Graingers Posted April 17, 2020 Posted April 17, 2020 (edited) Our goal is to display available product combinations and their prices on a product page. For example, our store proposes some loyalty discount program, and we should show all product prices in a proper way. The following solution will fit for you in case you have a variety of product combinations and a set of user group discount rules TargetPayandBenefits Edited April 18, 2020 by Graingers (see edit history) Share this post Link to post Share on other sites More sharing options...
RichyVOC Posted May 27, 2021 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 Share this post Link to post 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