Product Discount Recommendations
What This Feature Is
Product Discount Recommendations is a HeiChat feature for product discount recommendations.
Once configured, it helps you in two ways:
- When shoppers ask in chat whether a product has a discount, promotion, or available discount code, HeiChat can answer those questions more intelligently.
- You can add the
HeiChat Product Discountsblock to Shopify product pages so shoppers can see available discount codes directly and copy them easily.
Currently Supported Discount Types
At the moment, only these 2 Shopify discount code types are supported:
Discount Code BasicDiscount Code Free Shipping
If a discount code does not belong to one of these two types, it will not appear in the list of available bindings for this feature.
What You Should Prepare Before Enabling It
Before you begin, please confirm:
- You have already created discount codes in your Shopify admin.
- Those discount codes belong to supported types.
- You know which products you want HeiChat to answer discount-related questions for.
It is recommended to start with products that shoppers ask about most often or products that are most important for conversion.
1. Configure Product Discount Recommendations in HeiChat Admin
Where To Find It
Go to:
Setup > Advanced Settings > Product Discount Recommendations
Configuration Steps
- Open the
Product Discount Recommendationspage. - Click to add a recommendation.
- Select an available Shopify discount code from the list.
- Decide whether this recommendation should be enabled.
- Save your settings.
What Happens After Configuration
After saving, HeiChat will include this discount recommendation in its available discount-answering capability for products.
When a shopper mentions a product in chat and then asks things like:
- Does this product have a discount?
- Is there a discount code?
- Is there any promotion?
- Is there a free shipping offer?
HeiChat will prioritize the supported discount recommendations you have already configured when forming its response.
2. Show Discount Codes on Product Pages
If you want shoppers to see discount codes directly on the product page in addition to getting discount information in chat, continue with the theme setup below.
Where To Find It
In Shopify admin, go to:
Online Store > Edit theme
Then open the product template you want to edit.
How To Add the Block
- In the Theme Editor, switch to a product page template.
- Choose the area where you want the discount codes to appear.
- Click
Add block. - Find
HeiChat Product Discountsunder App Blocks. - Add it to the product page.
- Adjust its position and save the theme.
What the Block Shows
When a product has matching discount recommendations, the block can show:
- The discount code
- The discount summary (optional)
Shoppers can copy the code by clicking it directly.
If the current product has no available discount recommendations, the storefront will not show an empty section.
Is It Normal To See a Placeholder in Theme Editor?
Yes.
In Theme Editor, you may see a placeholder message that is only used to help you confirm where the block is placed while editing.
This placeholder only appears in Theme Editor and is not shown to shoppers on the live storefront.
3. Available Settings for the HeiChat Product Discounts Block
After adding the block, you can configure the following options in Theme Editor:
1. Title
Used to set the title of the entire discount section.
Examples:
Available discount codesSpecial offers for this productToday’s product discounts
2. Hide summary
Used to control whether the discount summary is hidden.
- When enabled: only the discount code is shown
- When disabled: both the discount code and summary are shown
If you want a cleaner product page, you can enable this option.
3. Maximum recommendations
Used to control how many discount recommendations can be shown on a product page.
If one product matches multiple discount codes, the block will show them based on the number set here.
Suggested usage:
- If you want a cleaner layout: set it to
1to3 - If you want shoppers to see more available offers: set it to
3to5
4. Code font size
Used to control the font size of the discount code.
If your product information area is compact, a medium font size is recommended. If you want the code to stand out more, you can increase it slightly.
5. Summary font size
Used to control the font size of the discount summary.
If your discount summaries tend to be long, it is recommended not to make this too large, so the product page remains balanced.
6. Code color
Used to control the text color of the discount code.
It is recommended to choose a color that fits your theme while still being noticeable enough.
7. Summary color
Used to control the text color of the discount summary.
In most cases, it is better to use a slightly softer color than your main body text to keep a clear visual hierarchy.
4. Recommended Ways To Use This Feature
To make this feature more helpful for conversion, these are good starting practices:
- Prioritize featured products, best sellers, or products that receive a high volume of customer questions.
- If discount information is already a strong selling point, it is recommended to use both chat answering and the product page block together.
- If your product page already contains a lot of information, consider showing only
1to2discount codes and hiding the summary if needed. - If you want shoppers to copy codes more easily, place the block near the product price, buy button, or other promotion-related content.
5. Frequently Asked Questions
1. Why did I add the block, but nothing is showing on the product page?
Possible reasons include:
- The current product does not have any matching discount recommendations.
- The configured discount code does not belong to a currently supported type.
- You have not finished configuring Product Discount Recommendations in HeiChat admin yet.
2. Why can I see the placeholder in Theme Editor, but not on the live storefront?
This is expected.
Theme Editor shows an editing-only placeholder to help you confirm the block position. On the live storefront, the block only appears when the current product has matching discount recommendations.
3. Why didn’t the shopper get the discount answer I expected in chat?
Please check:
- Whether the discount code has already been configured in
Product Discount Recommendations - Whether the discount code belongs to one of the 2 currently supported types
- Whether the product the shopper asked about actually matches the discount recommendation you configured
6. Suggested Go-Live Checklist
Before going live, it is recommended to confirm:
- Product Discount Recommendations have been configured in HeiChat admin.
- At least one test product has been used for verification.
- The
HeiChat Product Discountsblock has been added to the product template. - The discount code is visible on the storefront.
- Clicking the discount code copies it successfully.
- When asking about a product discount in chat, HeiChat gives the expected answer.
Once these checks are complete, the feature is ready to be used by shoppers.

