SCUBA Tank Refill Adapter (2024)

{% if product_list_layout == 'carousel' %}

{% for product in result.products %}{% comment %} Wholesale_Club_Product_Prices Start {% endcomment %}{% assign base_product = product %}{% assign base_variant = product.selected_or_first_available_variant %}{% if shop.metafields.sawholesale['base_price'] == blank %} {% assign base_price = 'compare_at_price' %}{% else %} {% assign base_price = shop.metafields.sawholesale['base_price'] %}{% endif %}{% assign saw_discount = 0 %}{% assign saw_has_discount = false %}{% if customer.tags != blank %} {% for mf in base_product.metafields.sawholesale %} {% capture product_customer_tag %}{{ mf | first | replace: 'discount_', '' }}{% endcapture %} {% if customer.tags contains product_customer_tag %} {% assign saw_has_discount = true %} {% assign discount_key = product_customer_tag | prepend: 'discount_' %} {% assign price_key = product_customer_tag | prepend: 'price_' %} {% assign saw_discount = base_product.metafields.sawholesale[discount_key] | divided_by: 100.0 %} {% endif %} {% endfor %}{% endif %}{% assign saw_discount = 1 | minus: saw_discount %}{% if base_price == 'price' or base_variant.compare_at_price == blank or base_variant.compare_at_price == 0 or base_variant.compare_at_price < base_variant.price %} {% assign saw_variant_compare_at_price = base_variant.price %}{% else %} {% assign saw_variant_compare_at_price = base_variant.compare_at_price %}{% endif %}{% assign cpe = shop.metafields.sawholesale['cpe'] | default: "true" %}{% if base_variant.metafields.sawholesale[price_key] != blank and cpe == "true" %} {% assign saw_variant_price = base_variant.metafields.sawholesale[price_key] %}{% else %} {% assign saw_variant_price = saw_variant_compare_at_price | times: saw_discount %}{% endif %}{% if saw_has_discount == false or saw_variant_price >= saw_variant_compare_at_price %} {% assign WCProduct_Price = base_product.price %} {% assign WCProduct_ComparePrice = base_product.compare_at_price %} {% assign WCProduct_PriceMin = base_product.price_min %} {% assign WCProduct_ComparePriceMin = base_product.compare_at_price_min %} {% assign WCProduct_PriceMax = base_product.price_max %} {% assign WCProduct_ComparePriceMax = base_product.compare_at_price_max %} {% assign WCProduct_VariantPrice = base_variant.price %} {% assign WCProduct_VariantComparePrice = base_variant.compare_at_price %}{% else %} {% assign WCProduct_Price = saw_variant_price %} {% assign WCProduct_PriceMin = base_product.price_min | times: saw_discount %} {% assign WCProduct_PriceMax = base_product.price_max | times: saw_discount %} {% assign WCProduct_ComparePrice = saw_variant_compare_at_price %} {% if base_product.compare_at_price_min != 0 %}{% assign WCProduct_ComparePriceMin = base_product.compare_at_price_min %}{% else %}{% assign WCProduct_ComparePriceMin = base_product.price_min %}{% endif %} {% if base_product.compare_at_price_max != 0 %}{% assign WCProduct_ComparePriceMax = base_product.compare_at_price_max %}{% else %}{% assign WCProduct_ComparePriceMax = base_product.price_max %}{% endif %} {% assign WCProduct_VariantPrice = saw_variant_price %} {% assign WCProduct_VariantComparePrice = saw_variant_compare_at_price %}{% endif %}{% comment %} Wholesale_Club_Product_Prices End {% endcomment %}

{% endfor %}

{% else %}

{% for product in result.products %}{% comment %} Wholesale_Club_Product_Prices Start {% endcomment %}{% assign base_product = product %}{% assign base_variant = product.selected_or_first_available_variant %}{% if shop.metafields.sawholesale['base_price'] == blank %} {% assign base_price = 'compare_at_price' %}{% else %} {% assign base_price = shop.metafields.sawholesale['base_price'] %}{% endif %}{% assign saw_discount = 0 %}{% assign saw_has_discount = false %}{% if customer.tags != blank %} {% for mf in base_product.metafields.sawholesale %} {% capture product_customer_tag %}{{ mf | first | replace: 'discount_', '' }}{% endcapture %} {% if customer.tags contains product_customer_tag %} {% assign saw_has_discount = true %} {% assign discount_key = product_customer_tag | prepend: 'discount_' %} {% assign price_key = product_customer_tag | prepend: 'price_' %} {% assign saw_discount = base_product.metafields.sawholesale[discount_key] | divided_by: 100.0 %} {% endif %} {% endfor %}{% endif %}{% assign saw_discount = 1 | minus: saw_discount %}{% if base_price == 'price' or base_variant.compare_at_price == blank or base_variant.compare_at_price == 0 or base_variant.compare_at_price < base_variant.price %} {% assign saw_variant_compare_at_price = base_variant.price %}{% else %} {% assign saw_variant_compare_at_price = base_variant.compare_at_price %}{% endif %}{% assign cpe = shop.metafields.sawholesale['cpe'] | default: "true" %}{% if base_variant.metafields.sawholesale[price_key] != blank and cpe == "true" %} {% assign saw_variant_price = base_variant.metafields.sawholesale[price_key] %}{% else %} {% assign saw_variant_price = saw_variant_compare_at_price | times: saw_discount %}{% endif %}{% if saw_has_discount == false or saw_variant_price >= saw_variant_compare_at_price %} {% assign WCProduct_Price = base_product.price %} {% assign WCProduct_ComparePrice = base_product.compare_at_price %} {% assign WCProduct_PriceMin = base_product.price_min %} {% assign WCProduct_ComparePriceMin = base_product.compare_at_price_min %} {% assign WCProduct_PriceMax = base_product.price_max %} {% assign WCProduct_ComparePriceMax = base_product.compare_at_price_max %} {% assign WCProduct_VariantPrice = base_variant.price %} {% assign WCProduct_VariantComparePrice = base_variant.compare_at_price %}{% else %} {% assign WCProduct_Price = saw_variant_price %} {% assign WCProduct_PriceMin = base_product.price_min | times: saw_discount %} {% assign WCProduct_PriceMax = base_product.price_max | times: saw_discount %} {% assign WCProduct_ComparePrice = saw_variant_compare_at_price %} {% if base_product.compare_at_price_min != 0 %}{% assign WCProduct_ComparePriceMin = base_product.compare_at_price_min %}{% else %}{% assign WCProduct_ComparePriceMin = base_product.price_min %}{% endif %} {% if base_product.compare_at_price_max != 0 %}{% assign WCProduct_ComparePriceMax = base_product.compare_at_price_max %}{% else %}{% assign WCProduct_ComparePriceMax = base_product.price_max %}{% endif %} {% assign WCProduct_VariantPrice = saw_variant_price %} {% assign WCProduct_VariantComparePrice = saw_variant_compare_at_price %}{% endif %}{% comment %} Wholesale_Club_Product_Prices End {% endcomment %}

{% if product.image %} {% else %} {% endif %}

{{product.title | escape}}

{% if product.vendor %}

{{product.vendor | escape}}

{% endif %}

{{ WCProduct_Price | money}}

{% endfor %}

{% endif %}

SCUBA Tank Refill Adapter (2024)
Top Articles
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 6549

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.