VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: goodiex on April 30, 2012, 19:34:46 PM

Title: SOLVED Price: No additional charge after dropdown
Post by: goodiex on April 30, 2012, 19:34:46 PM
I'm using Joomla 2.5 running vmart 2.0.6

I have custom fields setup (plug-ins w/ cart Attribute).  My products have a price and they have attributes for certain additional costs +5, +10 etc
The issue is, after the plug-in on the customer facing side, I still see "Price: No additional charge" after the attribute which clearly indicates the opposite.
Now, this is NOT the COM_VIRTUEMART_CART_PRICE_FREE="" language file "no additional charge".  This does not appear in the dropdown but after the dropdown.
how do I get rid if this thing before I go crazy?
[see image]
(http://www.stitchedtoorder.com/images/vmart_price_additional.jpg)
Title: Re: Price: No additional charge after dropdown
Post by: techrahul87 on May 01, 2012, 09:49:37 AM
hi,

I have faced that  "no additional charges" problem once but not in exact way that u have.

Go to ur products list page in admin.
select the product and got to custom field tab for that product. now when u are assigning values to custom fields make sure that price field is not set to 0.


not sure though... hope it works.
Title: Re: Price: No additional charge after dropdown
Post by: goodiex on May 03, 2012, 04:01:00 AM
gotta love fixing your own problems.
By default the custom fields I put in had a "0" for the price modifier.  This zero creates the "price: no additional charge".
I just removed all the zeros and the messages went away.
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: matthewod01 on August 29, 2012, 18:13:47 PM
Thanks for the easy fix!  I was searching every file in com_virtuemart!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: topgun21 on October 16, 2012, 23:27:16 PM
Quote from: goodiex on May 03, 2012, 04:01:00 AM
gotta love fixing your own problems.
By default the custom fields I put in had a "0" for the price modifier.  This zero creates the "price: no additional charge".
I just removed all the zeros and the messages went away.

This didn't work for me, VM put the zeros back in. All price modifiers are defaulting back to "0.0000" on my installation.
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: capricornio on October 18, 2012, 21:28:08 PM
To get rid of the text, just do a language override for COM_VIRTUEMART_CART_PRICE_FREE with a blank value. This will suppress the ugly text behind the custom field.
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: oMikR0n on October 27, 2012, 15:10:39 PM
Quote from: capricornio on October 18, 2012, 21:28:08 PM
To get rid of the text, just do a language override for COM_VIRTUEMART_CART_PRICE_FREE with a blank value. This will suppress the ugly text behind the custom field.
Thanks a lot mate!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: apexd.com on November 07, 2012, 15:43:52 PM
It would be nice to the rest of us newbies if someone could simply share the directory where this file is found
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: apexd.com on November 07, 2012, 16:13:37 PM
Ok newbies I found the answer in another forum for the directory to where this file is located so here goes the information reference in this post is located in ROOT/language/en-GB/en-GB.com_virtuemart.ini simply open this file in something like your text editor find the line that reads COM_VIRTUEMART_CART_PRICE_FREE="No additional charge" and replace it with COM_VIRTUEMART_CART_PRICE_FREE="" save and upload
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: capricornio on November 19, 2012, 17:28:46 PM
Quote from: apexd.com on November 07, 2012, 16:13:37 PM
Ok newbies I found the answer in another forum for the directory to where this file is located so here goes the information reference in this post is located in ROOT/language/en-GB/en-GB.com_virtuemart.ini simply open this file in something like your text editor find the line that reads COM_VIRTUEMART_CART_PRICE_FREE="No additional charge" and replace it with COM_VIRTUEMART_CART_PRICE_FREE="" save and upload

It's easier to use a language override, since that one is resistant to any updates. Just go to Extensions - Language Manager - Overrides to add your preferred textstrings
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: BekahPeak on April 03, 2013, 21:55:24 PM
Quote from: capricornio on November 19, 2012, 17:28:46 PM
Quote from: apexd.com on November 07, 2012, 16:13:37 PM
Ok newbies I found the answer in another forum for the directory to where this file is located so here goes the information reference in this post is located in ROOT/language/en-GB/en-GB.com_virtuemart.ini simply open this file in something like your text editor find the line that reads COM_VIRTUEMART_CART_PRICE_FREE="No additional charge" and replace it with COM_VIRTUEMART_CART_PRICE_FREE="" save and upload

It's easier to use a language override, since that one is resistant to any updates. Just go to Extensions - Language Manager - Overrides to add your preferred textstrings

Thank you, thank you, thank you!!  This worked perfectly and simply!    :D
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: dixonzhai on June 10, 2013, 05:45:42 AM
Hi, I can get rid off the text "no additional charge" but the text "Price: " is still there, please help!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: lilmiss on July 26, 2013, 07:21:36 AM
QuoteIt's easier to use a language override, since that one is resistant to any updates. Just go to Extensions - Language Manager - Overrides to add your preferred textstrings

To get rid of the text, just do a language override for COM_VIRTUEMART_CART_PRICE_FREE with a blank value. This will suppress the ugly text behind the custom field.


Thanks! This did the trick!.

Go to admin backend of site> Extensions> Language Manager> Overrides>
For Language Constant Type in: COM_VIRTUEMART_CART_PRICE_FREE
Then for Text leave the second part blank.


I didn't do this correctly the first 2 times but figured it out. Thought I would help try to clarify what to do.
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: seyi on October 07, 2013, 02:33:17 AM
Hello,

Setting the price field to blank and saving does not work because a 0 is added again upon save.
Adding the language override for COM_VIRTUEMART_CART_PRICE_FREE does not fully work either because there is still "Price:"

The solution I used was with css where the div is just hidden:

div.price-plugin {display:none;}


That solved it

Title: Re: SOLVED Price: No additional charge after dropdown
Post by: annabunting on November 08, 2013, 15:23:29 PM
Quote from: capricornio on October 18, 2012, 21:28:08 PM
To get rid of the text, just do a language override for COM_VIRTUEMART_CART_PRICE_FREE with a blank value. This will suppress the ugly text behind the custom field.


Can someone do this for me? I have asked my IT guy to do it many times and have come to the conclusion that he doesn't know how. Get in touch with me at anna@anytimetack.com thanks!!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: azamkl on March 26, 2014, 17:15:50 PM
A method mentioned by capricornio works for me. Thanks for the highlight.  :-*
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: Kellluke on June 09, 2014, 15:24:29 PM
Quote from: apexd.com on November 07, 2012, 16:13:37 PM
Ok newbies I found the answer in another forum for the directory to where this file is located so here goes the information reference in this post is located in ROOT/language/en-GB/en-GB.com_virtuemart.ini simply open this file in something like your text editor find the line that reads COM_VIRTUEMART_CART_PRICE_FREE="No additional charge" and replace it with COM_VIRTUEMART_CART_PRICE_FREE="" save and upload
I tried, but didn't work for me. I use Joomla 2.5 and VM 2.6.0 also tried through Language Manager - Overrides. Still nothing. Some help, please?
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: jenkinhill on June 09, 2014, 15:56:41 PM
In recent versions the language file is  components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini  (all VM language files are kept within the VM component directory structure.  The constant to override is COM_VIRTUEMART_CART_PRICE_FREE   See http://forum.virtuemart.net/index.php?topic=113895.0
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: Kellluke on June 12, 2014, 16:15:33 PM
Thank you, worked perfectly!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: richm on February 13, 2015, 01:37:43 AM
Quote from: capricornio on November 19, 2012, 17:28:46 PM
It's easier to use a language override, since that one is resistant to any updates. Just go to Extensions - Language Manager - Overrides to add your preferred textstrings

This is the best thing I learned today in the Joomla world!
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: rdharma on May 16, 2015, 18:45:52 PM
Perfect! I want to change Dropdown listings  to radio or text buttons for size using custom fields. Any advice>>>

VirtueMart 2.6.14
Joomla! 2.5.28

http://darkwearuk.com/j259/mens/game-over-t-shirt-detail.html
Title: Re: SOLVED Price: No additional charge after dropdown
Post by: muku on August 27, 2015, 15:42:46 PM
I have faced that  "no additional charges" problem and found a solution.

go to ->administrator/components/com_virtuemart/models/customfields.php


you have to just change on line 1397/search it -       $price = ($customPrice === '') ? '' :  vmText::_ ('COM_VIRTUEMART_CART_PRICE_FREE'); 
WITH   -  $price = ($customPrice === '') ? '' : '';

that solve my problem  may be next -> YOU
8) 8) 8)