How to add coupon / voucher in PrestaShop 1.5 ?

For the first, we must answer for question: why to use coupon codes / voucher codes in our store? Vouchers play an important role in your daily relationships with your customers. It's simple! Because everyone likes to feel special and everyone want to get good price. Both can be achieved with personalized discounts, and this is precisely where vouchers come into play – or more precisely, price rules, which is a new feature in PrestaShop 1.5.

 

As the official documentation said  "Price rules" can take two forms:

  • Cart rules. These are actually the successors to vouchers, as they were known in previous versions of PrestaShop. Basically, it enables you to create per-customer voucher codes, but also much more.
  • Catalog price rules. Enables you to assign price reductions by category, manufacturer, supplier, attribute or feature. For instance, you can set a rule that would say that for Spanish customers belonging to the "Good clients" group would get 10% off on your Electronics category and all Sony products for the first week of July.

 

Adding voucher code in PrestaShop 1.5 - step by step tutorial

Ok, so now you must go to your PrestaShop back office. Login as an administrator or employer with granted permission to cart rules section. Go to "Price Rules" tab and nex to Cart Rules section. Exactly as we show on image attached below:

 

adding voucher code in prestashop 1.5 cart rules

 

Next click "Add new" button, you will find it on right side above the cart rules list

 

PrestaShop 1.5 adding voucher codes

 

Ok, so now we must set up the form with our new voucher code / coupon code specification. As you see, you must fill informations in three tabs, which enabling you to precisely build new rules and vouchers. You've got three tabs: 1) Information, 2) Conditions and 3) Actions.

 

Information Tab

This is the first tab on list and it contains the rules, identifiers and main settings of your coupon / voucher code


Adding voucher code in prestashop 1.5 cart rules

 

  • Name. The name is public, so you should keep it casual.
  • Description. The description is not public. It helps your shop employees understand why the rule was created.
  • Code. Give your rule a unique code. You can either create one manually (and therefore use readable words, like 1VOUCH4JOE), or have PrestaShop generate one unique string by clicking the "Click to generate random code" button. Of course, you can also use any other string generator (such as http://www.random.org/strings/).

Note that if no code is set, the rule will apply to any customer fitting the other conditions:
If there is a code, then customer have to enter it during the ordering process.
If there is no code, then the rule is automatically applied to benefiting customers.

  • Partial use. If disabled, the rule/voucher can only be used once, even if it is not completely used. If enabled, a new voucher is created when the current one is not completely used.
  • Priority. If a customer (or group of customers) are eligible for more than one voucher, or if more than one voucher can be applied to an order, then PrestaShop applies said voucher one by one in the alphanumerical order. You can change that order by placing a lower priority to you voucher. By default, they all have a priority of 1. If you set it to a higher number, the voucher will be applied after vouchers with a lower number.
  • Status. You can disable and enable a rule whenever you feel is necessary.

 

 

Conditions Tab

The second tab named "Conditions", contains a large set of possibilities, enabling you to precisely target who should be able to benefit from this rule.

 

adding voucher codes in prestashop 1.5 cart rules

 

  • Limit to a single customer. This is where you indicate that the voucher you are creating is for one customer only. For instance, if you had a delivery delay and you want to make a gesture of goodwill, you can create a voucher for this customer that only he or she can access. To quickly find the customer, type in the first few letters of their first name, last name or e-mail in the text field.

If empty, PrestaShop will understand than any customer can use it... unless you have added a customer group as a further condition (see "Customer group selection" check-box below).

  • Validity. The default validity is one month, but you can reduce that to one week or even one day.
  • Minimum amount. The minimum order amount under which the voucher is not applicable. Your voucher will only be applicable if the customer's order is above the given amount. You can choose if that amount should include taxes and/or shipping costs.
  • Total available. Set a quantity of available vouchers: either "1" if it is intended for a single customer, or any number if the voucher is for whoever uses one first.
  • Total available for each user. You can set the number of times a voucher can be used for each user. That number must be at least equal to the quantity of available vouchers above ("Total available" field).

If that number is inferior to the total quantity of available vouchers, then one single customer will not be able to use all of them.
Keeping it to "1" makes sure that each of your customers can only use the voucher once. In that case, make sure the voucher applies to a group rather than a customer...

 

Actions Tab

The third and last tab named "Actions", is where you choose what the discount actually consists of.

 

adding voucher codes in prestashop 1.5 cart rules

 

  • Free shipping. The rule treats benefiting customers to free shipping.


Apply a discount.

  • Percent (%). The rule applies to a percentage of the order total. For instance, let's say the order is valued at $200 before taxes. The rule has a value of 15%. Customer who benefit from this rule will only have to pay $170 (before taxes and shipping costs).
  • Amount. The rule applies a monetary discount on the order total. For instance, let's say the order is valued at $200 before taxes. The discount offers $20 off the purchase. Customer who benefit from this rule will only pay $80 before (before shipping costs). You can choose whether taxes are applied to the discount or not.
  • None. The rule does not offer any discount on the order. Choosing this option makes the next section, "Apply discount to", disappear.


Apply discount to.

  • Order (without shipping). The discount applies to the whole order.
  • Specific product. You can choose to which product the discount should apply: type the first letters of the product, and choose in the list of matching names.
  • Cheapest product. Only available for the "Percent (%)" option.
  • Selected product(s). The customer can choose on which products the discount should be applied. Only available for the "Percent (%)" option.

 

Send a free gift.

You can choose to offer a gift for some conditions (and skip the discount altogether). A field appears: type the first letters of the product, and choose in the list of matching names.

 

Saving the voucher / coupon code

if you think that the coupon is set up the way you like, you can click save button.

 

PrestaShop 1.5 adding voucher codes

 

After saving and if everything went well, Your voucher will appear in the "Cart Rules" page, under the "Price rules" menu. You can delete or edit it at any time. If the voucher was set to a specific group or customer, then it will appear in the Front-Office, in the customer's "Vouchers" section of his account as well as in the cart (if you chose to), where they can choose which one to apply to their order.

 

PrestaShop 1.5 adding voucher codes

 

now you can send new voucher code to your customer :) That's all!

author milos myszczuk
Article by Milosz Myszczuk PrestaShop expert, official PrestaShop community moderator. PHP developer, specialist in relative and spatial databases management, GIS Analyst, CEO & founder of VEKIA interactive agency. Read more about VEKIA company
If you like my articles and want much more valuable tips, feel free to send me donation
1.4 version 1.4.11 1.6 404 addon admin advertise ahref ajax alpha animation api app application authentication back office backup badge banner basics block bootstrap button cache carrier cart catalog category certificate changelog chat class clear client clip cms code colors columns comments configuration contact container content controller cookie counter country coupon css csv currency customer dashboard database debug default delete delivery desktop developer device disable discount displayNav displayTop download dynamic editor effect empty encrypt engine error exchange exclude export facebook faceshop fade fancoupon fancybox fanpage fatal feature feed field file fix fixed font footer free friendly url front ftp full gallery generate gift global godaddy google google+ gray grid groupon header help hide highlight homefeatured homepage hook hosting hover howto htaccess html html5 ID image import include input instagram installation integration iPhone issue javascript jquery kgb knowhow languages law left likebox link list livingsocial loading log login logo loyality mail mailing maintenance manufacturer marketing marquee mcrypt menu meta mobile modification module movie moving multilanguage multiupload must have mysql news newsletter notification number open graph order override page password performance PHP phpmyadmin picture pinterest plugin popup post prestashop prestashop 1.0 prestashop 1.1 prestashop 1.2 prestashop 1.3 prestashop 1.4 prestashop 1.5 price rules problem product profile promotion proslider purifier quantity query quick tip random rates register reinsurance release reporting reset responsive restore results ribbon rich text right sales search security seo service shadow share shipping shop shopmania slider smarty social networks SQL SSL statistics stock store style subcategory superuser support switcher tab tablet tag tax template text theme tinyMCE tips and tricks tpl tracking translations tree trends trigger tumblr tutorial twitter update upgrade upload variables video visits voucher vulnerability web2print wide widget width window wishlist wysiwyg youtube zip zopim