Jump to content

Get product combinations with prices


Lukenzo

Recommended Posts

  • 1 year later...

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

 

capture-attributes.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...