Limit on responsive Variants attribute selection?
-
Hi, there.
Working on client’s site.
They are using variable products liberally in Woocommerce and I’ve
just run into what seems like an odd limitation.Their product structure sometimes includes master products with
variations where the variations are only a small part of the possible
variation base, given the number of attributes. I’m including demo
pages showing the problem for one such product. This product has
four attributes (grit, size, more-specs, and mineral) and the cross
product of all possible values is 432 options. However, there are
in reality only thirty-five valid options.For almost all the products, the coordination between the attribute
drop-downs is working beautifully. Values adjust to reflect only
the possible products.However, for this one, I observe this:
If I make thirty or fewer variants active, the drop-downs work great. Every
allowed combination has a price and the adjustments serve the
shopper.However, if I make thirty-one or more active, though, the drop-downs stop
adjusting and always show all options. This leads to the frustration
of folks selecting combinations that are invalid and getting a “Sorry,
no products…” message.I’ve created three demo products that I hope will be useful in seeing
the problem and rule out some possibilities.Demo 1, Demo 2, and Demo 3 all have the same underlying product info,
just with different SKUs, of course, and different active variants
from the total thirty-five.1) http://www.floorsupplynetwork.com/product/wc-demo1/ has 30 active
variants, including 60 grit, 7″, H&L, Regalite option.2) http://www.floorsupplynetwork.com/product/wc-demo1/ has 30 active
variants, including 60 grit, 5″, H&L, Regalite option.For these, the other twenty-nine active variants are the same. I wanted
to demo that both the 5″ and 7″ version of this played well with others
individual. Both of these work as expected in the attribute drop-downs.3) http://www.floorsupplynetwork.com/product/wc-demo3/ has 31 active
variants, the common twenty-nine and BOTH the previous ones. But
in this one, the attribute drop-downs don’t restrict in response to
selections.Attribute selections that will quickly tell you if things are behaving,
as in cases 1 & 2:1) From a cleared set of attributes, select 16 grit. The typemineral
drop-down should now only have TRIMITE in it.2) From a cleard set of attributes, select “Quick Change” in the
more-specs drop-down. Now the typemineral drop-down should only
have REGALITE in it.3) From a cleared set of attributes, select 7″ size. Both REGALITE
and TRIMITE will be available. But for 5″, only REGALITE and for 6″
only TRIMITE.*Whew*
Thanks so much for the plug-in and reading this far.
Jon
—
System Status:
### WordPress Environment ### Home URL: http://www.floorsupplynetwork.com Site URL: http://www.floorsupplynetwork.com WC Version: 2.6.8 Log Directory Writable: ✔ WP Version: 4.6.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en ### Server Environment ### Server Info: Apache/2.4.23 PHP Version: ❌ 5.4.45 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version PHP Post Max Size: 48 MB PHP Time Limit: 120 PHP Max Input Vars: 1000 cURL Version: 7.38.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: ❌ 5.5.49 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.6.8 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ ### Active Plugins (12) ### Code Snippets: by Shea Bunge – 2.7.2 File Manager: by – 4.1.0 Jetpack by WordPress.com: by Automattic – 4.3.2 Responsive Image Maps: by Philip Newcomer – 1.4 Run SQL Query: by Fabricio Carella – 1.0.0 Ultimate Tag Cloud Widget: by Rickard Andersson – 2.7.2 WooCommerce Colors: by WooThemes – 1.0.6 WooCommerce Prices By User Role: by Festi – 2.15 WooCommerce Product CSV Import Suite: by WooThemes – 1.10.10 – 1.10.12 is available WooCommerce: by WooThemes – 2.6.8 WP-CRM: by Usability Dynamics Inc. – 1.0.5 WP-DBManager: by Lester 'GaMerZ' Chan – 2.78 ### Settings ### Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ✔ ### WC Pages ### Shop Base: #10420 - /shop-2/ Cart: #52 - /cart/ Checkout: #53 - /checkout/ My Account: #54 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Divi Version: 2.1.2 Author URL: http://www.elegantthemes.com Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: –
The topic ‘Limit on responsive Variants attribute selection?’ is closed to new replies.