How to hide pricedetails (tax...) in productdetail-View?

GK User
Mon Nov 09, 2015 5:55 pm
Iwould like to hide all the price details right under the sales-price. The most prices I can deactivate in the price-config of VM, but if I deactivate the taxamount, it is also deactivated in the cart-view. In VM-Forum I found the following advise: "You will have to edit the template override for price display (sublayouts/prices.php) - or get the template supplier to provide the files for you as the code appears to be set to show only the final sales price with tax."

What do I have to change to see only the salesprice in productdetails and the tax still in the cart?
User avatar
Senior Boarder

GK User
Mon Nov 09, 2015 9:48 pm
Honestly css is the easiest way to do what you want.
something like
.spacer-buy-area .PricediscountedPriceWithoutTax,
.spacer-buy-area .PricesalesPriceWithDiscount,
.spacer-buy-area .PricediscountAmount{display:none !important;}
User avatar
Junior Boarder

GK User
Tue Nov 10, 2015 10:15 pm
Thanks for your reply. Where do I have to put this?
User avatar
Senior Boarder

teitbite
Sat Nov 14, 2015 10:14 am
Hi

I agree CSS is a good way to hide it. Add code proposed by @mjason to override.css file and remember that override needs to be enabled in template settings.

Other approach can be that this prices are configurable in VM configuration. In Pricing section of configuration.
User avatar
Moderator


cron