Table of content
Creating Price Rules
Vouchers play an important role in your daily relationships with your customers. Typically, customers like two things when shopping:
- feeling special, unique.
- getting good prices.
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.
"Price rules" can take two forms:
- Cart rules. These are actually the successors to vouchers, as they were known in previous version of PrestaShop.
Basically, it enables you to create per-customer vouchers codes, but also much more. See the dedicated section below.
- 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.
The "Cart rules" page presents an advanced tool that succeeds and builds upon the voucher system from PrestaShop 1.4. Seasoned users of PrestaShop will not be surprised with the features that were added, but will only have to adapt to the new name: when this guide mentions vouchers, we're actually talking about cart rules – which, in themselves, are quite different to credit slips.
Difference between a credit slip, a voucher and a cart rule
A credit slip is first and foremost a written proof that a product has been returned. Most of the time, the user can use it as a voucher.
A voucher is a discount code which does not have to be tied to a merchandise return or a refund, and which can take many more forms than a simple credit slip:
- a discount on an order (percentage).
- a discount on an order (amount).
- free shipping.
You can apply a voucher to all customers, or a group of customers, or a single customer; you can set its expiration date;
A cart rule is basically an advanced version of a voucher: in addition to what a voucher could do in PrestaShop 1.4, the cart rules system introduced in PrestaShop 1.5 enables you to:
- Name the discount.
- Allow the customer to use only a portion of the discount.
- Assign priorities between cart rules.
- Set the compatibility between cart rules.
- Have the discount only work with some carriers.
- Have the discount only work with a selection of products and/or categories and/or manufacturers and/or suppliers and/or attributes... or all of these at the same time if necessary.
- Have the discount be applicable for free shipping and/or a discount on an order and/or a free gift... or all of these at the same time if necessary!
The "Cart rules" page lists the currently existing cart rules, which can enable or disable by clicking on the icons in the "Status" column.
Creating A New Cart Rule
Vouchers can be created automatically after a product return, but you can create a new voucher at any time manually, and be very specific about its properties.
The creation form has three tabs, enabling to precisely build new rules and vouchers.
The first tab, "Informations", contains the rule's identifiers and main settings.
- 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's a code, then customer have to enter it during the ordering process.
- If there's 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.
The second tab, "Conditions", contains a large set of possibilities, enabling you to precisely target who should be able to benefit from this rule.
- 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 apologize, 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 or last name 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 won't 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...
The check-boxes at the bottom of the section are very important, as they help you further filter to what or to whom the rule is to be applied.
- Carrier selection. You can make it so that the customer will have a discount if he or she chooses a specific carrier for the package delivery.
- Customer group selection. This is very useful. Thanks to PrestaShop's group creation tool, you can create discount that apply to a range of users, and build other conditions on top of that discount thanks to the cart rule creation tool.
You can go even further: with the help of modules such as the "Customer Segmentation" module, you have a set of very powerful tools to create cart rule, and make more clients happy. Download the "Customer Segmentation" module here: http://addons.prestashop.com/en/analytics-stats/2943-customer-segmentation.html
- Compatibility with other cart rules. Only appears if you have more than one cart rule.
- Product selection. Another very useful tool, which enables to create automatic vouchers for cart which contain specific products. The tool is explained in more detail below.
The "Product selection" option brings a whole new form, and enables you to create not only per-product vouchers, by also per-categories, per-manufacturers, per-suppliers and even per-attribute. As a bonus, you can combine all these in order to expand your customer target as much as possible.
For instance, you can create automatic vouchers for your customer in the form "Buy at least 3 Apple product, get free shipping!"
This is really a tool within the cart rule too, and its configuration is quite specific. You can add as many product selection as needed, following this path:
- Click the "Product selection" link to add a new section.
- Indicate the number of products needed for the discount to activate.
- Add at least one rule, of the type you want: products, attributes, categories, manufacturers, suppliers. You can add as many rules per product selection as you want, even one for each type if necessary.
- Clicking the "OK" adds a new line in the selection. For each type, you must give details on the content the rule applies to. Click the "Choose" link and a window opens, listing the content available for this type (products, categories...). Move the content from the right panel to the left one, and close the window by clicking on the "X" at the top right. If only one content is selected, the content field will give its name; otherwise, it will indicate the number of selected content.
You can add as many rules within a selection as necessary. These rules are cumulative: either they all apply, or the discount is not granted.
Product selections are separate: you can add as many as needed, and they won't influence each other. This enables you to create a whole range of products to which the cart rule will apply.
The third and last tab, "Actions", is where you choose what the discount actually consists of.
- 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 doesn't offer any discount on the order. Choosing this option makes the next section, "Apply discount to", disappear.
- Apply discount to.
- Order (without shipping).
- Specific product.
- Cheapest product.
- Selected product(s).
- Send a free gift.
- Choose the voucher's behavior – meaning how it should behave when the order's amount is less that the voucher's:
- reduce the voucher to the total order amount: do this if you want vouchers to be used only once.
- create a new voucher with the remaining amount: do this if your customers can use their voucher's value for as long as it has some.
- create a negative invoice: do this if you want vouchers to be used only once, but you still need to know the final value for your accounting book. The user won't receive any kind of further voucher or discount.
- Give it a proper description, in every languages that your shop supports (click on the flag to change language). Customers will be able to read this, so write a proper sentence.
- Indicate which categories the voucher applies to – because sometimes you'd rather have customers not use vouchers for certain products.
- You can choose whether or not the vouchers are allowed to be used with other promotions on your products or other vouchers. Make your preferences known by ticking the checkboxes.
- The "To be used by" field enables you to restrict your voucher to only one of your customers.
- The voucher can have a time limit (for instance, a discount for launch week). Click the "From" and "To" fields in order to choose your dates using the calendar. By default, a new voucher lasts a year.
- You can decide whether the voucher should be shown in the cart summary or not. Do this if you want to inform a customer that they can use a voucher. If you'd rather not push for the voucher's usage, then do not show it.
- Finally, the "Enable" field allows you to enable or disable the vouchers.
Once everything has been saved, you can send your voucher to your customers.
Your voucher will appear in the "Vouchers" tab, and 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:
Vouchers that are set to apply to all customers do not appear in these locations: the customer has to know about them in order to use them.
In order to apply the voucher, the customer needs to visit his cart and enter the voucher in the suitable field and click "Add". The customer won't be able to apply the voucher if he checks out immediately.
Once applied, the cart summary displays the voucher's impact on the order's amount: