VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: baggiesmad on September 26, 2014, 09:55:26 AM

Title: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on September 26, 2014, 09:55:26 AM
Hi

I'm developing a Mens Fashion online store using Virtuemart for a client.

All of the t-shirts he sells come with multiple options and all have different stock levels. For example.

Product Name: Mens T-Shirt

Colours: Red, Blue, White, Black.

Sizes: Small, Medium, Large, 1XL, 2XL, 3XL, 4XL

The issue is the colours are not available in all sizes....

RED: Small
BLUE: Small, Medium,
WHITE: Large
BLACK: Small, Large, 1XL

I've tried the CustomFieldsForAll PLUGIN but it doesn't appear to meet my requirements.

What is the best way to set this up?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: balai on September 26, 2014, 12:42:51 PM
I think the only way you have atm is to use child products and the "generic child variants" plugin
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Matt_Ginn on October 30, 2014, 17:24:03 PM
Create a custom field, set the custom field type to 'plug-ins', and the plug-in type to 'Stockable Variant'. Fill in all your possible options in the boxes and make it a cart variant. Now when you apply this custom field to the parent product and create a child you can select the relevant colour & size and set the stock level.

Here's an example of it working on my site:

http://www.mardens-trading.co.uk/portwest/portwest-leisurewear-range/view/productdetails/virtuemart_product_id/1690/virtuemart_category_id/353
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Milbo on November 05, 2014, 19:11:23 PM
Or vm3 and the new "child variants". You should also add the attributes which do not affect the stocking to the parent, so all your children have them.
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on November 10, 2014, 11:59:54 AM
Quote from: Matt_Ginn on October 30, 2014, 17:24:03 PM
Create a custom field, set the custom field type to 'plug-ins', and the plug-in type to 'Stockable Variant'. Fill in all your possible options in the boxes and make it a cart variant. Now when you apply this custom field to the parent product and create a child you can select the relevant colour & size and set the stock level.

Here's an example of it working on my site:

http://www.mardens-trading.co.uk/portwest/portwest-leisurewear-range/view/productdetails/virtuemart_product_id/1690/virtuemart_category_id/353

Thanks for your reply.

I dont see 'Stockable Variant' under the drop down?

Im running 2.6.10 and the plugin isnt there?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Matt_Ginn on November 12, 2014, 13:16:22 PM
Do you have the 'stockable' plug-in enabled?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on November 12, 2014, 14:14:16 PM
Quote from: Matt_Ginn on November 12, 2014, 13:16:22 PM
Do you have the 'stockable' plug-in enabled?

Done a search for Stockable in the plugins list and it doesn't appear?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Matt_Ginn on November 12, 2014, 14:56:06 PM
As far as I'm aware it should always get installed as part of the core of VM or the AIO! Can a mod/ VM developer confirm this?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on November 25, 2014, 12:57:06 PM
Quote from: Matt_Ginn on November 12, 2014, 14:56:06 PM
As far as I'm aware it should always get installed as part of the core of VM or the AIO! Can a mod/ VM developer confirm this?

Can anyone tell me if I can reinstall this plugin/module?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: GJC Web Design on November 26, 2014, 01:04:04 AM
never seen it not install

look by ftp in plugins/vmcustom/stockable - that is it

if not you need to extract the AIO - upload the the folder stockable where it should be - discover it in Joomla extensions

[attachment cleanup by admin]
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on November 26, 2014, 10:20:28 AM
I have that folder on FTP:  plugins/vmcustom/stockable

These are all I have on my installation...



[attachment cleanup by admin]
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Scott Hurley on November 30, 2014, 05:57:15 AM
Same here as above Where do I get the stockable Variant plugin please..
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: jenkinhill on November 30, 2014, 11:55:25 AM
It is included in VM 2.6.x and VM3

In 2.6.x select plugins as Custom Field Type and in the Select a plug-in box enter sto to search for and enable the stockable option.

In VM3 currently the Select a plug-in list is prepopulated, as in image.


[attachment cleanup by admin]
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: baggiesmad on December 01, 2014, 10:43:40 AM
Quote from: jenkinhill on November 30, 2014, 11:55:25 AM
It is included in VM 2.6.x and VM3

In 2.6.x select plugins as Custom Field Type and in the Select a plug-in box enter sto to search for and enable the stockable option.

In VM3 currently the Select a plug-in list is prepopulated, as in image.


So referring to the screenshot I posted earlier. The correct plugin is: VM Custom Field with Stock Control?
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Matt_Ginn on December 01, 2014, 11:47:23 AM
I don't seem to have the Stockable option in VM3 at all. I've even manually unpacked the AIO tar.gz and I can't find it in there either. I use it extensively in my live site (currently using VM 2.6.12.2) so I need to sort this issue out before I can upgrade!
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: GJC Web Design on December 01, 2014, 12:02:22 PM
I showed you the name of it in for me a standard install of VM2.6.x above

you have something completely different - you need to find out why....

[attachment cleanup by admin]
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: GJC Web Design on December 01, 2014, 12:04:24 PM
@matt_ginn

there are plenty of posts on here explaining that the stockable variants plugin is no longer used in VM3
this thread is about stk variants on  VM2!!!!
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: Matt_Ginn on December 01, 2014, 12:09:09 PM
Quote from: GJC Web Design on December 01, 2014, 12:04:24 PM
@matt_ginn

there are plenty of posts on here explaining that the stockable variants plugin is no longer used in VM3
this thread is about stk variants on  VM2!!!!

Which is what I thought until I saw the post yesterday from jenkinhill that said it was included in VM 2.6.x & VM3!!!!!
Title: Re: Whats the best way? multiple sizes and different colours?
Post by: GJC Web Design on December 01, 2014, 14:06:11 PM
Sorry - then I don't know.....