VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: rage76 on February 25, 2014, 18:15:34 PM

Title: How do I show only "Sales Price" for products in categories?
Post by: rage76 on February 25, 2014, 18:15:34 PM
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
Title: Re: How do I show only "Sales Price" for products in categories?
Post by: jenkinhill on February 25, 2014, 23:15:42 PM
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.
Title: Re: How do I show only "Sales Price" for products in categories?
Post by: rage76 on February 27, 2014, 07:47:17 AM
thanks for helping me out.

how to do this on the product page too?
Title: Re: How do I show only "Sales Price" for products in categories?
Post by: jenkinhill on February 27, 2014, 15:17:34 PM
Same method, but the file to edit & override is components/com_virtuemart/views/productdetails/tmpl/default_showprices.php