2

I am using commerce price attributes module then I am facing problem , price is updated on the product display node but not in my cart...also, there is no line item for the added price attribute.

Example :

enter image description here

enter image description here

In above images ,regular licence is showing price $2.00 and School licence is showing price $10.00. i select school licence then click on add to cart button but price is show $2.00 in cart.

1
  • I am facing the same issue, did you find a solution?
    – petergus
    Aug 29, 2014 at 8:09

1 Answer 1

0

Unfortunately, the https://www.drupal.org/project/commerce_pricing_attributes module and it's brethren (product options and product attributes) are a part of what I like to call the "hunziker approach." This removes the idea of separate SKUs per attribute. Which has the unfortunate effect of giving the masses what they expect and distorting/side-stepping a very deliberate separation of logic in Drupal Commerce. It would be like forcing Views to store taxonomy terms. It might make your task easier, but it is not the right approach.

The "hunziker" approach to Drupal Commerce is not supported nor recommended by the creators of Drupal Commerce. Thus, any problems you might have with the modules is "by design" unfortunately.

If you want attributes to update the pricing correctly, try creating separate product entities with unique and single attributes and attaching them to one single product display node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.