This question has been flagged
6 Replies
5664 Views

I'm looking for providing my customers coupons with the following functionalities:

  • Fixed ammount value/discount (E.g. $10)
  • Percentage (E.g. %5)
  • Conditional discounts (E.g. For purchases over $50)

Hopefully also to be countable (the coupon may be used for only a limited number of times) and dated (expires at a certain date)

Is there such a functionality or addon in Odoo?

Avatar
Discard
Author

One good example for what I'm seeking is this Shopify addon: http://apps.shopify.com/bulk-discounts

Best Answer

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   

Avatar
Discard

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.

Best Answer


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.

Avatar
Discard
Best Answer

Hi, 

I am looking for the same and the functionality must be arround since:

a) There is a template for website_sale which has a reference to the "reduction codes" at code line 820 following...

https://github.com/odoo/odoo/blob/master/addons/website_sale/views/templates.xml

b) There is also an actual image of this view incl the coupon box in the eCommerce module description (see bottom right of the img):

Inline image 1

c) There is also a field reserved for discount bar codes in the Point of Sale module - probably related but slightly different.

...but that's it - I literally can't find anything else on this, neither on the web nor in any settings.

Any help or pointers would be apprectiated.

Regards,

Frank

Avatar
Discard

You can access the related field "Promotional Code" on the price lists. (Pricelist access has to be activated in the settings for the user.) Not sure where this gets picked up though in the frontend.