Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Displaying prices inclusive of VAT

    In my shop http://www.freight-stop-shop.co.uk/driving/ I have set the prices to display as 'Gross' i.e. including VAT.

    This means that on the checkout-payment page the subtotal dont 'add-up' i.e. the sub total is shown as the 'gross' price, shipping is listed (0 in ths case) and then VAT is shown, Finally the total is shown - which is not the sum ofe the above entries.

    How can I display the price as inclusive of VAT on the products listings and on the checkout-payment page show the subtotal without VAT included.

    Advice greatly appreciated

  2. #2
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Displaying prices inclusive of VAT

    I can see in includes/classes/order.php line 513 that the tax content of tax-included prices is calculated, however I cannot see that shown-price is changed to reflect tax-excluded price.
    PHP Code:
          if (DISPLAY_PRICE_WITH_TAX == 'true') {
            
    // calculate the amount of tax "inc"luded in price (used if tax-in pricing is enabled)
            
    $tax_add $shown_price - ($shown_price / (($products_tax 10) ? "1.0" str_replace('.'''$products_tax) : "1." str_replace('.'''$products_tax)));
          } else { 
    I ask becaue PayPal reports an error that sub totals dont add up

 

 

Similar Threads

  1. v151 Displaying VAT if prices already include VAT (tax)
    By philip937 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 7 Jun 2014, 07:12 AM
  2. v151 Dispplaying Both With VAT and Without VAT Prices on Products
    By BoydBreen in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Jul 2013, 09:44 PM
  3. Incorrect Total after tax (VAT) display (exclusive total is the same as inclusive)
    By miggz in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 27 Jan 2013, 11:41 AM
  4. Showing both VAT and non-VAT prices
    By RobM in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 16 Jan 2009, 01:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR