News:

Support the VirtueMart project and become a member

Main Menu

Help removing the "Free" from Custom Fields

Started by GreenerU, January 25, 2012, 18:18:22 PM

Previous topic - Next topic

GreenerU

Hi People.

I have a problem that the custom fields don't show up right on my site and would like to remove the word "Free" from the option when the custom field price is zero (or as I have left it "blank")

Anyone please tell me how I can do this?

Regards
Vince Gledhill
proprietor
http://www.greeneru.co.uk


GreenerU

Thanks for the reply, but I want to remove that word altogether.

I don't want to replace it with another word.  Because if I replace it with "" instead I can't have the word "Free" anywhere on my Joomla website

Any idea which PHP file it is "hidden" in so that I can remove it?

Regards
Vince Gledhill
http://www.greeneru.co.uk

PRO

you can still have the word FREE, lol,

COM_VIRTUEMART_CART_PRICE_FREE=""
BUT, you cannot have the word free for this varible
COM_VIRTUEMART_CART_PRICE_FREE

GreenerU

Could you please explain how to do it as if you were talking to an idiot?  Because you'd probably be right.

I am running Joomla 1.7 on my site and VirtueMart2

However, in my directory structure I cannot see any Language Override folder.

Told you I was an idiot?

PRO

#5
FTP to

public_html/language

create a folder called   overrides

THEN, unzip the file I have attached. and the put it in the override folder


[attachment cleanup by admin]

GreenerU

Brilliant, thanks for your help mate.

Sorted that.

Do you know of any way to format the options so that they look more like the choice you are getting? 

See what I mean here http://greeneru.co.uk/index.php/shop/striplights/orion3-detail

It says the following...

length (i) (tickbox)
100mm
:(tickbox)200mm
:£15.26(tickbox)

Which means that the tickboxes don't correspond with the price.... I would like it to look like this instead

Length (i)
100mm (tickbox) (additional price if any)
200mm (tickbox) (£15.26)
300mm (tickbox) (£30.59)

Regards
Vince Gledhill
http://www.greeneru.co.uk

PRO

.product-field-type-B, .product-field-type-S, .product-field-type-I {
    float: left;
    padding-left: 3%;
    width: 30%;
}

change the width to 50%

components/com_virtuemart/assets/css/vmsite.ltr.css


BUT: you need to do an override, rather than change the virtuemart one.
http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367

Because, when you update, that file will be overwritten.