Load variant information via AJAX

1 votes

When products with variants are generated, all possible variant information is compiled into a single JSON object to allow for dynamic page updates using javascript. Some of my products have multiple variant options making this JSON object huge. One in particular has 24 size variations and 6 thermostat options, creating a JSON object with all the data for 144 variations and making the total webpage download size a whopping 1.86Mb! We wanted to offer a third variant option against these products be can't as any addition variation increases the page size exponentially.

If you changed your system so the information for a selected variant is requested and downloaded via AJAX, when a user makes a selection, this JSON object would become obsolete - reducing my webpage download size to 150Kb, making my site run faster, making the user experience far better and allowing me to add additional product variants, increasing my sales.

Please please please get this AJAX in place.

Under consideration Products Suggested by: Chris Sewell Upvoted: 26 Jul, '22 Comments: 0

Comments: 0