Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Category specific discount codes
 
brianc1976
Jr. Member
 
Total Posts:  4
Joined:  2010-09-29
 

Hi all,

I am attempting to set up discount codes for specific categories on my website, and have got as far as to the point it asks for the ‘category’ parameter. Here, I am unsure exactly what to put in? I tried the category name, but I am guessing it is a code rather than just the text that should go in this field?

Any help much appreciated,

Brian

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

You should create a “Shopping Cart Price Rule” for discount as per category. You will need to set the category_id in condition section for assigning discount to particular category.

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
brianc1976
Jr. Member
 
Total Posts:  4
Joined:  2010-09-29
 

Thanks for the reply. I have done as you said, but in the condition ‘

If ALL of these conditions are TRUE :

* If an item is FOUND in the cart with ALL of these conditions true:
o Category is ‘*****’

What should go where the *’s are? I tried the category name but this doesn’t seem to work?

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

Go to Admin-> Shopping Cart Price Rule and create new rule with below condition:

CONDITIONS 
If ALL of these conditions are TRUE 
* If 
an item is FOUND in the cart with ALL of these conditions true
Category  is 10
ACTIONS 
Apply 
percent of product price
Discount Amount 
*: 25%
Maximum Qty Discount is Applied 0
Discount Qty Step 
(Buy X) : 0
Apply to Shipping Amount 
No
Free Shipping 
:No
Stop Further Rules Processing 
No

If ALL  of these conditions are TRUE
It will get 25% discount on category is 10.

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
brianc1976
Jr. Member
 
Total Posts:  4
Joined:  2010-09-29
 

Thanks, but what I am asking is how do I know what is category ‘10’? Where can I find out what number is associated with the specific category?

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

@brianc1976 :: when You will make condition for “shopping cart rule” . You have click on “plus” button and select “category” under “Product Attributes” heading.

Set category id to those categories which you want to allow discount.

category ‘10’? is the id of category name “furniture” that I have allowed 25% discount on it intents of other categories. 

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top