VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Patrick on November 16, 2011, 18:30:27 PM

Title: Custom selection field shows free.
Post by: Patrick on November 16, 2011, 18:30:27 PM
I want the ""old" option 2 show the base product price in a week selection option.
Now it show's Free, don't want that.
Older Virtuemart  configured the "=199.95" option. (that doesn't work anymore"

Thanks
Title: Re: Custom selection field shows free.
Post by: PRO on November 16, 2011, 18:50:14 PM
are you putting the price in teh price field?
Title: Re: Custom selection field shows free.
Post by: Patrick on November 16, 2011, 19:02:54 PM
Yes, got same program over 3 weeks: week 1, week 2, week 3
so customer has to select a week.
Base price = 299
If I put in Week 1 "0" it shows free
If I put in Week 2 "=299" it show free
If I put in Week 3 "299" it show 299 but it doubles the total price to 598
Basicly if the "old" option "=299" works then it show 299 and total will be also 299.
Looks strange if customers see Week 1 Free of Charge it costs 299 and it's not free.

Thanks Patrick

Title: Re: Custom selection field shows free.
Post by: PRO on November 16, 2011, 19:21:50 PM
The problem right now is not with what u describe its with this thread here.
http://forum.virtuemart.net/index.php?topic=93176.0


TO remove "Free" You do a language override
http://forum.virtuemart.net/index.php?topic=92944.0
Title: Re: Custom selection field shows free.
Post by: Patrick on November 16, 2011, 19:43:52 PM
I posted the thread so don't know why it isn't what I described.
I don't want to display free or another word, I want it to just display the price of the base product.
yet again the former price =299 option isn't there anymore.
Title: Re: Custom selection field shows free.
Post by: Patrick on November 18, 2011, 19:13:56 PM
Is there a way 2 make a custom field without pricing in it.
So Dropdown selection with a selection of - week 1
                                                                   - week 2
                                                                   - week 3
That should solve this problem if it is possible, still trying to figure out the custom fields and which to use.

thanks
Title: Re: Custom selection field shows free.
Post by: robbluther on December 13, 2011, 21:39:33 PM
Did you ever find an answer to this? Modifying the language file is not an option.  Right now, I am trying to convert VM2 into a quote system.  I want no mention of price on the site... I do want cart functionality though.  The cart's product variant is adding a ": Free" label after my variant name.  I would love to know how to remove this.  Changing the price value in the admin option does not seem to work.

(http://dl.dropbox.com/u/10013006/Capture.PNG)
Title: Re: Custom selection field shows free.
Post by: PRO on December 13, 2011, 21:42:13 PM
Quote from: robbluther on December 13, 2011, 21:39:33 PMModifying the language file is not an option. 

why? you can do an override
Title: Re: Custom selection field shows free.
Post by: Patrick on December 13, 2011, 21:42:25 PM
Nope guessing we'll have to wait untill final release...
I changed the language file from free to --- And I can live with that for the time beeing.
Development has a Long way to go, hoping they get there soon.

Patrick ;)
Title: Re: Custom selection field shows free.
Post by: Patrick on December 13, 2011, 21:47:22 PM
Quote from: BanquetTables.pro on December 13, 2011, 21:42:13 PM
Quote from: robbluther on December 13, 2011, 21:39:33 PMModifying the language file is not an option. 

why? you can do an override

Override does fix the "Free" in whatever you want,  but that  isn't what is needed we need selectable options without pricing (or free) just selecting 
Title: Re: Custom selection field shows free.
Post by: PRO on December 14, 2011, 13:28:33 PM
do you want to NOT show prices at all?
Title: Re: Custom selection field shows free.
Post by: robbluther on December 14, 2011, 13:57:16 PM
Quote from: BanquetTables.pro on December 13, 2011, 21:42:13 PM
Quote from: robbluther on December 13, 2011, 21:39:33 PMModifying the language file is not an option. 

why? you can do an override

I meant to say not an ideal option :)
Title: Re: Custom selection field shows free.
Post by: corymp on December 18, 2011, 05:51:10 AM
Quote from: BanquetTables.pro on December 13, 2011, 21:42:13 PM
Quote from: robbluther on December 13, 2011, 21:39:33 PMModifying the language file is not an option. 

why? you can do an override

The override works if you change it to " "
If you change it to "" it still shows FREE

BUT..

No matter what you do it still puts in a ":" at the end.

Why can't someone just point us to the file where this originates?
Title: Re: Custom selection field shows free.
Post by: dpodesta on December 20, 2011, 11:24:29 AM
Can anyone show me what I need to put in the overide file to remove "free" from the custom fields without prices.

It would be much appreciatyed as I really don't understand this.

David
Title: Re: Custom selection field shows free.
Post by: matthewod01 on February 14, 2012, 21:03:36 PM
Just to put this out there here is what I did:
1) In language/overrides/en-GB.override.ini I pasted this: COM_VIRTUEMART_CART_PRICE_FREE=" "
2) In administrator/components/com_virtuemart/models/customfields.php on or around line I deleted ":" on this line: $productCustom->text =  $productCustom->custom_value.'  '.$price;

So now my color or size options that have no price variation will only show up as the option!

I hope this helps someone because I feel like I spend more time on the forum then actually getting anything done! 

Thanks

Matt
Title: How can a registered user upload his product by virtuemart?
Post by: rubelnl on February 14, 2012, 22:29:36 PM
Plz help,
I have a big problem.
That is : How can a registered user upload his product by virtue mart?
Title: Re: Custom selection field shows free.
Post by: Zuske on March 09, 2012, 02:47:24 AM
thx matthew this helped me,

what i did i removed not the whole line but only    .$price;
on line 583 in administrator/components/com_virtuemart/models/customfields.php

now i have no price display at all in the product options but only the value name.
Title: Re: Custom selection field shows free.
Post by: kimbukhari on April 26, 2012, 23:05:55 PM
Quote from: matthewod01 on February 14, 2012, 21:03:36 PM
Just to put this out there here is what I did:
1) In language/overrides/en-GB.override.ini I pasted this: COM_VIRTUEMART_CART_PRICE_FREE=" "
2) In administrator/components/com_virtuemart/models/customfields.php on or around line I deleted ":" on this line: $productCustom->text =  $productCustom->custom_value.'  '.$price;

So now my color or size options that have no price variation will only show up as the option!

I hope this helps someone because I feel like I spend more time on the forum then actually getting anything done! 

Thanks

Matt

Dear All, I have browsed the above said folder, there is only 1 file in it and that is index.html, no other file is there! what to do now? Please help me in this regard as i am surfing on these forums for the last 15 days to resolve the same issue but getting no response and clue. You guys are like angels to me as discussing the same issue, but ....... :'(

Kamran
Title: Re: Custom selection field shows free.
Post by: lol2x on July 26, 2012, 23:18:49 PM
Hi, i don't want to make a new topic so i write it here. I want to delete showing -price or price in custom fields but in VM 2.0.8e and the file customfields.php is changed so i don't know which line i should modify