News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How do I show only "Sales Price" for products in categories?

Started by rage76, February 25, 2014, 18:15:34 PM

Previous topic - Next topic

rage76

Products in categories show

Price with discount:
Sales price:
Sales price without tax:
Tax amount:

I only want to show "Sales Price" and other details to be shown in the cart. How do I do that?

VM 2.0.24c
J2.5.18

jenkinhill

Edit the view file   components/com_virtuemart/views/category/tmpl/default.php and remove display of all prices except the one which includes COM_VIRTUEMART_PRODUCT_SALESPRICE

Use the edited file as a template override.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

rage76

thanks for helping me out.

how to do this on the product page too?

jenkinhill

Same method, but the file to edit & override is components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum