Well ... I have been trying to get a simple discount operating. All orders over $200 get a 10% discount. Shouldn't be too hard!
I can set up a pricing rule that gives customers a 10% discount on items of more than $200 value. that's not a problem. But trying to get a rule that gives a discount on orders that have a total of more than $200 is proving impossible.
One of the frustrations is that when I select a condition - like 'Order balance payment' and I choose one of the selectors offered 'site:current-cart-order:commerce-order-total:' enter the variables and save, it comes up with 'Data selector site:current-cart-order:commerce-order-total: for parameter commerce_order is invalid.' Which raises the question 'Why offer the option if it's invalid anyway?'
I have gone thru a number of the options available and they all come up with the same result.
Which leaves me with a request and a suggestion.
Request: Can anyone point me in the right direction for solving this riddle?
Suggestion to Ryan and the Drupal Commerce team: Please de-geekify this! This is such a good program that is quite spoiled by being too geeky. This is not being negative or smart about geeks. It's just that I am not a geek. I am a businessman trying to run a business, not a geek trying to solve geek problems. So much of my time is being taken trying to solve geek problems that are barely comprehensible to me that I am not paying proper attention to the business problems that I should be paying attention to. Discounts are a normal part of business and should be easily accessible to business owners without having to spend - literally - days trying to work out how to set them up!
Thanks
Willem
Comments
Ryan, Thank you for getting back to me so quickly on this... I love the new site design and this Q&A section is such a great resource!
I attempted what you suggested, using the "Total product quantity comparison" condition. The only data selector that I could get to work was "commerce-line-item:order", but it still does not consider the combined total quantity of two different line items (Product A - 11 items and Product B - 1 item, where the combined total should trigger the condition greater than 11). Basically, no discount is applied in this scenario. When I increase Product A to 12, the discount shows up. The condition has the operator at ">=" and the "quantity" = 11. It appears to only trigger when one product or line item satisfies the condition...
I attempted to choose other data selectors, but I get this type of error message: "Data selector commerce-line-item:commerce-total: for parameter commerce_order is invalid."
I'm sorry if I post this comment twice, my first one disappeared.
Thanks for getting back to me so quickly. The site looks great and this Q&A is such a great resource!
I attempted to use the "Total product quantity comparison" condition and used the "commerce-line-item:order" as the data selector (it's the only selector that I could get to work, the other gave me errors), but it still did not provide a discount in this scenario. (Product A - 11 items and Product B - 1 item, where discount should apply on orders of 12 items or more).
When I increase Product A to 12, the discount shows up. When I flip flop it and increase the other product to 12, the discount shows up, but in any scenario, when either product does not meet the condition's value (operator ">", quantity "11"), no discount is provided.
Any idea what I'm doing wrong?
Thank you,
Joe