VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jstratos on September 26, 2012, 23:53:14 PM

Title: VM 2.0 Price Field
Post by: jstratos on September 26, 2012, 23:53:14 PM
I'm using VM 2.0.10 with Joomla 2.5 and I can't seem to get the product PRICE to display.  Only the label displays and below that I get the Sale Price label and amount. See snapshot.

I checked all the config settings and they appear to be correct.  Is this a bug in the new version?  Anyone have a fix?



[attachment cleanup by admin]
Title: Re: VM 2.0 Price Field
Post by: bytelord on September 27, 2012, 00:04:51 AM
Hello,

No this is not a bug, can you uncheck from the backend configuration -> pricing the baseprice.
Also when a price is empty is been hidden, so are you using any template or css overrides for vm?

Regards
Title: Re: VM 2.0 Price Field
Post by: jstratos on September 27, 2012, 01:20:13 AM
Still no difference and no custom over-rides either... see config settings:



[attachment cleanup by admin]
Title: Re: VM 2.0 Price Field
Post by: bytelord on September 27, 2012, 01:34:59 AM
Hello,

I am not sure if you use it, but disable standarise price and try again, can you check with firebug?
Provide also a live url to check it.
You could also use some override css:

.productdetails-view .product-price strong {
display:none;
}

Thanks
Title: Re: VM 2.0 Price Field
Post by: jstratos on September 27, 2012, 02:47:50 AM
The staging URL is:
http://hosting.savageweb.net/~patfergu/index.php/store/print-photos-on-fabric

Currently being developed.  Firebug doesn't really show me why the price value is not being displayed.  Your css is good if I want to just remove that, but I would really like to know why the value is not showing.

Thanks.
Title: Re: VM 2.0 Price Field
Post by: bytelord on September 27, 2012, 07:28:47 AM
Hello,

the css filename is vmsite-ltr.css, you could copy it to your temaplate (http://forum.virtuemart.net/index.php?topic=98505.0 & http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system).
After place an attribute to hide that <strong> price: </strong>. This can be done by adding the following line in the new override css file that you will create.

.productdetails-view .product-price strong {
display:none;
}

With that in product details we hide the print out of COM_VIRTUEMART_CART_PRICE_PER_UNIT or COM_VIRTUEMART_CART_PRICE using CSS.

btw, is not a price field, is just a label...

Regards
Title: Re: VM 2.0 Price Field
Post by: jstratos on September 27, 2012, 14:37:48 PM
Actually, I have a custom.css file in the template folder where I can just add that code and it will override VM and hide the price label.  However, why should I have to do that?  Why isn't the price being displayed?
Title: Re: VM 2.0 Price Field
Post by: bytelord on September 27, 2012, 16:31:33 PM
Hello,

Its a label ... not a price, like

Price:

Price 1=$
Price 2=$
Price 3=$
Title: Re: VM 2.0 Price Field
Post by: jstratos on September 28, 2012, 01:46:36 AM
Oh?  So there is no dollar value after the PRICE: label?

If not, then I will hide that.
Title: Re: VM 2.0 Price Field
Post by: bytelord on September 28, 2012, 02:12:22 AM
yes, check the default_prices inside your product details page and you will see that there is no price or currency symbol, just an echo.

Regards