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

Is it possible to add a discount coupon code field in e-commerce??

By
Maitane Itoiz
on 11/7/14, 5:28 AM 2,345 views

Hello!!

I work with Odoo 8 and I've done a e-commerce for sell a product. Everything works fine but I want to add a discount coupon code field and I don't know how to do it. I've seen in the e-commerce module's website that this option is available (as you can see in the picture below, in the right bottom side) but I can't find the way to do it. Is there any module available or someone knows how to add the discount coupon code field?

https://www.odoo.com/website/image?max_height=768&field=datas&model=ir.attachment&id=497042&max_width=1024

Thank you in advance.

Maitane.

0
Tim Norton
On 4/13/15, 6:09 PM


I have a fix for this in v8

In my installation, the view product.pricelist.website.form had a group set to public.

Removing this allowed the Promotional Code field to appear in the pricelist.

However the shopping cart still was not applying the discount when I entered the code in Coupon Code.

This was due to a bug, which was fixed in this patch.

https://github.com/odoo/odoo/commit/7a2ba5ca47e896be681c53ef0dc869cbad642a78#diff-cf00d16a9ce1440df9ec66a522633604

I hope this saves you a lot of time.

0
Jean-Marc Dupont
On 1/29/15, 12:21 PM

It doesn't work on my installation

I enter the promotional code in the Shopping cart page and nothing happens !

0

Prakash

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 11/11/14, 3:07 AM

The below steps to Configure ecommerce shop coupons:-

1) In Admin Role Menu  Settings --> Configuration --> Sales
Customer Features check "Use pricelists to adapt your price per customers" and Apply

2) Create/Edit  PriceList and Subtab Create PriceList Version and Price List Item using the below odoo document link 

https://doc.odoo.com/6.1/book/6/6_16_Sales/6_16_Sales_pricing/

  You can define/Edit a pricelist from the menu Sales --> Configuration --> Pricelists --> Pricelists

  For each list you should define:
 
  Promotional Code (is equal to Coupon Code)

  a Name for the list,

  a Type of list: Sale for customers or Purchase for suppliers,

  the Currency in which the prices are expressed.
 
   In sub tab create Price List Version and Price List Items

3) In the Page http://localhost:8069/shop/cart
   Menu --> Customize --> check "Reduction Code" after tht you can view "Coupon Code" options
   and Apply based on the Product Pricelist Rule amount will be calculate   

One key point you have missed here is that the ecommerce module needs to be installed for the field 'promotional code' to be available on pricelists, it is not generally available for use in simple back-office system.

Hertford Developments Limited, Kurt Haselwimmer
on 11/19/14, 1:22 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

2 follower(s)

Stats

Asked: 11/7/14, 5:28 AM
Seen: 2345 times
Last updated: 4/13/15, 6:09 PM