logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Macoy  
#1 Posted : Wednesday, July 17, 2019 2:46:33 PM(UTC)
Macoy

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 12/19/2018(UTC)
Posts: 11

Our customers are telling us when they choose options on products with three or more options, the choices the have clicked on disappear. We have been able to replicate this and discovered you have to let the choice turn grey and then move onto to the next one. Is there a fix for this?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

MikeR  
#2 Posted : Wednesday, July 17, 2019 9:18:36 PM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hello,

Please provide a bit more details about your options setup or a link to the product so we can see what's happening.
Thank you for your support!
Mike Randolph
AbleCommerce.com
Macoy  
#3 Posted : Monday, July 22, 2019 10:06:22 AM(UTC)
Macoy

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 12/19/2018(UTC)
Posts: 11

Mike
Here is one of over 100 lodge shirts we have with multiple options. In order to replicate, you must go quickly. If the customer doesn't wait for the option to turn grey, it blanks at previously chosen options.
https://www.macoy.com/He...nic-Golf-Shirt-7510.aspx
MikeR  
#4 Posted : Monday, July 22, 2019 10:14:22 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hello,

Are variants enabled on this product?
Thank you for your support!
Mike Randolph
AbleCommerce.com
Macoy  
#5 Posted : Monday, July 22, 2019 2:46:47 PM(UTC)
Macoy

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 12/19/2018(UTC)
Posts: 11

Mike
I am confused by your question. We have four options. For example, size. Size has Med, Large, XL, 2xl, etc. Option two is color Red, blue, etc.
Each product does a template for a name on the shirt.

Does that answer your question?
MikeR  
#6 Posted : Monday, July 22, 2019 3:43:56 PM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Are you on Final or RC3? I'm trying to replicate this on a test install.
Thank you for your support!
Mike Randolph
AbleCommerce.com
Macoy  
#7 Posted : Tuesday, July 23, 2019 1:10:28 PM(UTC)
Macoy

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 12/19/2018(UTC)
Posts: 11

AbleCommerce® CMS
Version: 9.0.0.4510
MikeR  
#8 Posted : Tuesday, July 23, 2019 2:09:59 PM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi,

Please go to help > About and post the results. I don't recognize that build number (9.0.0.4510)?

We've found the issue and I can see it on your website, we're outputting too many records of the Google Structured data. We limited it to 1200 in our testing but still, that's too many.

This will require a recompile in Visual Studio after you make the change, but the only file that will need to be updated is the /bin/AbleCommerce.dll file to the live website.

In /Controllers/ProductController.cs find the following line, I believe it was originally set to 1200 change it to 100 or less.

int maxVariantsAllowed = 100;

Otherwise, this Google JSON data is being inserted into the page up to 1200 times. One for every possible iteration of your options, which is in the thousands with that many option choices. Since it's exponential if you have 6 options each with 6 choices, that's 6^6 or 46656 possible option choices.

<script type="application/ld+json">

[{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Herndon Lodge 264 Masonic Golf Shirt",
"image": [
"/Assets/ProductImages/Lodge_Shirt.jpg"
],
"description": "&lt;p&gt; 7 oz. 100% preshrunk ring spun cotton. Tubular construction. Contoured welt collar &amp;amp; cuffs. Double-needle bottom hem. Clean finished placket with reinforced bottom box. Three woodtone buttons. Quarter-turned to eliminate center crease.&lt;/p&gt;",
"mpn": "1420",
"sku":"1420",
"gtin13" : "852659411276",
"brand": {
"@type": "Thing",
"name": "Macoy"
},
"color" : "na",
"aggregateRating": {
"@type": "AggregateRating",
"bestRating": "10",
"worstRating": "1",
"ratingValue": "0",
"reviewCount": "0"
},
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "25.0000",
"availability": "http://schema.org/InStock"
}
}
,{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Medium, Navy, Yellow-gold, Masonic, Herndon Lodge 264, Herndon, VA",
"image": [
"/Assets/ProductImages/Lodge_Shirt.jpg"
],
"description": "&lt;p&gt; 7 oz. 100% preshrunk ring spun cotton. Tubular construction. Contoured welt collar &amp;amp; cuffs. Double-needle bottom hem. Clean finished placket with reinforced bottom box. Three woodtone buttons. Quarter-turned to eliminate center crease.&lt;/p&gt;",
"mpn": "1420",
"sku":"1420MNBLYLG",
"" : "852659411276",
"brand": {
"@type": "Thing",
"name": "Macoy"
},
"color" : "na",
"aggregateRating": {
"@type": "AggregateRating",
"bestRating": "10",
"worstRating": "1",
"ratingValue": "0",
"reviewCount": "0"
},
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "25.0000",
"availability": "http://schema.org/InStock"
}
}
Thank you for your support!
Mike Randolph
AbleCommerce.com
MikeR  
#9 Posted : Wednesday, July 24, 2019 9:24:01 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hello,

The developers told me I was missing a line of code in this post the following needs to change as well.

The solution is to change the code ProductController.cs Around line #3509

variants = variantManager.LoadAvailableVariantGrid().Take(maxVariantsAllowed).ToList();

to

variants = variantManager.LoadAvailableVariantGrid(maxVariantsAllowed, 0).ToList();
Thank you for your support!
Mike Randolph
AbleCommerce.com
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.