In my drupal commerce I have a product type. it's name is "Cellphone"
in my product type I have a field named "color" that in field settings I have set this check box "Enable this field to function as an attribute field on Add to Cart forms." so this field is an attribute. color has two options. One is red and another is blue.
When I want to create a product display , I make two products for this product display one is blue and another is red. So in product display, visitor is able to change the product via color attribute.
Now I have made and price attribute for my products. It's name is guarantee and it includes two options. "Type A" that increases price $100 and "Type B" that increases price $200
every thing works well. in product display page and during ordering, when user set color and also set an attribute, price of product change correctly. but after click on "Add to cart" button, the new item in shopping card block doesn't have correct price (it has base price without any attribute effects) and when user press on F5 and refresh the browser page, shopping card block is corrected
do you know what is the reason and how can I solve this problem ?