• Hi,

    I’ve used woocommerce to build an online store for my client.

    Some products require to be shown with and without tax, which is working fine
    ie: £299.00 inc. Vat £358.80

    But some products they want to just show the total price with inc. VAT text and cost:
    I have these products up with zero tax but at present are showing like this:

    £400 inc. Vat £400

    But they want it just to show £400

    Is there a way of hiding the tax suffix on products so that “inc. Vat £400” doesn’t show on selected products?

    I’ve been looking everywhere for an answer!!

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter joeywilkins

    (@joeywilkins)

    Can anybody help with this please?

    Warren

    (@rabbitwordpress)

    Hi Joey, I have the same issue!

    I have some food products that require VAT and some that are exempt from VAT. So I want to hide the Price display suffix on selected products only.

    This is how it looks by default :
    Product with VAT – £11.99 £14.39 Inc VAT
    Product with no VAT – £9.99 £9.99 Inc VAT

    As you can see the product with no VAT does not need anything else and should simply look like this :
    Product with no VAT – £9.99

    These are the products with VAT :
    https://www.greatfoodaffairs.com/store/product-category/slabs

    These are the products without VAT :
    https://www.greatfoodaffairs.com/store/product-category/bruschetta

    As you can see I’ve used CSS for now to hide Price display suffix but its not ideal :

    .term-bruschetta .woocommerce-price-suffix, <!-- Category -->
    .postid-61 .woocommerce-price-suffix <!-- Product --> {
    	display: none;
    }

    A function with custom fields or similar would be brilliant.

    Can anyone help please?

    Thanks, Warren

    Hi, when you used this css, what is the “postid – 61” is this the category id or the product id?

    if its the product id, did you have to put the css code for each item to hide the suffix?

    We are having the same problem ??

    Thanks

    Warren

    (@rabbitwordpress)

    Hi OPTB,
    I’m afraid the only way I could do was with CSS like this :

    .postid-61 .woocommerce-price-suffix,
    .postid-63 .woocommerce-price-suffix,
    .postid-65 .woocommerce-price-suffix {
    display: none;
    }

    So yes, its the product code and fortunately there aren’t too many!

    Cheers
    Warren

    Thanks Warren, for some reason is not working on our installation ??

    I cant believe there is only one way to do this and its not working grrraaaa

    Hayley

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide tax price suffix on some products?’ is closed to new replies.