When a product is on sale, Lyro's product cards show the discount. You choose how in Lyro AI Agent > Knowledge > Products, on the Shopping experience tab, under Discount display.
Discounts show from the start. If your Shopify products have a compare-at price, or your product feed has a sale price, the cards already show the original price crossed out. You don't need to set anything up.
In this article, you'll learn:
- Where Lyro gets the price before the discount
- How to choose how discounts look
- What agents see in the Inbox
- What the limitations are
Where Lyro gets the price before the discount
A card shows a discount when your product source sends two prices: the price before the discount and the current price. Where they come from depends on the source:
- Shopify: give the product a Compare-at price higher than its Price. The compare-at price is the original price on the card. See Product Recommendations (for Shopify).
- Product feed: add
sale_priceto the product in your feed. The card showspriceas the original price andsale_priceas the current price. See Product Recommendations (Product Feed upload).
If your feed also has omnibus_price, the lowest price in the 30 days before the discount, Lyro calculates the discount percentage from omnibus_price instead of price and rounds it down.
A new sale price reaches the cards with your product updates: right away for Shopify, and at the next feed update for a product feed.
Choose how discounts look
- Go to Lyro AI Agent > Knowledge > Products.
- Open the Shopping experience tab.
- Under Discount display, click on the option you want. Tidio saves it right away.
For a product that costs $159.00 and is on sale for $129.00, each option shows:
| Option | The card shows |
|---|---|
| Original and sale price (default) | $129.00, with $159.00 crossed out below it |
| Prices and discount percentage | $129.00 with a -19% tag, with $159.00 crossed out below it |
| Discount percentage only | $129.00 with a -19% tag |
The option applies to every discounted product in your project. Products that aren't on sale show their price as before.
The Preview next to the settings shows a sample card. When you pick an option, it switches to Discounted price. Choose Regular price in the same menu to see a card without a discount.
On Shopify, if you choose Hide prices for all products under Price visibility, Discount display disappears from the tab, because the cards show no prices at all.
What agents see in the Inbox
When Lyro recommends products in a conversation, the Inbox shows the same cards as the chat widget, discount included. Agents see the prices the customer saw.
Limitations
- Products imported from WooCommerce or through OpenAPI don't send the price before the discount yet. Their cards show only the current price, whichever Discount display option you choose.
- You choose one option for the whole project. You can't set a different option for selected products.
