News:

Support the VirtueMart project and become a member

Main Menu

product price hidden when out of stock and using product variants

Started by JMoVS, September 22, 2013, 14:09:26 PM

Previous topic - Next topic

JMoVS

Hi,

I have a problem with Virtuemart and displaying the product Prices. (Stats and used versions see on the bottom)

I use product variants (one main product and a variant) which are selectable with a custom field of produt variants. The problem is, when one of either of the products is out of stuck, it doesn'T show the product price anymore. It blinks with the correct price when loading the page and then disappears (in HTML, it's set to "0" and "display:none". PricesalesPrice is although correctly shown on the

To reproduce the issue, try the following:

Have a product, and create a child product. Now create/use a custom field with options set to "show base product as variant" and "base product is orderable". Have 0 items remaining, and load the product details page. First, the correct price will appear, then it will just go away (display:none) and even if you force it to show up, it's just "0". Can you reproduce the issue and fix it?


Sorry, forgot versions:
Joomla 2.5.14
PHP 5.3.18
Virtuemart 2.0.22c

Maxim Pishnyak

Maybe it's stock misconfiguration in your VM setup?

'c' versions is not latest (check Dev Portal at the top of current page).

Does issue exist on standard template?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

JMoVS

What do you mean by "stock misconfiguration" in my vm setup? Might be the case but I don't know how I would either realize it nor how to fix it.

Well, as far as I can see, the stable and production version right now is the c version and as this is a live shop, I only want stable production releases.

I'm using the standard template ;-)

Maxim Pishnyak

1. What stock related options do you have in your VM config?

2. ANY latest version could be safely tested NOT on the LIVE version of web site.

3. Do you have VM template overrides?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

JMoVS

Hey thank you for the help, it works again with v2.0.24 and I think it was indeed some custom template I had. Strange. But it works now. ;-)