News:

Looking for documentation? Take a look on our wiki

Main Menu

How do delete Price: from product decription page?

Started by spyderwebdesign, April 28, 2012, 18:06:46 PM

Previous topic - Next topic

spyderwebdesign

On the product description page, I have the following:

Product SKU: 846137000137
Product Style & Color: AUDREY Black/Wht Pt. Combo
Rating: Not Rated Yet
Price:
Sales price: $49.99

How do I delete the empty price?
I also want a to get a better understanding of this "Price:" Is this suppose to have a value next to it? If so, is that the full price? If so, where do I set full price?

In the admin side I have Cost price, Base Price, and Final Price all filled in. The Price: remains to be empty.

[attachment cleanup by admin]

spyderwebdesign

Surely someone has to know how to make this edit.

anupam_sam

QuoteIs this suppose to have a value next to it?
i don't think so.

Its a kind of heading/title for the various kind of prices that comes below (base price, discounted price, sales price, etc.)

spyderwebdesign

Quote from: anupam_sam on May 02, 2012, 22:35:13 PM
QuoteIs this suppose to have a value next to it?
i don't think so.

Its a kind of heading/title for the various kind of prices that comes below (base price, discounted price, sales price, etc.)

Thanks! That answers part of my question. I will fool with the css to see if I can get ride of it since I can't figure out what php code is making it appear.

anupam_sam

In VM 2.0.6

components/com_virtuemart/views/productdetails/tmpl/default_showprices.php

line no 28:
echo "<strong>" . JText::_('COM_VIRTUEMART_CART_PRICE') . "</strong>";

Thats where its coming from. You can well put a condition to show or hide it according to the prices.

spyderwebdesign

Quote from: anupam_sam on May 02, 2012, 23:04:20 PM
In VM 2.0.6

components/com_virtuemart/views/productdetails/tmpl/default_showprices.php

line no 28:
echo "<strong>" . JText::_('COM_VIRTUEMART_CART_PRICE') . "</strong>";

Thats where its coming from. You can well put a condition to show or hide it according to the prices.

THANK YOU!

spyderwebdesign

If I update components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
won't it revert back when I update my VM? Will I have to update this file every single time there is a VM update?

anupam_sam

if you update files shall be overwritten.

its always a better practice to override the component's files in your template/html folder. Never modify the component's core.

spyderwebdesign

#8
Quote from: anupam_sam on May 03, 2012, 05:54:57 AM
its always a better practice to override the component's files in your template/html folder. Never modify the component's core.

Is this thread http://forum.virtuemart.net/index.php?topic=90935.0 the best documentation that decribes how to override the component's files in our template/html folder?