I need a custom pricing rule that can be used with fixed quantities. I need to apply discounts to certain groups of items in the cart. I think a custom salesrule would be the way to go but I need the collection of products in the cart instead of a single product. Any ideas?
EDIT
To clarify, I need to be able to have two particular items within a specified category have a discount applied. Let's call them product A and product B. The quantity of product A and product B must sum up to a specified number in the shopping cart rule, for example, 100 (quantity 50 for product A and quantity 50 for product B typically). This rule would need to apply to be applied to products/sets of products/the cart multiple times, e.g., product C and product D should have the discount applied if their quantities sum to 100.
Product A/B could be added to the cart again but as a quantity that does not qualify for the discount, i.e. a quantity < 100.
Use "shopping cart price rules" under "Promotions"
Use a combination of "Conditions" and "Actions"
Use the "Conditions" to determine when the rule will start.
Use the "Actions" to determine which items to apply the rule to.
That will allow you to say something like "If customer has a blue jacket, red jacked, and orange jacket, discount the orange jacket 20%" or something like that.
Tip: Attributes can be used in actions and conditions. If you dont see the attribute there to select from, go to Catalog>Attributes>Manage Attributes, open the attribute you want to use (such as sku), and make sure its set to "Use for Promo Rule Conditions" "YES"
If your rule doesnt work, keeping playing with it. It has to be exact in order to work.
Hope this helps!
Related
As the title I would like to disable prioritization of certain items from being added to the cart In Magento 1.
For example, I want to treat a product with a price of 0 as not being able to put it in the cart, and put the product with a non-zero price first, followed by the product with a price of 0.
Is there any way?
We have added several catalog price rules in our magento stores, but it seems that they don't get applied with additional costs that we set inside products with custom options, but they only work with standard product price, is there a way to fix this? thanks
Catalog price rules don't work on simple product's options, they only work on sub-products i.e. childs of configurable products.
If you want to have discounts on single product options you have to create as many products as the options to discount and then to associate them to a configurable product.
I think you're just missing one thing.
On your catalog price rule, go under Actions and change the item called Enable Discount to Subproducts to Yes.
And then set this number to be the same as your original discount above.
Example: If you're selling a pair of shoes, and red ones normally cost $10 more.
With the subproduct rule set to no, the $10 mark-up stays at $10, even if your shoes are 50% off. If you turn that subproduct option on, you set a separate line item, to change the mark-up value - so it's shoes 50% off and then 50% off the markup for red ones.
My catalog contains a number of configurable products where the configurable attribute is a custom attribute called pack_size.
ie:
T-shirt - single
T-shirt - pack of 10
T-shirt - pack of 25
I need to be able to access this attribute in my cart price rule so that if my rule applies a discount for 100 + t-shirts, this could be achieved by:
100 single t-shirts
10 packs of 10 shirts
4 packs of 25
2 packs of 25 and 5 packs of 10 etc etc...
Can anyone please help with this?
Thanks,
Matt
I think you can achieve this by building up the Shopping Cart Price Rule Conditions for each case. Are you familiar with how to set up a rule like that?
The logic is: Apply this discount if...
if (qty>99 and pack_size="t-shirt") or
if (qty>49 and pack_size="2 pack") or
if (qty>24 and pack_size="4 pack")
The top rule needs to be changed from ALL to ANY to get the or, or, or. Then in teh sub rules you want a product attribute combination rule. and then set up an additional rule for each pack size and its corresponding quantity. See the screenshot below (I used size in place of pack_size as an example).
You may need to set the pack_size attribute to be useable in shopping cart rules - that is under Catalog->Manage attributes->Attributes and then set Use for Promo Rule Conditions to yes. then I think it will need a re-index before it will show up as an option in the rule dropdown.
Can anyone help me find the products in current shopping cart matching the applied coupon criteria?
Actually I need to set the custom discount (50% on highest one) amount on any one matching products, By default Magento applied the 50% discount in all the matching products buy I need to apply discount on only one item.
I have make some Google and get some links on https://stackoverflow.com/ and http://www.magentocommerce.com/, but not able to get any solution or suggestion.
Any help will be appreciated.
[EDIT]
e.g. I have four items in the cart in those two items matching the coupon criteria (Whatever we have set in condition), So by default Magento apply 50% discount (set in coupon) on these two items, but I want to give the discount only on one(highest price) out of these 2.
Did you try to select needed products in 'actions' tab? You may select only these products, for which you want to apply discount, there.
Also you may find 'Maximum Qty Discount is Applied To' configuration option there.
Is it possible to have a shopping rule set like i want to give discount when there is a
x+ items in cart.
It can be any items simple or configurable or grouped product. i just want to give discount when cart items reach to X number.
thanks
Yes if you got to Promotions > Shopping Basket Rules > Then create new rule.
under conditions set the following:
If ALL of these conditions are TRUE :
Total Items Quantity equals or greater than 3
Then under actions:
for the Apply dropdown: choose 'Fixed amount discount for the whole basket'
then below this add your percentage.
This is the basic requirement. There are more settings you can / tweak apply here.
Hope that helps?