VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: azri445 on March 06, 2019, 12:29:45 PM

Title: selecting variant not working
Post by: azri445 on March 06, 2019, 12:29:45 PM
hi, im testing virtumart with joomla. then setting up variant on a product. its seem fine for me, adding variant from backend. but when selecting variant, its seem the variant not working and redirecting me. and also after redirecting the quantity button missing.

please have alook into this link

1. This is product page http://suhulah.rotuku.com/index.php/pakej/makanan/bubur-habbatus-sauda-detail

2. Now choose item on the latest product

3. Then select variant, we have set the variant from back end already. after selecting variant.. its seem reseting and now the quantity button missing.

This website :
1. joomla 3.9.3
2. virtuemart 3.4.2
3. PHP Version 7.1.26 ( When using the latest version 7.3 and update max_ variable &post_max to 3000, my virtuemart crash, So i have to stick 7.1.26)
4. Original template from protostar.
Title: Re: selecting variant not working
Post by: jenkinhill on March 06, 2019, 12:44:05 PM
Looks like a template problem. Test using Protostar
Title: Re: selecting variant not working
Post by: azri445 on March 07, 2019, 04:05:11 AM
We laready check on the template side, seem its not the problem with template, the error occur when we adding more string and have more than  97 variant
Title: Re: selecting variant not working
Post by: GJC Web Design on March 07, 2019, 08:59:30 AM
search?

http://forum.virtuemart.net/index.php?topic=142143.msg501536#msg501536
Title: Re: selecting variant not working
Post by: azri445 on March 08, 2019, 08:18:09 AM
Still.. im having the same problem, even after updating with the latest template and using prostar template.

as you can see the link here, http://suhulah.rotuku.com/index.php/pakej/makanan/bubur-habbatus-sauda-detail

after you choose the drop down menu. its redirect to other page and cant update the value. the quantity button also missing.
Title: Re: selecting variant not working
Post by: jenkinhill on March 08, 2019, 10:43:42 AM
Have you increased your PHP resource values and set absMaxProducts in hidden config?
Title: Re: selecting variant not working
Post by: azri445 on March 08, 2019, 14:12:44 PM
yes... i already increase the var_max from 1000 to 3000 and i already look into my website/administrator/component/com_virtuemart/virtuemat.cfg for absMaxProducts, there's no such thing absMaxProducts. or perhaps the latest version kept it on other place?

im currently running on joomla 3.9.3 and virtuemart 3.4.2,

its a fresh install, and using prostar template
Title: Re: selecting variant not working
Post by: Jörgen on March 08, 2019, 15:04:18 PM
I think You are loading double jscripts. What are Your CSS Styles and Javascripts settings in VM Configuarion-Templates ?

Jörgen @ Kreativ Fotografi
Title: Re: selecting variant not working
Post by: jenkinhill on March 08, 2019, 16:11:29 PM
Quote from: azri445 on March 08, 2019, 14:12:44 PM
i already look into my website/administrator/component/com_virtuemart/virtuemat.cfg for absMaxProducts, there's no such thing absMaxProducts. or perhaps the latest version kept it on other place?

In the thread that GJC pointed to is this:  http://forum.virtuemart.net/index.php?topic=142143.msg501630#msg501630

So add the variable and value into the virtuemart.cfg file and save VM configuration in the site backend to enable it.   http://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html
Title: Re: selecting variant not working
Post by: azri445 on March 09, 2019, 02:26:05 AM
thank for the update, already update those post_max_var, max_var and also in virtuemart.cfg to 3000. still having the same problem.
Title: Re: selecting variant not working
Post by: azri445 on March 09, 2019, 02:29:33 AM
Quote from: Jörgen on March 08, 2019, 15:04:18 PM
I think You are loading double jscripts. What are Your CSS Styles and Javascripts settings in VM Configuarion-Templates ?

Jörgen @ Kreativ Fotografi

currently im using prostar template, and there were no css style availble for it, correct me if im wrong. and javascript on vurtuemart are set into original.
Title: Re: selecting variant not working
Post by: azri445 on March 09, 2019, 02:34:09 AM
Quote from: Jörgen on March 08, 2019, 15:04:18 PM
I think You are loading double jscripts. What are Your CSS Styles and Javascripts settings in VM Configuarion-Templates ?

Jörgen @ Kreativ Fotografi

when disabbling virtuemart css, still having the same problem.
Title: Re: selecting variant not working
Post by: azri445 on March 13, 2019, 05:42:27 AM
Hi there, finally we found the culprit. its not becuase of max-var or so whatever that we discuss. the problem caused by "Action when a product is out of stock" under VM configuration -> shopfront.

i want my VM not to show out of stock products, so we choose "DO NOT DISPLAY STOCK"

if we use the default configuration, the dropdwon for multivariant is working, but when we use "DO NOT DISPLAY" the variant not working.

Hope the VM admin got the solution. :) its been 2 week for me to find the problem.
Title: Re: selecting variant not working
Post by: GJC Web Design on March 13, 2019, 09:16:01 AM
and this is 100% the reason?
I ask because I have never seen this before..

Have u got a clone to test the latest dev version:  http://dev.virtuemart.net/attachments/download/1154/com_virtuemart.3.4.3.10020_package_or_extract.zip
Title: Re: selecting variant not working
Post by: azri445 on March 13, 2019, 14:04:34 PM
Yes.... 100% sure,. we do flow on installaing and installtion... where we stop configure after we know where the problem. this step keep on repeating. so at the end... our site working flawlessly... but when we try to update the stock status from VM back end... its show problem.