User GuideSales

Sales

Promotions

Promotion codes can be entered by the customer in the shopping basket. When the code is valid it will give a discount on the total order amount of the shopping basket. This discount can be a percentage or a fixed amount. The promotions can be created in the backoffice.

To be able to enter the promotion code in the shopping basket, the 'Promotion code' option should be enabled: Sana Commerce backoffice > Settings > Checkout > Promotion code. For more information, see 'Checkout Settings'.

To create promotion codes: Sana Commerce backoffice > Sales > Promotions.

The table below describes the properties of the promotion codes which can be configured in the 'Promotions' category:

Field Description
Name The name of the promotion. This name will be shown in the shopping basket when the promotion is activated by the customer.
Promotion code The promotion code can be generated or typed in manually. It should be at least 6 characters long with a maximum of 50 characters.
Type The type of the promotion discount. It can be 'Fixed amount' or 'Percentage' type.
Enabled When this property is set the promotion is enabled.
Redeemed The redeemed number is the number of times the promotion code has been used.
Max. redemptions The number of maximum promotion code redemptions is set here.  If empty, the promotion code can be used an unlimited number of times.
Start & End dates The start and end dates can be set for the promotion codes.  If empty, the promotion code can be used endlessly.

Fixed amount discount type is used for an amount discount on the total order amount of the basket.

The SQL Provider supports only the B2C scenario.  By default the customers have the property 'Prices including VAT' set to 'true'.  Therefore in the SQL Provider scenario the value including VAT is retrieved for the promotion discount.

For the NAV Connector a value including VAT or value excluding VAT can be set depending on the customer's settings. The appropriate value is retrieved for the promotion discount:
  • Set 'Value including VAT' - when the 'Prices including VAT' setting of the customer is enabled;
  • Set 'Value excluding VAT' - when the 'Prices including VAT' setting of the customer is disabled.

To enable or disable the 'Prices including VAT' setting the 'Customer Card' is used.


Percentage discount type is used for a percentage discount on the total order amount of the basket.

When a promotion is used for the SQL Provider it can be seen in the sales order details in the backoffice.

The promotion discount is saved in the order lines. It can be viewed in the 'Sales -> Sales orders' category of the backoffice. Click on the 'View order lines' link of the related order.

When the order export is run from SQL to NAV the order is saved without invoice discount calculations in the same way as it is saved in the SQL database.


When a promotion is used for the NAV Connector the promotion discount is saved in the sales header table and accessible from the sales orders (sales quotes) forms in the 'E-Commerce' tab.
The discount is calculated in NAV in the same way as the invoice discount and is added to the basic invoice discount amount.

The promotion discount is applied only to the product lines. It does not have any influence on the payment costs, shipping costs and service charge.

If it is a fixed amount discount the discount is split over the product lines proportionally to the total line.

If it is a percentage discount the discount is posted to each product line.

User GuideSales