Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- line 3:
- <div class="flex">
- <p class="price{%- unless product.price_varies %} productPrice{%- endunless -%}">
- {%- if linklists[product.handle].links.size == 0 -%}
- {%- if product.price_varies -%}
- {{ product.price_min | money }}–{{ product.price_max | money }}
- {%- elsif on_sale -%}<ins id="product-price">{{ current_variant.price | money }}</ins><del id="old-product-price">{{ product.selected_or_first_available_variant.compare_at_price | money }}</del>
- {%- else -%}
- <span id="product-price">{{ current_variant.price | money }}</span>
- {%- endif -%}
- {%- else -%}
- {%- if on_sale -%}
- {{ product.price | money }}–{{ product.compare_at_price | money }}
- {%- else -%}
- {{ product.price | money }}
- {%- endif -%}
- {%- endif -%}
- </p>
- </div>
- {%- else -%}
- <div class="price-stock flex between-xs middle-xs mt__15 pb__15 mb__20" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
- <div>
- <p class="price{%- unless product.price_varies %} productPrice{%- endunless -%}">
- {%- if linklists[product.handle].links.size == 0 -%}
- {%- if product.price_varies -%}
- {{ product.price_min | money }}–{{ product.price_max | money }}
- {%- elsif on_sale -%}<ins id="product-price">{{ current_variant.price | money }}</ins><del id="old-product-price">{{ product.selected_or_first_available_variant.compare_at_price | money }}</del>
- {%- else -%}
- <span id="product-price">{{ current_variant.price | money }}</span>
- {%- endif -%}
- {%- else -%}
- {%- if on_sale -%}
- {{ product.price | money }}–{{ product.compare_at_price | money }}
- {%- else -%}
- {{ product.price | money }}
- {%- endif -%}
- {%- endif -%}
- </p>
- </div>
- <div class="availability{%- if sold_out %} value_out{%- else %} value_in{%- endif -%}" id="product-available{%- if quick_review == 'quick_review' -%}_quick{%- endif -%}">{%- if sold_out -%}{{ 'products.product.outofstock' | t }}{%- else -%}{{ 'products.product.in_stock' | t }}{%- endif -%}</div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement