Show Tax in Cart not in category layout or product descr

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Mon Dec 03, 2012 5:07 pm
Hi all,

I am wondering if someone can help me please?

I am looking for a way to show tax in the cart, but not in the category layout or the product description.

Can anyone help with this please?

I have had a look at the 'Pricing' page in the 'Configuration' section of Virtuemart, but can only get the tax to appear on the category layout, the product description and the cart.

If there is any way that I can get it to appear in the cart only, that would be much appreciated.

Many thanks,

Pritesh
User avatar
Gold Boarder

Konrad M
Tue Dec 04, 2012 10:11 am
Hi,
please set option to show them in all pages you said. Then please send me link to product layout and category layout. I will try give you css code to remove tax from both.
User avatar

GK User
Tue Dec 04, 2012 11:47 am
Hi Konrad,

Thank you for your reply.

The link to the category layout is:

http://www.hasled.com/lighting

As you can see the 'Color Changing Light' has a price of £27.49 (price exc 20% VAT), then a price of £32.99 (price inc 20% VAT) and then the Tax amount, which is £5.50. On the category layout, I would like the customer only to see the price inc VAT (£32.99).

On the product layout page (http://www.hasled.com/shop/mood-lightin ... ght-detail), the same 2 values appear again. Again, I would just like to show the price inc VAT.

When you add this item to the cart and go to show cart, this is where I would like all 3 values to appear - so the customer can see the price excluding tax, the tax amount and the total including the tax.

Please let me know your thoughts.

Many thanks,

Prit
User avatar
Gold Boarder

Konrad M
Tue Dec 04, 2012 1:18 pm
I need one thing more. Please send me Private Message with access to your website.
User avatar

GK User
Tue Dec 04, 2012 1:32 pm
Hi Konrad,

I have sent you the credentials.

Many thanks!

Prit
User avatar
Gold Boarder

Konrad M
Wed Dec 05, 2012 12:38 pm
Please try add to override.css
Code: Select all
.browse-view .PricebasePriceVariant,
.productdetails-view .product-price > strong,
.productdetails-view .product-price .PricebasePriceVariant {
display:none;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Wed Dec 05, 2012 8:40 pm
Hi Konrad,

That seems to be OK. One other quick question - what is the best way for me to remove the "Tax Amount" from the Category layout and the Product layout.

I would like it to only appear in the cart.

If you can provide me with any tips on how I can do this myself in the future - that would be appreciated too (so I do not have to keep writing similar posts on the forum).

Many thanks!

Pritesh
User avatar
Gold Boarder

Konrad M
Thu Dec 06, 2012 11:10 am
Change my previous code to this one:
Code: Select all
.browse-view .PricebasePriceVariant,
.browse-view .PricetaxAmount,
.productdetails-view .product-price > strong,
.productdetails-view .product-price .PricebasePriceVariant,
.productdetails-view  .PricetaxAmount{
display:none;
}
User avatar

GK User
Thu Dec 06, 2012 11:43 am
Thanks Konrad,

What is the best way for me to remove the actual words "Tax Amount" from the category layout and the product layout page?

At the moment it has the price, followed by "Tax Amount:".

Many thanks,

Pritesh
User avatar
Gold Boarder

Konrad M
Thu Dec 06, 2012 11:52 am
Have you change code to the last one I gave you ? This one should remove tax amount.
User avatar

GK User
Thu Dec 06, 2012 11:59 am
Hi Konrad,

It removes the tax amount value, but the actual words "Tax amount:" still remains.

I have highlighted what I mean in the attachment.

Many thanks,

Pritesh
User avatar
Gold Boarder

Konrad M
Thu Dec 06, 2012 1:52 pm
When I'm login with datas you send me I don't see this words. Please try clear cache of your browser.
User avatar

GK User
Thu Dec 06, 2012 3:25 pm
Hi Konrad,

Clearing the cache did the trick. Now the final problem is that the tax amount has disappeared from the shopping cart.

Any ideas?

Thanks,

Pritesh
User avatar
Gold Boarder

Konrad M
Thu Dec 06, 2012 3:33 pm
Please check in Virtue Mart settings if you set to display tax amount. Probably it is turned off. Try turn it on.
User avatar

GK User
Thu Dec 06, 2012 6:03 pm
Hi Konrad,

In Configuration - Price Configuration - the Show Tax in Cart is ticked.

Any ideas?

Thanks,

Pritesh
User avatar
Gold Boarder

Konrad M
Fri Dec 07, 2012 7:18 am
It is happend becasue you didn't have 'Tax' for 'Tax' in product information. You made tax rule but you didn't assign it for product. Now it has 'Apply default rules' so it has no tax and tax don't show up. Change it in your products and add my last code to override.css becasue now you don't have latest.
User avatar

GK User
Fri Dec 07, 2012 10:11 am
Hi Konrad,

Thanks for the response.

I made the changes as you suggested but now it is showing the words "tax amount" on the category layout and the product layout again.

This can be seen here:

http://www.hasled.com/lighting
http://www.hasled.com/electronics/headphones

Any ideas?

Thanks for your help.

Pritesh
User avatar
Gold Boarder

Konrad M
Fri Dec 07, 2012 10:32 am
Change my code from override.css to this one:
Code: Select all
.browse-view .PricebasePriceVariant,
.browse-view .PricetaxAmount,
.productdetails-view .product-price > strong,
.productdetails-view .product-price .PricebasePriceVariant,
.productdetails-view .PricetaxAmount {
display: none !important;
}


Should work.
User avatar

GK User
Fri Dec 07, 2012 10:37 am
Hi Konrad,

That worked perfectly.

Many thanks for your help!

Much appreciated.

Pritesh
User avatar
Gold Boarder


cron