Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
264 views
in Technique[技术] by (71.8m points)

php - How to create a coupon on specific product in Magento?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...