Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to Display VAT Exclusive and Inclusive Price

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-11-2020, 02:37 AM
  johngwms's Avatar 
johngwms johngwms is offline
 

Senior Member
  
Join Date: Mar 2013
Location: North Wales
Posts: 191
 

Default How to Display VAT Exclusive and Inclusive Price

I want to be able to display the VAT Exclusive and Inclusive Price for each product on The Product Details page.

Has anyone done this before? and would be kind enough to share the code?
__________________
John Legg
www.TheDebugStore.com

5.4.1.18 Business, Crisp White Skin Template
Backorder-Preorder Module
X-Cart to Zoho Creator (in progress)
Zoho Creator <-> Zoho Inventory for order processing
NGINX hosted - XC virtual server
Reply With Quote
  #2  
Old 12-22-2020, 01:44 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: How to Display VAT Exclusive and Inclusive Price

At a first glance, the template responsible for this seems to be customer/product/details/parts/common.price.twig which looks like
Code:
{{ widget('\\XLite\\View\\Price', product=this.product) }}

It is a bit of surprise that the VAT/GST module isn't directly involved. I don't know if I haven't looked at right place. Hopefully someone more knowledgeble can dig into this.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:27 AM.

   

 
X-Cart forums © 2001-2020