Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Coupon code / Promotional code

By
Ami SUKARSA
on 4/26/16, 8:10 AM 475 views

What is the proper way of setting up the coupon code / promotional code?
I have gone as far as setting up pricelist for the discount, and then activate Coupon-code on /shop/cart, but...

Problem:

1. The discounted prices shows up everywhere on the site.

2. The promotional code always appears on the /shop/cart page, so even new user doesn't need to enter anything to obtain discount.


Can anybody help?

0
Ami SUKARSA
On 4/26/16, 9:24 AM

Never mind, just found it.


(Update 22:58: sorry for not explaining the reply earlier, I thought being newbie I asked something obvious/stupid that everybody knew.)

The solution is to create two pricelists: one as default and the other with discount.

Then in the website pricelist, we must also create two website-to-pricelist links (relations)  in the order : default-website-pricelist first and the discounted website-pricelist after.

On the website, the default pricelist (without discount) will be displayed as this website-pricelist is found first, and only when the user enters the promotional code (in shop/cart) that the discounted price will be displayed.

.

Actually at first I found it not very intuitive until I thought like a programmer, and ask myself what would I do to implement this functionality, and then it all makes sense. Some of odoo design is done from programmer's point of view (which is good now that I know about it).





It is useless, if you do not provide the answer you have found yourself. Please specify also the Odoo version and the corresponding module you have installed. I'm sure this would be useful for others facing the same issue.

Ermin Trevisan
on 4/26/16, 10:42 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/26/16, 8:10 AM
Seen: 475 times
Last updated: 4/26/16, 9:24 AM