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": "<p> 7 oz. 100% preshrunk ring spun cotton. Tubular construction. Contoured welt collar &amp; cuffs. Double-needle bottom hem. Clean finished placket with reinforced bottom box. Three woodtone buttons. Quarter-turned to eliminate center crease.</p>", "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": "<p> 7 oz. 100% preshrunk ring spun cotton. Tubular construction. Contoured welt collar &amp; cuffs. Double-needle bottom hem. Clean finished placket with reinforced bottom box. Three woodtone buttons. Quarter-turned to eliminate center crease.</p>", "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" } }
|
|