stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

'If' and 'Then' not working on sideCart panel?

Open Haphazard25 opened this issue 4 years ago • 1 comments

Openly, I apologize for my inability to properly speak here. I am beyond Green, and am not sure exactly where to start. But thank you in advance for your patience. I am using the theme 'AlphaRetail (1) Light Version: 1.0.1'. -> We acquired this eCommerce and love the general design and layout, but the sideCart-panel continue to show 'savings' even if we raise the price back to MSRP after a storewide sale. Resulting in -1% and more being shown to new guests... which is obviously horrible showing guests they're not saving money, but losing since they missed a sale.

Code Used

<div class="sider-cart-ite-right-block"> {{#if rrp.value '>' '0'}} <span class="strike-price price price--rrp" data-vl="{{rrp.value}}">{{rrp.formatted}}</span> {{/if}} <span class="cart-item-value {{#if price_discounted}}price--discounted{{/if}}" data-rlvl="{{price.value}}">{{price.formatted}}</span> {{#if rrp.value '>' '0'}} <span class="item-per-disc"></span> {{/if}} </div>

Actual behavior

I have a picture - but if you go to explorationjeep.com, add an item to the cart, and then click on the cart, the side panel will pop up and show the item with a slashed out price, (even if there is no price change) and then a positive or negative savings. Any idea how to fix? Or what steps I could take to fix this? I do NOT want it to show a negative savings if we raise the price back after sales

Haphazard25 avatar Sep 19 '21 14:09 Haphazard25

You might have better luck getting help in the BC forum than here, since this isn't specific to the CLI.

https://support.bigcommerce.com/s/topic/0TO130000001PEaGAM/themes-design?language=en_US

rossyoung5 avatar Sep 20 '21 19:09 rossyoung5