Element SALES_VOUCHER#
Basic information#
The SALES_VOUCHER element is a wrapper for:
CODE(the discount voucher code) andDESC(the description of the discount offer).
These three elements are used to provide a discount code for a given product to users. The value of the CODE sub-element is the discount code, which the customer then uses in your online store during checkout. If the offer is time-limited, it is recommended to include the expiry date in the DESC sub-element.
- The maximum length of the CODE sub-element is 24 characters.
- The maximum length of the DESC sub-element is 128 characters.
PRICE_VAT when using a discount voucher#
If a product has a discount voucher, the PRICE_VAT element must contain the reduced price — the price the customer would see in your online store after the voucher has been applied.
Frequently asked questions#
- How do I set up a discount voucher in SALES_VOUCHER?
- A guide covering how to add discount vouchers to products in the feed is available in the article How to add discount codes on Heureka on our blog.
- Do I need to adjust the price in PRICE_VAT when a product has a discount voucher?
- Yes. If a product has a discount voucher, PRICE_VAT must show the price after the voucher has been applied.
- How do I add the SALES_VOUCHER elements if they are missing from the feed?
- On the Elements page, first create a new element named
SALES_VOUCHER, then use the ➕ icon on that element’s row to add its sub-elementsCODEandDESC.
- On the Elements page, first create a new element named
What Mergado Audit checks for the SALES_VOUCHER element#
- The SALES_VOUCHER element is optional, so Mergado Audit does not currently check anything for it.
If you need help, contact our technical support.