# Offers issues #### 1. Discounts are not showing in rail, but showing on the product page **Possible cause**: Offer is curated and cached before OfferJobs::SellingPriceJob completes. **Fix**: Clear caches after jobs are completed. **Status**: Testing #### 2. Discounts are not showing on products with variants **Cause**: Current algo for display_mrp and display_variant does not implement this feature. **Fix**: Implement feature **Status**: In progress #### 3. Discounts are not applied to some products **Cause**: Incorrect check was applied; products with no selling price were being ignored. **Fix**: **Status**: Done #### 4. Detail page is not opening for some offers **Possible cause**: List associated with offer is regenerated - either because of automatic activation, changes in offer, etc, and hence the slug changes. The old slug continues to be cached in the ListItem and List. **Fix**: Clear caches after list generation job is completed. **Status**: Testing #### 5. Sort by discount on the detail page and the rail in 'offer-banner-with-rail' display **Cause**: Not implemented **Fix**: Implement feature **Status**: In progress #### 6. Gender has to be added to export and show page **Cause**: Not implemented **Fix**: Implement feature **Status**: Done #### 7. Discount % is not accurate **Cause**: Discount was being rounded up in the code in foxy-api. `1.000000000001.ceil` would lead to `2`. Have changed to `.round` instead. **Fix**: Correct algo in foxy-api **Status**: Done #### 8. Some offers are not showing in the store page **Cause**: `display_order` was missing in the CMS. Reason unknown. **Fix**: `display_order` was added manually. **Status**: Done #### 9. Discount was not applied to any products in an offer. **Cause**: **Fix**: **Status**: Investigation **Example**: Enn - Flat 15% Off, Makeup Revolution - Flat 15%, The Mom's Co - Flat 10% #### 10. Only 10 discounts are not showing on the offers page **Cause**: **Fix**: **Status**:Investigation #### 11. Discount communication is different from actual discount refelcting ** Cause**: **Fix**: **Status**: Investigation **Example**: Plum - Flat 15% but discount reflecting is 10% #### 12. Cache Issue in Flat discounts **Cause**: **Fix**: **Status**: **Example**: (A)Tjori - Flat 30% but reflecting 25% discount on few products (Case-1: Discount on product rail showing 25% and when clicked, discount showing on product page is 30%. Case-2: 25% discount reflecting in both product rail & product page. Case-3: No discount reflecting), (B)Kaya - Upto 30% Off : Discount on product rail is showing 15% Off (actual discount should reflect 30%) and once clicked, its showing 30% Off on product page.(C)Khadi - Flat 20% Off: Discount of 15% showing in product rail in few SKUs, when clicked 20% discount reflects on product page. #### 13. Discount appearing on product page but not on rail **Cause**: **Fix**: **Status**: **Example**: It's Skin - Upto 20% Off, discount of 10% is not reflect on product rail but once clicked it appears on product page.