The original price doesnt change in Fashe theme

Solved
Highlighted
New Member
1 0 0

Hi Guys, I'm currently starting my own webshop and there is some problem I can't resolve.

I sell products in different sizes with the same design with discounts.

The problem is the original price doesn't change when someone changes the size

 

Schermafbeelding 2020-07-03 om 10.27.54.pngSchermafbeelding 2020-07-03 om 10.27.58.png

As you can see the original price on the left doesn't change.

I think it is because of something in this code but I don't know where.

 

      {% if product.selected_or_first_available_variant.price < product.selected_or_first_available_variant.compare_at_price %}
      <span id="comparePrice" class="m-text17a p-r-10">
        {{ product.selected_or_first_available_variant.compare_at_price | money }}
      </span>
      <span id="productPrice" class="m-text17b">
        {{ product.selected_or_first_available_variant.price | money }}
      </span>
      {% else %}
      <span id="productPrice" class="m-text17">
        {{ product.selected_or_first_available_variant.price | money }}
      </span>
      {% endif %}
0 Likes
Shopify Partner
636 74 104

This is an accepted solution.

@timh ,

The issue is not in this code, it just displays the price and compare at price. We need to look at how is selection being handled and of the events are properly captured. Need to login to store and see the theme code.

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1

To hire: email us at shopify@propero.in
0 Likes