WooCommerce 4.0.1 broke variations
-
Hello everyone!!
After updating to Wc 4.0.1. The variables of the products were broken on my site.
I have 2 attributes each with their variables, but on the product page all the variables always appear regardless of the attribute.
I have discovered after many attempts that when I deactivate Stripe variables work fine.
I leave documentation of the problems at this link: https://drive.google.com/open?id=1cAVz6l7dZRamBgzCsYYeqBWAIa5GUuyQI would like to know if someone has the same problem
Thank you
The page I need help with: [log in to see the link]
-
Hi @aacris
I tested on my site with only WooCommerce, Stripe and using the Storefront theme and I cannot reproduce this same issue.
If I select the first attribute (color), only the available options for the second attribute (size) show.
Link to image: https://d.pr/i/TPom2YHave you tried switching to the Storefront theme and only have 2 plugins, WooCommerce and Stripe, active? If not, I’d recommend testing to see if this works correctly for you as it does for me.
Hello @ amandasjackson
I have tried with GeneratePress Children, with GeneratePress Pro, with Envo Storefront, with Twenty Twenty and the problem continues.I would like to see your site, indicate the link please, and check it too.
In the status of my site it appears: WooCommerce Stripe Gateway by WooCommerce – 4.3.2 – Not tested with the active version of WooCommerce.
This is what I don’t understandThank you
- This reply was modified 4 years, 8 months ago by CristiAguado.
- This reply was modified 4 years, 8 months ago by CristiAguado.
Hi @aacris
> I have tried with GeneratePress Children, with GeneratePress Pro, with Envo Storefront, with Twenty Twenty and the problem continues.
Can you please test with Storefront, WooCommerce and Stripe ONLY active and then provide a link to view the site with only those three plugins active so I can take a look at the behaviour.
> In the status of my site it appears: WooCommerce Stripe Gateway by WooCommerce – 4.3.2 – Not tested with the active version of WooCommerce.
This is what I don’t understandAll of our plugin are tested against the latest version of WooCommerce, but that message may still remain if we didn’t have to update the plugin (the message is only removed when the plugin is updated). But rest assured they are compatible.
Hola @amandasjackson
This is the link: https://equipaciones-deportivas.com/producto/policia-perito-judicial/
I’ve tested with Storefront, WooCommerce and stripe only and the problem is the same how you can see.
Hi @aacris
Thanks for the link, however it seems that the site is still using the GeneratePress theme, so I am not able to view the issue with only Storefront theme, WooCommerce and Stripe.
Link to image: https://d.pr/i/6OAb63It sounds like a staging site would be a good idea. If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.
Once you have this set up, please only have WooCommerce, Stripe and Storefront theme active and provide a link for me to view the issue. Also, please provide a System Status Report for the staging site. You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.Hi@amandasjackson
Thanks for your asked.This is the System Status.
I’ve done what you saw me.
### WordPress Environment ### WordPress address (URL): https://equipaciones-deportivas.com Site address (URL): https://equipaciones-deportivas.com WC Version: 4.0.1 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.14 Action Scheduler Version: ? 3.1.4 WC Admin Version: ? 1.0.3 Log Directory Writable: ? WP Version: 5.4 WP Multisite: – WP Memory Limit: 320 MB WP Debug Mode: ? WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.16 PHP Post Max Size: 50 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.69.1 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 5.7.29 Max Upload Size: 40 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Tu servidor no tiene la clase SoapClient activada - puede que algunos plugins de pasarela de pago que utilizan SOAP no funcionen como se espera. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.0.1 WC Database Prefix: wpfly_ Tama?o total de la base de datos: 10.86MB Tama?o de los datos de la base de datos: 9.68MB Tama?o del índice de la base de datos: 1.18MB wpfly_woocommerce_sessions: Datos: 0.04MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_api_keys: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_order_itemmeta: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wpfly_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_woocommerce_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_forms: Datos: 0.07MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_form_entries: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_form_entry_meta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_form_entry_values: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_pro_messages: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_queue_failures: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_cf_queue_jobs: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_commentmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_comments: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_links: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_options: Datos: 1.21MB + índice: 0.02MB + Motor MyISAM dbwp002_postmeta: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM dbwp002_posts: Datos: 0.24MB + índice: 0.01MB + Motor MyISAM dbwp002_smush_dir_images: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_termmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_terms: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM dbwp002_term_relationships: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_term_taxonomy: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_usermeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM dbwp002_users: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM dbwp002_yoast_seo_links: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM dbwp002_yoast_seo_meta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_actionscheduler_actions: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM wpfly_actionscheduler_claims: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_actionscheduler_groups: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_actionscheduler_logs: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wpfly_cf_forms: Datos: 1.52MB + índice: 0.02MB + Motor InnoDB wpfly_cf_form_entries: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wpfly_cf_form_entry_meta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_cf_form_entry_values: Datos: 0.11MB + índice: 0.05MB + Motor InnoDB wpfly_cf_pro_messages: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpfly_cf_queue_failures: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpfly_cf_queue_jobs: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpfly_cf_tracking: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpfly_cf_tracking_meta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_comments: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB wpfly_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpfly_mailchimp_carts: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_mailchimp_jobs: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_options: Datos: 2.03MB + índice: 0.14MB + Motor InnoDB wpfly_postmeta: Datos: 2.45MB + índice: 0.22MB + Motor InnoDB wpfly_posts: Datos: 1.48MB + índice: 0.06MB + Motor InnoDB wpfly_smush_dir_images: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_term_relationships: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpfly_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB wpfly_tm_taskmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_tm_tasks: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_usermeta: Datos: 0.03MB + índice: 0.03MB + Motor InnoDB wpfly_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB wpfly_wc_admin_notes: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_admin_note_actions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_category_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_customer_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_wc_download_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_order_product_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_wc_order_stats: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_wc_product_meta_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_wc_tax_rate_classes: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpfly_wc_webhooks: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpfly_yoast_seo_links: Datos: 0.09MB + índice: 0.02MB + Motor InnoDB wpfly_yoast_seo_meta: Datos: 0.05MB + índice: 0.00MB + Motor InnoDB ### Post Type Counts ### attachment: 75 cmm4e_menu: 2 cmm4e_menu_theme: 2 customize_changeset: 52 elementor_library: 5 elementor-hf: 2 gp_elements: 1 nav_menu_item: 2 page: 28 post: 2 product: 11 product_variation: 27 revision: 105 shop_coupon: 1 shop_order: 6 wpd-config: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (2) ### WooCommerce Stripe Gateway: por WooCommerce – 4.3.2 – No probado con la versión activa de WooCommerce WooCommerce: por Automattic – 4.0.1 ### Inactive Plugins (15) ### Ajax Search Lite: por Ernest Marcinko – 4.8.1 Akismet Anti-Spam: por Automattic – 4.1.4 All-in-One WP Migration: por ServMask – 7.19 All-in-One WP Migration File Extension: por ServMask Inc. – 1.6 Asesor de Cookies RGPD: por Carlos Doral Pérez – 0.31 Autoptimize: por Frank Goossens (futtta) – 2.6.2 Caldera Forms: por Caldera Labs – 1.8.11 Elementor: por Elementor.com – 2.9.7 Elementor Pro: por Elementor.com – 2.9.2 GP Premium: por Tom Usborne – 1.9.1 Smush: por WPMU DEV – 3.6.1 WooCommerce Services: por Automattic – 1.22.5 WP-Optimize - Clean, Compress, Cache: por David Anderson Ruhani Rabin Team Updraft – 3.0.19 WP Mail SMTP: por WPForms – 1.9.0 Yoast SEO: por Team Yoast – 13.4.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base de la tienda: #2211 - / Carrito: #2212 - /carrito/ Finalizar compra: #2213 - /finalizar-compra/ Mi cuenta: #2214 - /mi-cuenta/ Términos y condiciones: #98 - /aviso-legal/ ### Theme ### Name: Storefront Version: 2.5.5 Author URL: https://woocommerce.com/ Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Completo: 48 Oldest: 2020-03-19 08:42:00 +0000 Newest: 2020-04-06 07:18:50 +0000
Hi @aacris!
If I understand correctly, on the product page, all variations are showing up instead of only the ones that really should be showing up. This issue, however, disappears when you disable Stripe.
Now, I know it seems like the issue is with Stripe, but that is very unlikely. It is probably with the variation pre-loading. There is a cut off.
As a first step forward to resolving the issue, I would like you to use the
woocommerce_ajax_variation_threshold
filter. You can add the following code to your site:add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' ); function wc_ninja_ajax_threshold() { return 100; }
You can use the https://www.ads-software.com/plugins/code-snippets/ plugin to add the code and you can read more about adding code to your site here:
https://rynaldo.com/how-to-add-custom-code-to-your-woocommerce-wordpress-site-the-right-way/
Please give that a go and let us know if it changes anything.
Cheers!
Hello
I’ve been testing it and it doesn’t work
My variations are broken as well.
All the variation availability counts are the same for all variances and that is not the case.
https://olympiacoschicago.com/product/tots-soccer-registration/
Choose the options and you will see they are showing up twice and they all have the same availability 34 which is not the case ..
- The topic ‘WooCommerce 4.0.1 broke variations’ is closed to new replies.