VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: beevo on February 09, 2012, 15:04:33 PM

Title: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 09, 2012, 15:04:33 PM
I'm totally new to VM and downloaded the latest VM2. Admittedly it is really oversized for what I am trying to do. Given that this new site has only about 200 products to sell it seems using VM2 is cracking a nut with a sledgehammer. Especially as it is so complicated. I tried using simplecaddy but like it says, it's simple so I couldn't add variations to a product. Basically all I want to do is show an art piece and the same image can be bought as a print, laminated print, or framed print. I wanted the product to be shown and a drop down list beside the add to cart button.

Well I have been struggling now for three days with VM2 - and it didn't help that I was tring to learn how to use it using a manual that I've only discovered is for VM1! No wonder I couldn't find the modules and parameters it was taling about.

So, before I uninstall VM our of sheer frustratioin, Can anyone tell me how to set up a product and then have 3 options for the user to choose from with their own prices. Once I've done one I can do the other 199.

Maybe someone should consider doing a 'baby VM' component with just the minimum simple features for someone trying to sell just a few products.  - Just a thought.

Thanks for your help.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 09, 2012, 20:23:23 PM
Replying to my own post here; I found the answer in the wiki version of the manual
http://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_without_stock_control

It would be a good idea a link to the wiki on VM2 was posted beside the manual download area of the VM site.

Hope htis helps someone else struggling.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Greenhouse on February 09, 2012, 21:11:34 PM
Thanks Beevo... but how does this solve your problem? I can;t see anywhere here where it says, specifically, a dropdown. Is it "grouping custom fields"? I cannot create a drop down with several variants, no matter what I try. can you help?

TX
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 09, 2012, 21:28:47 PM
Yes Greenhouse. You are right. Because I was so delighted to actually find an area to edit to create custom fields, I was quick to jump to the conclusion that this would solve the problem. So far as I can see there are hundreds of posts trying to get this drop down to work and all of the answers mention this same link. But when you follow the instructions you only get a drop down for each of the attributes you've made.

There is no way for the user to actually select ONE option and then click 'add to cart'

There is an old saying here in Northern Ireland when someone complains about something they didn't pay for:
"So what do you want for nothing - your money back?"    Well, er, in this case yes sorta . . I've spent 4 days trying to get something to work, all the time considering it was my inadequacy and lack of knowledge that was the problem, when if fact it just doesn't work to begin with.

Seen as there are SO many looking for solutions to this surely someone, anyone, can make a definitive reply, even if it is to say, "It can't be done - there is a bug in the program" at least then we wouldn't be banging our heads off the wall trying to get it to work. I'll give it one more day before I uninstall VM. And if I have to, I will most certainly tell others to steer clear of it too to save them all the hassle. Meantime, I'm off to joomla extentions to see what else I can use instead.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Greenhouse on February 09, 2012, 22:07:32 PM
Thanks Beevo. This is insane. A single field isn't a "drop down". This should be a simple thing.... hard to imagine they are not addressing it.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 09, 2012, 22:27:39 PM
OK, never let it be said I'm not a tryer.

I got this to work for my needs at least (although I would have preferred to be able to put in a Paypal code for each varient.
I'm sure you're familiar with most of this but I'll try to be detailed for newbies like myself.
Here goes:
In admin back end navigate to VirtueCart
go to the Products Area (left hand column and in click on Custom Fields.
Click on NEW
Set your parameters up like the attached picture.
The custom field type should be "CART VARIANT" - select that from the drop down list
Give your variant a name
       (as I'm selling art I called it "Art Vairant" but you can call yours "Colours" or whatever.)
Type in a desctiption
Leave DEFAULT blank
Type in a tool tip if you like "Choose what colour you want" or whatever
PARENT: leave at Please Select
Published YES
admin only NO
Is List NO
Hidden NO
Cart Attribute YES
================== save and exit the custom fields area
------------------
You will not need to go back in there again (well for this purpose anyway)
Now in the PRODUCTS area on the left click on Products
make a product
click on the final tab area on the right called custom fields

use the drop down manu under CUSTOM FIELD TYPE select an option
select the custom field you just made - in my case Art Variant (in your case colour or whatever)
now a variant will appear for you to populate
type in a variat and it's price
==============    NOW DON'T miss this bit
Now once again select Art Variant from the CUSTOM FIELD TYPE list
and Once again you get another variant to edit
Continue to your needs and save
when you've finished you will find at the front end ONE single drop down with a list of variants for that single product

Enjoy - I'm gonna have a beer now - I deserve it.



[attachment cleanup by admin]
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Greenhouse on February 09, 2012, 23:19:54 PM
Thanks Beevo. You rock. What if the product has a single price? I want a price of $28 to display, and no matter which varient from the dropdown you choose, the price stays the same. Can't seem to get it. If I set the product price and leave the custom field price boxes blank, it puts a "free" next to it. Not ideal.

TX
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 09, 2012, 23:27:30 PM
I haven't checked this yet but I vaguely remember reading something about putting a plus sign or a minus sign in the price to do stuff. Have a few experiments. I'm in the middle of checking other stuff. For instance. I was dissapointed to find that if I clone a product it will NOT clone the variants I hvae on that product. For me this means putting three variants one by one on 200 products! Not happy with that.
I'll have to check out the tables for VM and see if I can't simply do a query and add them all in a single codeline.

Back soon.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Greenhouse on February 09, 2012, 23:52:08 PM
check out this overrides info. Works great...

http://forum.virtuemart.net/index.php?topic=96968.0
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 10, 2012, 02:58:55 AM
Solves your problem, but not mine. Because a clone wont copy the custom fields I have to put them all in one by one - for 200 products - no joke

Thanks for sharing your learning though.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: beevo on February 10, 2012, 14:55:21 PM
The copying of custom fields when cloning is now covered in the VM 2.0.1 so that's another problem sorted.
This link takes you to the download for VM 2.0.1 http://forum.virtuemart.net/index.php?topic=96945.0

You just download this. unzip it. use joomla to install the com. package - you don't have to uninstall VM 2.0.0, it will just update that for you.
The same is true for the all in one modules and plugins - they are updated when you install the new version.

One thing. when you do update. there will be a "UPDATE FOUND CLICK TO UPDATE" button showing v 2.0.2 this will NOT update to that but will bring you back to version 2 (I believe). So just ignore it for now.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: PRO on February 10, 2012, 17:42:32 PM
http://forum.virtuemart.net/index.php?topic=90833.0
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: blans on February 16, 2012, 16:19:12 PM
That's still not very helpful banquet... I just came from that thread...

Like the subject says we need a new manual.

I think a lot of VM users would like to see a manual that simply states how to:

Add 250 products (t-shirts, pants etc...) with children (size, color etc..) that can be selected from a dropdown. When selecting a product the picture should change to that color/size picture.
Also how to simply add multiple pictures per t-shirt (front/sideways etc...). Oh yeh... It would be nice if the dropdown was in a good order XS-S-M-L-XL.

That would be a great start since getting this done even for me as an experienced VM user is pretty hard in VM2.

Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Matto on February 22, 2012, 10:25:28 AM
Thank you so much, Beevo.
As Greenhouse said, you really rock.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: rustle on February 28, 2012, 22:51:18 PM
Thanks Beevo

after hours of banging my head off a wall,
you saved my life  8)


now what I am looking for is the ability to 2 or more drop down lists like you described above
If anybody knows the answer to this it would be much appreciated
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: PRO on February 29, 2012, 20:20:33 PM
Quote from: rustle on February 28, 2012, 22:51:18 PM
Thanks Beevo

after hours of banging my head off a wall,
you saved my life  8)


now what I am looking for is the ability to 2 or more drop down lists like you described above
If anybody knows the answer to this it would be much appreciated


http://forum.virtuemart.net/index.php?topic=90833.0
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: Milbo on February 29, 2012, 23:43:42 PM
I would do it that way
http://forum.virtuemart.net/index.php?topic=98648.0

The stockable custom plugin is afaik not correct working. We are on it.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: leoeagle on March 01, 2012, 04:38:42 AM
Hi people,

Before everything sorry about my poor english...

I'm trying do use virtuemart and i've problems with the costomfields...

For example, can i create a product with a custonfield "colour" with 5 different colours and make appear  in the frontend a dropbox menu where i simply choose the colour without any mention to the price? For the different colours the price will be the same...
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: TBoele on March 01, 2012, 07:20:07 AM
Quote from: Milbo on February 29, 2012, 23:43:42 PM
I would do it that way
http://forum.virtuemart.net/index.php?topic=98648.0

The stockable custom plugin is afaik not correct working. We are on it.

So will still can't create child products and use this in a stockable custom field ?

I have this now and it shows the dropdown. Only problem is that i have to set the stock level also in the parent product otherwise it will show the Notify button.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: PRO on March 01, 2012, 14:24:27 PM
Quote from: leoeagle on March 01, 2012, 04:38:42 AM
Hi people,

Before everything sorry about my poor english...

I'm trying do use virtuemart and i've problems with the costomfields...

For example, can i create a product with a custonfield "colour" with 5 different colours and make appear  in the frontend a dropbox menu where i simply choose the colour without any mention to the price? For the different colours the price will be the same...

http://forum.virtuemart.net/index.php?topic=90833.0
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: bibi_de_la_yaute on March 07, 2012, 12:22:44 PM
hello all,

first of all, THANKS beevo & banquet !! you helps me a lot ;-)
As i did'nt want to add custom fields one by one all the times for each products, i followed your tuto to create customs fields ( and it works perfect !) and after that i had created a "parent" (no special option or things to fill) in which i putted all my variants as child.
Now when i go to my product i have only to add this parent as much i need (example 4 times for S M L XL .ie) click on "save" before filling values and all my customs fields are in ! now i have only to fill all the values and delete the line of the parent which is no more useful and eventually some variant who might be not necessary anymore...

I know it is not THE solution to have a "all in one variant" but it seems to work at the moment ;-)

Thanks for all !

Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 07, 2012, 15:45:14 PM
Hi,

forgive me if this is a daft question. I do not seem to have VirtueCart - I have just installed Virtuemart and trying to follow the instructions here for adding a size attribute, but can't even get past first base. Can someone tell me where I find Virtuecart or where I download it?

Kind regards
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 07, 2012, 16:51:59 PM
Hi,

I realised you just meant VirtueMart and found the place I needed to be. I have followed your instructions (many thanks for providing them) but I can't get it to work. When i go to the Custom Field tab when creating a new product, and i select the newly created field (size2) I don't get anything listed below it as you do in your example. Its empty, and just below that is a section labelled Plugins that is also empty - should something be there?

[attachment cleanup by admin]
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: rustle on March 07, 2012, 17:25:57 PM
Is your custom field a "cart attribute"

also your screen shot is pretty pixelated

can you take a better one?
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 07, 2012, 17:47:37 PM
Hi rustle,

yes it is set as a cart attribute and I selected Cart Variant as the type - is this correct? Basically in the Product-Custom Field I can see my newly created field, but when I select it nothing happens - I don't get a box or anything to add the attributes (I am assuming I should get something?) and I can't see anywhere to add the attributes.
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: rustle on March 07, 2012, 17:55:50 PM
If created correctly then the field show up in the 'custom field' drop down menu
if you want multiple of the same field
just keep manually selecting them from the dropdown list

beevo created an excellent post on this here:
http://forum.virtuemart.net/index.php?topic=97794.0

I hope this helps   8)
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 07, 2012, 18:07:15 PM
Hi rustle,

I followed those instructions originally, and have just created another one again following them to see if I missed something. I just don't get anything when i select the new field in the dropdown. I dont get anything even for the the sample fields that are installed with the sample data. I have tried re-installing virtuemart and not sure what else to try. Is there some setting somewhere else that needs to be enabled or somthing?
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: rustle on March 07, 2012, 18:20:39 PM
i have some spare time today

if you pm me admin credentials I will look for you
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: PRO on March 07, 2012, 18:22:15 PM
Quote from: rustle on February 28, 2012, 22:51:18 PM

now what I am looking for is the ability to 2 or more drop down lists like you described above
If anybody knows the answer to this it would be much appreciated

PDF http://forum.virtuemart.net/index.php?topic=90833.0
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 08, 2012, 11:14:35 AM
Hi rustle,

many thanks for your kind offer, I have asked for permission (but it was refused) to allow you access to the admin (its a school site so has lots of sensitive detail). I tried installing and then setting up on another site and followed the instructions again and still have the same issue. I am wondering if I have not installed something. I noticed I don't have a Product details tab - should that be there? I am using J2.5x very latest, and have installed virtuemart 2.2 and the aio file. Is anyone else experiencing this problem?

I loved the old version of Virtuemart, it seems harder to work with now (or at least this bit is).
Title: [SOLVED] Need a new manual for VM 2 - can't figure out how to add customfields
Post by: KatieBurnes on March 08, 2012, 11:39:27 AM
Hi,

finally tracked down the problem and found a fix here: http://forum.virtuemart.net/index.php?topic=96366.0

Basically there seems to be some ajax issue (I have Jomsocial installed). The only problem now is at the top of the Custom field page I get this message: COM_VIRTUEMART_CUSTOM_SAVE_FROM_CHILD with a checkbox next to it :-\. It doesn't seem to be causing a problem so I shall just leave it there.

Hope this helps others who are using Jomsocial with virtuemart. A massive thanks to renegadesk who made the effort to post the solution :)
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: rustle on March 08, 2012, 15:20:24 PM
this sounds like a template issue
try switching to one of the default Joomla template , like beez5 and see if you are experiencing the same issue
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: leoeagle on March 08, 2012, 23:49:57 PM
Hello,

Can i have a product with 3 different sizes, each size with a different price and when i select one size the price will be updated automatically?

What i can at the moment:

T-shirt white 10€

Size S
Size M +2€
Size L +3€

What i want:

T-shirt white

Size S 10€
Size M 12€
Size L 13€

It's possible?


Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: maxispin on March 09, 2012, 12:04:41 PM
Quote from: leoeagle on March 08, 2012, 23:49:57 PM
Can i have a product with 3 different sizes, each size with a different price and when i select one size the price will be updated automatically?
.. read « Reply #5 on: February 09, 2012, 15:27:39 PM »
Title: Re: Need a new manual for VM 2 - can't figure out how to add customfields
Post by: leoeagle on March 10, 2012, 11:32:02 AM
My english it's a little poor and it's hard to explain what i would make :-[

i've already created a product and i've added a custon field with 4 different prices... It works but not like i want.

so i've a product with a sales price of 10€, and 3 different sizes, each size with a a different price... When i choose a size, the final value of the product will be 10€ more the value that i configured on the custon field and i only can see the total value of my choice on the shopping chart.

this could cause some confusion about different prices for different sizes of the same product and what i pretend choose the size with the right price...

What i can do at the moment:

T-shirt

Sales price - 10€

Size S +0
Size M +2
Size L +3

So if i choose the M size i'll have to pay 12€ but i'll see one this value on the shopping chart... the sales price will continue 10€

What i pretend it's one way of the sales price of the product change when i choose a different size or make something like this:

Sales price - from 10€

Size S - 10€
Size M - 12€
Size L - 13€

First question: Anyone understand what i pretend? ;D
Second question: Anyone can help me? :P