This article applies to Discount Ninja version 3 and above
This feature is not available on the free plan
Promotion code field
Discount Ninja includes a promotion code field that can be displayed in the cart (or on any other page). It can be used to apply Discount Ninja promotions as well as Shopify discount codes.
To add the field to your cart liquid, add this line where you want the field to appear:
Enable the field
To enable the field, go to Combination Rules and enable the field on the Promotion code field tab.
Configure the field
Additional configuration options are available to define:
- if multiple discount codes can be entered
- if Shopify discount codes can be used
- what Shopify discount codes can be used (using include and exclude patterns)
To configure these options go to Combination Rules and enable the field on the Promotion code field tab.
Style the field
To configure the style of the promotion code field go to Settings, Building blocks Promotion code field.
The settings in this module allow you to configure the color and style of the button and text box. You can also customize or localize the text labels displayed here.