Troubleshooting
If the discount rate displayed in the Sensefuel search layer or recommendation widgets differs from the one shown on your website, the issue usually falls into one of two cases.
1. Case 1 — You Use a Customized Layer With a Feed Attribute for Discount Rate
If:
- You have subscribed to a customization of the search layer/recommendations, AND
- You explicitly requested Sensefuel to use a feed attribute to display the discount rate
➡ Then the discount displayed by Sensefuel comes directly from your product feed.
✅ What to do
Check your product feed and ensure the discount-related field you provide to Sensefuel contains the correct value.
Any correction must be done in your feed.
If everything is correct in your feed but the display is still incorrect, please contact your IT team or the helpdesk.
2. Case 2 — Sensefuel Calculates the Discount Rate Automatically
If you are not in case 1, Sensefuel computes the discount rate using the pricing data from your feed.
The difference between your website and Sensefuel usually comes from one of the calculation or rounding parameters described below.
3. Parameters Used to Calculate & Display the Discount Rate
Three configuration elements influence the final percentage displayed:
3.1 Discount Calculation
Sensefuel computes:
discount rate = (price - sales_price) / price
This value is the base percentage before rounding.
3.2 Percentage Discount Rounding Value (Modulo)
Sensefuel rounds the discount to a nearest step value.
Default configuration: 5%
Examples
- 7% → rounded to 5%
- 13% → rounded to 15%
- 24% → rounded to 25%
You can change this rounding interval in Layer > Look & Feel.
3.3 Rounding Method (Modulo Logic)
You can choose one of three rounding methods in Layer > Look & Feel:
Floor
Rounds down to the nearest modulo.
- Example: With modulo 5%
- Calculated 43.7% → 40%
Round
Rounds to the nearest modulo value.
Ceil
Rounds up to the nearest modulo.
- Example: With modulo 5%
- Calculated 43.7% → 45%
4. Updating Your Configuration
To adjust any rounding or modulo settings:
- Go to Layer
- Open Look & Feel
- Modify the rounding or modulo configuration
- Save your changes
✅ Changes take effect after a few minutes.