Troubleshooting Guide: Savings not Displayed in the Slide Drawer Cart Widgets
Samin avatar
Written by Samin
Updated over a week ago

If your Shopify store uses a slide cart drawer and you have enabled the Discounty cart widget app embed, but the savings are not appearing as expected, don't worry. We have a solution for you. By following the steps below, you can integrate a code snippet into your theme, allowing the savings to be displayed seamlessly in the cart widget. Let's get started:

If you would like assistance with this process, please contact our support team. We are available to guide you through the steps or perform the integration for you.

Please contact Discounty support to obtain the specific code snippet required for your integration. Simply send us a message, and we will promptly provide you with the necessary file.

Step 1: Accessing your Shopify Theme Editor

  1. Log in to your Shopify admin panel.

  2. Navigate to Online Store and click on Themes.

Step 2: Editing the Theme Code

  1. Locate the theme you want to edit and click on the "..." button.

  2. Select Edit code from the drop-down menu. This will open the Shopify Theme Editor.

Step 3: Adding the Code Snippet

Please contact Discounty support to obtain the specific code snippet required for your integration. Simply send us a message, and we will promptly provide you with the necessary file.

  1. In the Shopify Theme Editor, find the Snippets folder in the left-hand side menu and click on it.

  2. Look for the file named cart-drawer.liquid and click on it to open the code editor.

  3. Search for "subtotals" to find this section:

    <!-- Start blocks -->

    <!-- Subtotals -->

  4. Within the subtotals section, insert the code snippet provided by Discounty. Make sure to place it just in the beginning of the section, below <!-- Subtotals --> text.

Step 4: Saving the Changes

  1. After inserting the code snippet, click on the Save button located at the top right corner of the code editor.

  2. The changes will be saved and applied to your theme.

Step 5: Verifying the Implementation

  1. To confirm if the implementation was successful, visit your Shopify store and add a product to the cart.

  2. Open the slide cart drawer, and you should now see the savings amount added by Discounty.
    โ€‹

Did this answer your question?