Terminology
Cart
When we refer to the cart, we mean the page that lists the items in the cart and contains a checkout button. The URL of this page looks something like https://www.mydomain.com/cart
This style and behavior of this page can be modified using the liquid files of your theme.
Drawer cart
The drawer cart is similar to the cart in that it lists the items in the cart and contains a checkout button. However, a drawer cart can be displayed on any page of your shop. It typically consists of a pop-up or a drawer that slides out from the right.
This style and behavior of this page can be modified using the liquid files and the JavaScript files of your theme.
Checkout
When we refer to the checkout, we mean the page that gathers the personal information, shipping information and collects the payment. The URL of this page looks something like https://www.mydomain.com/.../checkouts/....
The checkout is managed by Shopify and cannot be modified, unless you are on the Shopify Plus plan.
Discount options at checkout
A checkout can allow customers to add:
A single discount code (if you have defined active Shopify discount codes)
A gift card (if your plan supports gift cards and you have configured active gift cards in Shopify)
Discount codes and gift cards
Discount Ninja allows you to control if Shopify discount codes and gift cards can be stacked on top of Discount Ninja promotions.
How to ensure Discount Ninja promotions cannot be combined with Shopify discount codes
This is the default setup in Discount Ninja. The expected result of this procedure is:
The checkout does not allow for the customer to add a Shopify discount code
The checkout does allow for the customer to add a gift card (if available and configured)
Note that the above result is only expected when Discount Ninja promotions are active in the customer's cart. If no promotions apply to the cart, the customer will be using a standard checkout. The standard checkout will allow Shopify discount codes and / or gift cards to be added if they are available and configured.
To ensure Discount Ninja does not allow Shopify discount codes to be combined with Discount Ninja promotions:
Configure the offers of your promotions to disallow combining with Shopify discount codes. Edit your promotion, then go to Offers and click the Edit link button on the offer you want to change. Find the Stacking tab and uncheck this option:
Note that Discount Ninja also provides ways to redeem Shopify discount codes in the cart or drawer cart using a building block named "cart promotion code field". If you are using the Discount Ninja cart promotion code field, you may want to disable the option for that field to accept Shopify discount codes. This can be done in the Settings of the app. Find Settings > Building Blocks > Cart promotion code field. Then select the Behavior tab. Review the Shopify discount code settings:
How to allow Discount Ninja promotions to be combined with Shopify discount codes
The expected result of this procedure is:
The checkout does allow for the customer to add a Shopify discount code (if available)
The checkout does allow for the customer to add a gift card (if available and configured)
To ensure Discount Ninja does not allow Shopify discount codes to be combined with Discount Ninja promotions:
Configure the offers of your promotions to allow combining with Shopify discount codes. Edit your promotion, then go to Offers and click the Edit link button on the offer you want to change. Find the Stacking tab and check this option:
If you have not done so already, you will need to install the free companion app (Discount Ninja Sales Channel) for this to work.
Note that ALL offers used in a cart must opt-in for this feature to work. If one of the offers applied to a customer's cart does not have this flag checked, then the discount code field will not be displayed at checkout.
Caveats
If the discount code field is not displayed at checkout, check the following:
Ensure the Discount Ninja Sales Channel free companion app is installed.
Ensure the products you are checking out are published on the Discount Ninja Sales Channel. You can synchronize the products in the Settings > Integration > Sales Channel menu. You can verify which channels a product is available on in the Products section of Shopify. Open a product and check the channels