I set up this pricing rule in my Drupal 7 Commerce Kickstarter (7.x-2.4) site and I know how to do what I want but the site is now letting me do it.

What I want to happen is on orders with quantities of 50-250 I'd like an additional $8 added to the full order amount.

There are other rules that I will be adding to add more and more charges as the orders get bigger but the damn "action" in this rule is not letting me edit the Data selector to the one I want/need. The one that I have in place add's .08 to the products unit price and I'm guessing that's happening because I'm using "commerce_line_item" as the Data selector???

I would think I would have to use this "commerce-line-item:order:commerce-order-total:" to add $8.00 to the total. Check out these screen grabs so you can follow what I did (at the bottom of this post).

On another note, I will be adding more rules to coincide with these additional charges so that the price of each product drops as orders get bigger. For example if you order 1-4 they're $4.95/each, if you order 5-9 they're $3.95/each and so on and so on. I would think to take care of this 2nd part I'd just add rules that give a discount if the amount of an order is < or > correct?

Here are the links regarding my original problem, thanks in advance if you can help and any help would be greatly appreciated.

http://michaeljbaran.com/rule-overview.png

http://michaeljbaran.com/Editing-condition_Total-product-quantity-compar...

http://michaeljbaran.com/Editing-action_Add-an-amount-to-the-unit-price.jpg

And here is the error that I'm getting when I try to set the action's Data selector to the one I think I should be using

http://michaeljbaran.com/error.png

And here is the checkout page when I place 50 in the cart - .08 is added to the unit price for some reason even though my rule states to add 8.00 NOT .08

http://michaeljbaran.com/50-in-cart.png

Comments

lsolesen’s picture

Status: Active » Closed (won't fix)

You need to dig into rules. We cannot help you with this in this issue queue. Sorry. Try http://stackoverflow.com or similar forums?