Support » Plugins and Hacks » How to Add Vat after product price in WooCommerce

Viewing 2 replies - 1 through 2 (of 2 total)
  • Woocommerce needs two files to be changed to allow the display of
    “+vat” or whichever sales tax needs to be applied.

    /woocommerce/single-product/price.php
    Controls the appearance on the actual product details

    Change
    <p itemprop="price" class="price"><?php echo $product->get_price_html(); ?> + vat</p>

    to
    <p itemprop="price" class="price"><?php echo $product->get_price_html(); ?><strong> + vat</strong></p>

    /woocommerce/loop/price.php
    Controls how the price appears everywhere else?

    Change
    <span class="price"><?php echo $price_html; ?></span>

    to
    <span class="price"><?php echo $price_html; ?> + vat</span>

    Can’t show an example as the site is not yet live.

    Yes, worked perfect for me, also if have a nice pict can change txt by GIF

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Add Vat after product price in WooCommerce’ is closed to new replies.