VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: mdtechteam on March 08, 2017, 01:00:42 AM

Title: double 0.00 when price is set to .0001
Post by: mdtechteam on March 08, 2017, 01:00:42 AM
Sorry if this is a solved issue but I could not find it in the search.  When I set the price to .0001 to show an item as 0.00 the price shows twice (please see screen shot).  Is this a virtuemart configuration or something with my template?

Joomla 3.6.5
virtuemart 3.0.19.8
Title: Re: double 0.00 when price is set to .0001
Post by: Jörgen on March 08, 2017, 07:27:21 AM
This looks like something with Your template, test with Protostar to see if it changes.

regards

Jörgen @ Kreativ Fotografi

Title: Re: double 0.00 when price is set to .0001
Post by: mdtechteam on March 08, 2017, 15:59:38 PM
Quote from: Jörgen on March 08, 2017, 07:27:21 AM
This looks like something with Your template, test with Protostar to see if it changes.

regards

Jörgen @ Kreativ Fotografi
Looks like it happens with protostar as well...  Ill keep digging but any help in direction would be greatly appriciated.
Title: Re: double 0.00 when price is set to .0001
Post by: Jörgen on March 08, 2017, 16:03:42 PM
Check which prices are published under configuration for VM3.

You can also check the generated HTML and see what prices actually are displayed.

regards

Jörgen @ Kreativ Fotografi
Title: Re: double 0.00 when price is set to .0001
Post by: mdtechteam on March 08, 2017, 16:22:36 PM
Quote from: Jörgen on March 08, 2017, 16:03:42 PM
Check which prices are published under configuration for VM3.

You can also check the generated HTML and see what prices actually are displayed.

regards

Jörgen @ Kreativ Fotografi
That was it!! Prices under the configuration. 

Thanks again Jorgen!
Title: Re: double 0.00 when price is set to .0001
Post by: Milbo on March 16, 2017, 09:38:50 AM
Jörgen missed one point to explain.

VM has the feature "ask for price if non available", to differ between a 0.0 prices product and a product without price it is the common way to enter 0.0001. So it is absolutly correct taht your template shows 0.0. Of course that you see it two times is a price config issue.