Magento Forum

How do I… show the tax inclusive price on the product page? 
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

Hi

I’ve set up a tax rate, a product etc and changed the catalog setting so that prices on the list/grid view include the tax (in this case VAT) however when I click through to the product page, the price is only showed excluding tax - which is confusing as you will no doubt agree.  We need to show prices inc tax all the way through but would still like to add them ex tax and allow Magento to calculate the tax as required.

How do I set the product pages to show the price inclusive of tax, same as the catalog view setting?  Either via the admin interface or a file mod is fine…

Thanks in advance.

Simon grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

In 0.8.17240 - go to Admin > System > Configuration > Sales > Tax Calculation and set following data:

Tax Based On: [Shipping Origin]
Show prices with tax in catalog: [Yes] or [Both]

 
Magento Community Magento Community
Magento Community
Magento Community
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

Hi Moshe

Those are the settings I have in place - and it’s fine in the list/grid view but when I load the product page I only get shown the price excluding tax.  How can I show the inclusive of tax price on this page too?

Thanks

Simon

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

It works in my copy, mind sending the link?

 
Magento Community Magento Community
Magento Community
Magento Community
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

It’s only running locally - I’ll get it running again on my machine here at work and post the screenshots…

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

Hi Moshe

I have attached the screenshots from my development system:

category-page.png - shows the product which is £10.00 + 17.5% tax = £11.75
product-page.png - shows the same product but this time only as £10.00

sales.png - shows the admin screen confirming the tax settings
shipping-settings.png - shows the admin screen confirming the Shipping Origin is also United Kingdom

Please advise on next steps…

Thanks

Simon

Image Attachments
category-page.pngproduct-page.pngsales.pngshipping-settings.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
SeL_
Magento Team
 
Avatar
Total Posts:  1140
Joined:  2007-10-10
Paris, France
 

Hi,

In release notes for 0.8.17240, it says that price display isn’t complete yet. It is only in catalog pages. I guess that means that it isn’t working properly yet in product page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

Thanks for pointing that out - I guess that must be it.

Moshe you mentioned it was working as expected on your site - is the behaviour that I illustrated what you would expect?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
simonyoung
Member
 
Total Posts:  34
Joined:  2007-08-31
 

Hi

This is now working in 0.9 and the product page also shows the tax.  The display is still a little inconsistent however - even if the system is set to show tax inclusive prices, if tier pricing is enabled then these prices are shown exclusive of tax.

Is there a modification that could be made to frontend/default/default/template/catalog/product/view/type/simple.phtml ?

<?php $_product $this->getProduct() ?>

<?php $_tierPrices 
$this->getTierPrices() ?>
<?php 
if(count($_tierPrices)>0): ?>
    
<div class="product-pricing">
        <
ul class="bare">
        
<?php foreach($_tierPrices as $_price): ?>
            
<li><?php echo $this->__('Buy %s for %s each'$_price['price_qty']$_price['formated_price']?>
    
            <?php 
if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
            || (
$_product->getPrice() != $_product->getFinalPrice() &&  $_product->getFinalPrice() > $_price['price'])): ?>

                <?php 
echo $this->__('and'?> <strong><?php echo $this->__('save %s%%'$_price['savePercent']?>
            <?php 
endif ?></strong>
            </
li>
        
<?php endforeach ?>
        
</ul>
    </
div>
<?php endif; ?>

Also the mini basket displays exclusive of tax.

If a store is set up to show prices inclusive of taxes would it be better for this setting to be carried over to the whole page/system?  Otherwise customers cannot be clear on whether a prices includes VAT or not?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top