Magento get products matching the applied coupon criteria - magento

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.

Related

Magento catalog price rules discount doesn't work with products with custom options

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.

Magento - Display Catalog Price Rule discount on Shopping Cart

When I apply a Catalog Price Rule with a percentage discount (e.g. 20%) across all products, the old price and special price show on my product list and product view pages e.g.
Old Price: £10
Special Price: £8
However on the basket page it only shows the special price, so it is not immediately obvious that there is any discount, or what that discount is.
I would like to show the original grand total and the special grand total on the basket, as well as the discount percentage.
Is this possible?
I appreciate any help!
Thanks
Listing is dependent on flat tables.
You need to run indexing so that flat tables have the effect of rules applied.
So do run indexing follow it by cleaning cache and then check.

Magento - edit custom priced configurable product in cart

i got a problem with a magento extension(currently for 1.8.1):
I have products in my cart.
Therefore I can choose a gift and add it for free into the cart (via observer the priced is set to 0)
BUT here the problem: if the gift is a configurable product i want to set the options. After editing the product the price is set to the original-price again.
How can i keep the gift-price?
greetz,
Florian
Several ways to accomplish this, but the probably easiest (and cleanest) is via a custom total model.
Here is a description, somewhat dated but should be enough to get you started.
Just make sure your total model is calculated after the subtotal model so your quote item price adjustment sticks.
You will also want to pay attention to whether or not you want your total model to be calculated before or after the tax total model.
How do I get quote totals before saving payment method?

Magento: Fixed Amount Discount For Whole Cart For Percentage?

It says on the Magento website that the 'fixed amount discount for whole cart' applies a percentage discount to the whole cart.
This is not the case. For instance, if I type in 10, the whole cart value will be reduced by £10/$10.
Is there any way to apply discount percentage to the whole cart?
I know I can apply a percentage discount to each unit in the basket, but I want to be able to provide a coupon code to reduce the entire cart by x%, not the pre-VAT product prices.
I'm using 1.7.0.2
EDIT:
I think it will be useful to provide an example of what I'm trying to achieve. So, I want to be able to provide people with a coupon code for 15% off the total cart price, after all other discounts have been applied.
For instance, there is currently an offer for 3 items for £22. I want to then reduce the total cart price by 15%, to £18.70.
Any help would be a godsend! Thanks in advance!
Check if "Stop Further Rules Processing" is set to "No".
If it set to "Yes", then rule applies only to the price of the first item in cart
This can be done by using simple steps. Just create a coupon at the admin panel by going to Promotions/Catalog Price Rules. Here click "Add New Rule" and give all the conditions and details. In the left side u can see option "Actions"...
Here you can apply the rule as discount by percentage of fixed value and u can give there ur discount value of 15%. If u dont know of creating coupons in magento, go through this link http://www.magentocommerce.com/knowledge-base/entry/setting-a-coupon-code-to-your-promotions

Magento custom pricing rule

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!

Resources