VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: stawebnice on December 10, 2015, 14:31:27 PM

Title: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 10, 2015, 14:31:27 PM
Hi,

I am experiencing this issue with some products that when I select a color, nothing happens and sometimes the address of product changes from:

http://www.pippy.cz/spolecenske/mara-fiore-20-den-detail

http://www.pippy.cz/spolecenske/mandisa-fiore-20-den-detail

to http://www.pippy.cz/spolecenske/-detail

I upgraded to 3.0.12, made table update through database tools, and the products are added in a correct way (it worked before):

overall it is very slow...I don't know if it is just because of the multivariant or because there is 3857 products, but it takes forever...

see screenshots of product settings, please>
parent product>
http://imtp.me/ah6t02lj3
http://imtp.me/ah6w02lj3.p

child> http://imtp.me/ah6y02lj3.p

debug shows>
http://imtp.me/ah7002lj3
http://imtp.me/ah7102lj3.p


Please help! how to make selects work and speed up the eshop generally...
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: jjk on December 13, 2015, 17:58:34 PM
I don't know what exactly might cause that error. I don't see any error message in Firebug. Looks like your pagination (previous/next product) in that category doesn't work correctly either. Perhaps a messed up cache?
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 13, 2015, 20:13:55 PM
I think we already fixed it because there was a jquery conflict...
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 14, 2015, 14:05:23 PM
hm, so no,  most products wrok, but these few products are still problem....
arrows next -previous work for me

I asked the owner and she told me that the only difference between these and other products that work is, that there were more variants which she deleted from admin as child products...and now even the rest of the variants do not work...

Is is possible that this might cause the problem?
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 15, 2015, 13:38:47 PM
I think we discovered the problem - it must be a bug or I don't know>

if you REMOVE the child variant from multivariant by deleting it in the VM admin, the product cannot be ordered anymore - no matter if there are other variants that are published and in stock - just like the mandisa tights: 
http://www.pippy.cz/spolecenske/mandisa-fiore-20-den-detail

if you only unpublish the variants that are not ordeable, it works fine...

in the product settings,there are just two colors - black and natural>
http://imtp.me/ahz902lj3
http://imtp.me/ahza02lj3.p

but front-end offers three: plus white, that is no longer available> http://imtp.me/ahzb02lj3

I think this causes the problem...question is, how to solve it...
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: Milbo on December 17, 2015, 01:06:10 AM
When you delete a child, you need to store the parent again.
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 17, 2015, 08:57:45 AM
by store you mean open and save again?
Title: Re: VM3.0.12: multivariant - unable to select product variant
Post by: stawebnice on December 17, 2015, 13:35:28 PM
Perfect, it works! Thanks, Max!