Hello Team,
I have created a rule that is discount for sell price; (Rules event: "Calculating the sell price of a product")
Unit base price is 100 EUR. I discounted 10% and I can see the 90EUR on product page and on Shopping Cart page. When I go to Checkout page the price will back to original base price (100 EUR).
And I also created another Rule, that's event is "After saving a new commerce line item" and action is Commerce Line Item -> Multiply the unit price by some amount but there were not changed anything. Actually I just succeed to change unit price of product but total amount had calculated based for base price.
I checked the view of "commerce_cart_form" and "commerce_cart_summary" and unit price fields was formatted amount I changed with other options, I selected "show calculated price" but nothing changed.
Everything is OK on product displays pages and on commerce_cart_form view. After "commerce_cart_summary" view shows base and uncalculated price.
Please advice.
Comment | File | Size | Author |
---|---|---|---|
#1 | 01.jpg | 61.88 KB | yenidem |
#1 | 02-cart.jpg | 57.09 KB | yenidem |
#1 | 03_checkout.jpg | 59.17 KB | yenidem |
#1 | 04-view.jpg | 111.51 KB | yenidem |
#1 | 05_rules.jpg | 180.74 KB | yenidem |
Comments
Comment #1
yenidem CreditAttribution: yenidem commentedHere is the screenshots about this issue. And I found the problem, I added some of conditions for Rules, one of the rule was "If site name is "Drupal"" and after I removed that conditions the checkout page showed calculated price. But I need that condition, because I calculate site based. I will try another conditions and let you know.
Comment #2
yenidem CreditAttribution: yenidem commentedThe final result for other users;
The Rules module does not get the "site name" on checkout page so the rule does not work properly. I changed that condition as text comparison and value selected "site email". Everything is OK at this moment.