I'm using rules to display a shipping service if the base price is greater that 1 penny but it doesn't seem to be working.

  1. my base price/Sub total was $11.70
    • Checkout Cart Contents
  2. I set a rule to "Add a rate for a shipping service to an order" with the price of $0 if commerce-order:commerce-order-total:base-price:amount was greater than 1 (a penny) and it did not show up
    • Rule Greater than
  3. Then I changed it to be less than 1 penny (which obviously it's not) and it appeared

I wonder what commerce-order:commerce-order-total:base-price:amount actually is in my case. I dpm() it and I know the base price under is 1170:
dpm of commerce-order-total

CommentFileSizeAuthor
dpm.png37.68 KBswitch13

Comments

pcambra’s picture

Ok, I see the error, commited a fix for it.

pcambra’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.