News:

Looking for documentation? Take a look on our wiki

Main Menu

Chart variants without price

Started by eversoul, March 26, 2013, 19:09:06 PM

Previous topic - Next topic

eversoul

Hi folks,

we're currently setting up a new shop using VM 2.0.20b and Joomla 2.5.9.

There will be products that have different colors, but same price. What we have is a custom field of type 'Cart variant' named 'color' and the different colors assigned to the products. We already get a nice listbox for the customers to choose their color from. Each entry in this listbox is extended by '+ €0,-' and we would like to get rid of this text.

I'm sure there is way to do this, but I didn't find it in the configuration or here in the forum.

Thank you a lot for any help!



John2400

Hi if you put 0.00 pricing in the field it should just be a colour and no = - or any sign.


See my example attached - works for me.


[attachment cleanup by admin]

eversoul

Thank you for your help!

I tried it, but somehow it does not work for our shop.
See the screenshots below.

Did I get something wrong?

Thx!

[attachment cleanup by admin]

John2400

#3
eversoul,

Hi I do remember this issue early in the development of VM2 -

I think it had to do with the currency settings.

Just go to your currency and change a few setting in there. I think it is the Positive and negative formats

take out the {sign} symbol maybe.


maybe here : http://forum.virtuemart.net/index.php?topic=102314.0;topicseen

eversoul

Hi John2400,

thank you for your time and your comment.

I played around with the currency settings, did not work for our shop.

To solution in the linked topic is a change in the source code:
Quotefile: administrator/components/com_virtuemart/models/customfields.php

change line 876 to
$productCustom->text = $productCustom->custom_value . ' ';

change line 890 to
$productCustom->text = $productCustom->custom_value . ' ';
change line

Since I would like to keep future updates as simple as possible I would prefer to leave the source untouched.

Thanks!