VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: merseyman on March 12, 2013, 11:28:48 AM

Title: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: merseyman on March 12, 2013, 11:28:48 AM
Hi,

I've started to go round in circles with the custom fields in VM2 (not quite knowing if my confusion is due to bugs, template conflicts or my grasp of the custom fields concept) ...

My products have a few standard options (for which I've found the stockable variants plugin the perfect solution) and several optional extras (and the dropbox plugin would appear to be able to deal with this).

I'm therefore using multiple instances of the dropbox plugin here (http://www.bayserve.co.uk/silvalea/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=37&virtuemart_category_id=6&Itemid=156), but the issue is that it doesn't show all the selected options in the cart (it just shows the title).

The dropbox custom fields are only added to the parent product ... Is this the way to do it? (as manually adding them to the child items could be laborious!)

Is there a better way to do all this? Have I missed a trick, or can the above work with a few tweaks?
Any help would be greatly appreciated.

Thanks,
Rob
Title: Re: Additional Custom Fields with Stockable Variants
Post by: PRO on March 12, 2013, 11:44:40 AM
virtuemart version?
Title: Re: Additional Custom Fields with Stockable Variants
Post by: merseyman on March 12, 2013, 12:00:37 PM
Sorry, it's been a while ...  ;)

I'm using VM 2.0.18a with J2.5.9
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: PRO on March 13, 2013, 02:42:42 AM
have you tested without template overrides?
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: merseyman on March 13, 2013, 09:37:33 AM
Yes, I've tried it with the Atomic template and it still won't show the selected options in the cart.

Do you think it's because I'm using multiple instances of the dropbox plugin? (edit: actually when I test this with just one dropdown it still doesn't show the dropdown selection in the cart)
... or maybe the Stockable Variants plugin can't work with additional custom fields? (edit: I've tested this and other custom fields work fine)
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: merseyman on March 13, 2013, 16:25:15 PM
After trying every permutation, I've concluding the dropbox plugin doesn't work with stockable variants.
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: PRO on March 13, 2013, 18:54:51 PM
what vmart version are you using?>
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: merseyman on March 13, 2013, 20:16:27 PM
I'm still using VM 2.0.18a
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: PRO on March 13, 2013, 21:40:09 PM
have you tested it with NON stockable variants?


and do you have to keep stock?
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: merseyman on March 14, 2013, 00:13:57 AM
No, I've not tested it on non-stockable variants ... the stockable variants plugin is perfect for my scenario (defining size and material standard options) and additional custom fields are used to select the optional extras (that are added after the order's taken).
I thought the dropbox plugin would do this for me, but I've now found the 'cart variant' custom field type here (http://www.bayserve.co.uk/silvalea/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=23&virtuemart_category_id=6) will do the same thing and it seems to be working fine.

Ideally, I'd have a dropdown with the ability for multiple radio selections, but I've not yet come across this.
Title: Re: Additional (Dropbox) Custom Fields with Stockable Variants
Post by: PRO on March 14, 2013, 18:10:22 PM
The dropbox is the only custom field I use on my site.
But I do not keep stock, thats why it's perfect for me