Let's say I have 10% off coupon code.
This coupon is applicable only to Product B
A customer have in its cart :
Product P1
Product B
Product P2
I don't want my 10% off coupon apply to other product but only to Product B.
Do you know how I can do that within Magento?
Here is the process to create Coupon Code for any particular product:-
Login to Admin
Go to Promotions -> Shopping Cart Price Rules
Click Add New Rule
Fill Rule Information
Set Conditions
On left sidebar, click Conditions tab
Click + button icon
Select Product attribute combination
Click + button icon
Select SKU
Now, you will see SKU is ...
Put your product SKU over there
Please note that the SKU option may not show up by default. (Go to: catalog -> attributes -> manage attributes. Then search for the ‘SKU’ attribute and set the drop down ‘Use for Promo Rule Conditions’ to YES and reindex if needed.)
Set Actions
You can set how much discount you want to give from here
Save Rule
Also as extra information, if you not found SKU in promotion tab you can do following.
Go to: catalog -> attributes -> manage attributes
Search for the ‘SKU’ attribute and set the drop down ‘Use for Promo Rule Conditions’ on YES.
That will solve the problem.
They are not exact answer for the question.
Most of all the right but you have to setup one more thing as below if you want to discount only specific items or specific items in category.
Do it as above
under Shopping Cart Price Rule
Go to Conditions > Remove all conditions
Go to Actions and setup under
"Apply the rule only to cart items matching the following conditions (leave blank for all items)"
If you want to discount specific items, select SKU and input the SKU #
If you want to discount Category items, select category
It will be discounted only setup items even if other items are in the cart.
Go to your shopping cart rules in Admin Panel of Magento. When you create new rule, under conditions tab you have great options to set.
For example you can that this rule will apply only to products of a one category, or product which has defined attribute.
You should check those option, because Magento has many possibilities here.
Login to Admin
Go to Promotions -> Shopping Cart Price Rules
Click Add New Rule
Fill Rule Information
Under Actions :
In Apply the rule only to cart items matching the following conditions (leave blank for all items)
Click on + button, under that select SKU
Now, you can see SKU is ...
Put your product SKU over there
The SKU option wont be there in default, to add that
Catalog -> attributes -> manage attributes
Find SKU
Set "Use for Promo Rule Conditions" to Yes
Related
I must add a discount of 0% for two categories, the others categories must have a discount of 20%. I'm looking a way to add quickly. Maybe there is a free module?
In admin area there is a page for your purpose.
Go to price rules and Catalog Price Rules. Press Add new catalog price rule.
From this panel you can decide discounts er category. In principal area select general option and in Add a new condition group select the category involved.
I have create a rule under Shopping Cart Price Rules.
In Actions
Apply: Buy X Get Y Free(discount amount is Y)
Discount Amount: 1
Discount Qty step(Buy X): 2
And provide condition
If ALL of these conditions are TRUE :
Category is 5
Note: 5 is category Mobiles
The rule is created successfully. But in home page nothing is displayed about this rule and nothing happened for this rule while shopping. That means it showing the rule is not working. How can i make it working, and what is wrong with my approach. Need your help...
Note: magento version is 1.7.0.2
In the admin panel, click on Promotions -> Shopping Cart Price Rules (because we are dealing with products in the cart)
In the Conditions tab,click the little plus symbol and select 'Product Attribute Combination'.
Select the new plus symbol and select category. Click on the '...' and select the category for the products you want to have in the basket for you to get the discount.
Now click on the Actions tab, in 'Apply' have 'Percent of product price discount'. In Discount Amount, enter 100 (for 100%). In the conditions at the bottom, click on the plus symbol and select Category. Click on the '...' to select the category for the products you want to apply the 100% discount to.
This will get you 100% off all products in cat b when you have >= 1 products from cat a in the cart.
NOTE: Test this functionality as many times you can.. Test it with adding multiple quantity of main product or by adding the multiple quantity of free product.
I am trying to add a base product of the bundled item (with no configuration, or additional products added into the bundle). None of the configurable items are required, and the price of the bundled item is set to a fixed price.
I've attempted to try the solution given here: http://www.magentocommerce.com/boards/viewthread/17289/
if (empty($optionIds)) {
// return Mage::helper('bundle')->__('Please select options for product.');
$selectionCollection = $product->getTypeInstance(true)->getSelectionsCollection($product->getTypeInstance(true)->getOptionsIds($product), $product);
$bypass_sel_arry = $selectionCollection->getData();
$options = array($bypass_sel_arry[0]['option_id']=>$bypass_sel_arry[0]['selection_id']);
}
But I've noticed that when the item gets added to cart, it automatically picks up the first option in the configurable items.
Any help would be appreciated.
This will need jQuery involvement.
You should follow the following approach, it is bit tricky but it may resolve your problem.
Associate the simple product with bundle products.
Make the show type check-box.
Display the price of simple products associated in the product view page.
Convert the type check-box to button with text labeled as "Add to cart". This will give you many add to cart buttons on a product detail page.
Pass the id of the product in any attribute of the button.(This will be done via code customization)
//Code to get ID, pass this in any of the button attribute
$product_id = $this->getProduct()->getId();
//Code to get the button clicked id
$("#btnDel").click(function(){alert(this.id);});
When the button is clicked get the id of the product and go to url
http://magentoserver.com/checkout/cart/add?product=[productID]&qty;=1
This will add your product in the Cart.
I have created a shopping cart price rule for discount.
I want to give a free product for some purchase to customers, so I have created a rule and set action for 100% discount on this product.
I have defined product sku under action tab as-
If ALL of these conditions are TRUE :
SKU is gwb-test3
it is working when I add a single quantity, but when we add more than 1 quantity then discount is appear for all quantity, but I want to give discount only one quanity for this product.
Please suggest some rule conditions or actions for this.
Sorry about the product id I didn't read the question right. But here is a link to your solution:
http://www.hostknox.com/tutorials/magento/shopping-cart-price-rules
Search for: Shopping Cart Price Rule Actions
There is your answer :)
I am applying a price rule to whole categories in my Magento store but I want to leave out a few of the items within the discounted category.
How can I do this in the price rules?
I have tried everything and it just discounts all the products and still discounts the products I want to leave at full normal price.
Thank you so much!
You can accomplish this with Shopping Cart price rules.
In the Actions section, under "apply the rule to the items matching this criteria":