Show dual pricing (VAT)

Show dual pricing (VAT)

Kimpa123
Tourist
10 1 4

Hi! Is it possible to show dual pricing, or just the price exluded of VAT? I still want the price to include VAT once the customer reaches the checkout. We are only selling to other businesses hence why we want to not include VAT in the product listings. We are using the Local theme. 

Replies 7 (7)

LuffyOnePiece
Shopify Partner
650 93 121

Hi @Kimpa123 ,

 

To include or exclude tax from product prices:

  • In your Shopify admin, go to the Settings → Taxes and duties page.
  • Scroll down to the Tax calculations section.
  • To exclude tax from your product prices, uncheck the All prices include tax checkbox.
 

Please don't hesitate to reach out if you need further help optimizing or customizing your store. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
LuffyOnePiece

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
Kimpa123
Tourist
10 1 4

Thanks for your reply, however this does not solve the checkout issue. I want to exclude VAT from the product listings, however once the customer goes through the final stage of checkout I want the price to include VAT. 

LuffyOnePiece
Shopify Partner
650 93 121

Hi @Kimpa123 

 

I can send you a sample code for this, 

 

changing this part in price.liquid :

{% liquid
assign compare_at_price = target.compare_at_price
assign price = target.price | default: 1999
assign available = target.available | default: false
assign money_price = price | money
assign tax_price = target.price | default: 1999 | times: 1.20
assign tax_money_price = tax_price | money
%}


and finally this one :

<div class="price__regular">
<span class="visually-hidden visually-hidden--inline">{{ 'products.product.price.regular_price' | t }}</span>
<span class="price-item price-item--regular">
{{ money_price }} HT
</span>
</div>
<div class="price__regular tax__price">
<span class="tax-included-price price-item price-item--regular">
{{ tax_money_price }} TTC
</span>
</div>
Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
Kimpa123
Tourist
10 1 4

The theme does only include a product-price.liquid. This is the full content of the file: 

<div class="product-price">

{%- if product_price_varies -%}

<span class="product-price--original" data-js-product-price-original>
{%- liquid
assign price = target.price | money
if target.compare_at_price > target.price or target.compare_at_price_varies
echo 'products.grid.on_sale_from_html' | t: price: price
else
echo 'products.grid.from_text_html' | t: price: price
endif
-%}
</span>

{%- else -%}

<span class="product-price--original {{ text_size_class }}" data-js-product-price-original><span class='ymq-b2b-price-hidden' ymq-b2b-product-id='{{ product.id }}' ymq-b2b-product-handle='{{ product.handle }}' ymq-b2b-variant-price ymq-b2b-variant-id='{{ variant.id }}' >{{ target.price | money }}</span></span>

<del class="product-price--compare" data-js-product-price-compare>
{%- liquid
if target.compare_at_price > target.price
echo target.compare_at_price | money | prepend: '<span>' | append: '</span>'
if show_saving
assign saving = target.compare_at_price | minus: target.price | money
echo 'products.page.sales_amount_html' | t: amount: saving | prepend: '<span>' | append: '</span>'
endif
endif
-%}
</del>

{%- endif -%}

<span class="product-price--unit text-size--regular" data-js-product-price-unit>
{%- liquid
if variant.unit_price_measurement
echo variant.unit_price | money
echo ' / '
if variant.unit_price_measurement.reference_value != 1
echo variant.unit_price_measurement.reference_value
endif
echo variant.unit_price_measurement.reference_unit
endif
-%}
</span>

</div>{% comment %}<!-- ymq b2b done -->{% endcomment %}

LuffyOnePiece
Shopify Partner
650 93 121

Hi @Kimpa123 ,

 

Can you please provide me the access so that I can help you out?

 

Thank you

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
Kimpa123
Tourist
10 1 4

Sure, how do I send you a collaborator request?

Kimpa123
Tourist
10 1 4

How do I provide you access?