News:

Support the VirtueMart project and become a member

Main Menu

VM 2.0 Price Field

Started by jstratos, September 26, 2012, 23:53:14 PM

Previous topic - Next topic

jstratos

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]

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jstratos

#2
Still no difference and no custom over-rides either... see config settings:



[attachment cleanup by admin]

bytelord

#3
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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jstratos

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.

bytelord

#5
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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jstratos

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?

bytelord

Hello,

Its a label ... not a price, like

Price:

Price 1=$
Price 2=$
Price 3=$
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jstratos

Oh?  So there is no dollar value after the PRICE: label?

If not, then I will hide that.

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!