Hi all
and thank you for your answer Rishi.
I think, the first way (assign variants to price_rules) will cause
performance problems: We have products with more than a thousand variants.
So, I gave the category way a try yesterday, but it seems, that this way
do not calculate the price like we need it.
The price rule (qty >= 2) was activated if I added 2 yellow hats or 2
red hats to the cart, but not, if I added one of each variant.
I have done the following:
Created a category (type: internal)
Added a price_rule with shopid==XX and categoryid==XX and a price
override action.
Then I tested with the following category members:
1. virtual and variants
2. virtual only
3. variants only
Example:
Hat price = 10$
Qty >= 2, action: Price = 9$
Result of calculated Prices:
1 yellow + 1 red = 20$
2 yellow = 18$
How we need it:
1 yellow + 1 red = 18$
2 yellow = 18$
Where is my fault?
Regards
Greg
On 05/25/2013 10:11 AM, Rishi Solanki wrote:
Either you need to add all variant products in the rule or you need to
setup a category specific to price rule add virtual product in it and
finally link that virtual product to category.
These are the two possible solution to your problem.
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com
On Sat, May 25, 2013 at 3:22 AM, greg jocher<[email protected]> wrote:
Hi All
We use price rules to override prices by product and quantity.
All prices and pricerules are set on the virtual product.
Is there a simple way to count/sum the quantity of different variants to
get the overridden price?
Simple example:
virtual: hat
variant 1: red-hat
variant 2: yellow-hat
If the customer puts a red and a yellow hat to the cart, the price_rule
for qty >= 2 should be used.
Regards
Greg