variations expection
-
Hello Guys… PlEASE I need help.
if I click on the product thumbnail the variations do not change the main photo. If I refresh the page and click on the variations then the thumbnail click doesn’t work anymore.
i recorde a video with the problem:
and here is some problem pictures with debug chrome:
https://mimilon.com.br/wp-content/uploads/2022/03/1.png
https://mimilon.com.br/wp-content/uploads/2022/03/2.png
This problem only happens on mobile where touchscreen is active,
I already disabled all plugins and left only Woocommerce active and the same problem happened.
I already switched themes to Tweent and the same problem happened.The page I need help with: [log in to see the link]
-
Hi @mimilon!
Thank you for the detailed explanation.
I checked your site on my mobile phone using the DuckDuckGo and the Chrome browser, and it is working as expected.
Does this issue only appear when using the mobile view option of Chrome on your desktop computer? Because I also tried the mobile phone screen size dimension on the desktop computer using Firefox, and it worked correctly; the issue could then be related to Chrome.
Could you please confirm if this is the case?
Thanks!
Hello. Thanks.
Have you checked the console debugging? there is a lot of error there even in your firefox.
however, if you click on the thumbnail again after choosing a product option you will see the error, it will crash…. Or if you click on the product thumbnail and slide your finger, a bunch of errors appear in the debugger console…
Tested on Mobile, chrome, Microsoft Edge, instagram Browser etc…..Hello @mimilon,
I checked this product page on my mobile phone with Android and the product image is changing when you change the variation using the select box. I had to wait for the page to fully load though in fact when it is not fully loaded it seems to be misbehaving.
When an issue like this happens, you may want to check if it’s correctly working with a default theme like Storefront and disabling all other plugins except WooCommerce.
If you don’t see the same problem, that means your theme or another plugin is causing a slowdown on your site and initially, the variations select box won’t work as expected, until the page is fully loaded.
Reactivate the theme first and check again. Then, go on and reactivate your other plugins one by one, testing after each, until you find the one causing this behavior.
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Best regards.
@judagutor @rainfallnixfig Hello Guys…
I reinstalled from scratch a new wordpress and after installing I simply installed woocommerce, after that I added a product manually. I recorded a video showing the same problem that is happening. As you can see in the video, this is a chronic problem that happens on all web browsers.
Notice the errors that happen when I try to slide the screen with the mouse (my finger) over the product thumbnail. after the error I can no longer select the variations.
### WordPress Environment ### WordPress address (URL): https://mimilon.com Site address (URL): https://mimilon.com WC Version: 6.3.1 REST API Version: ? 6.3.1 WC Blocks Version: ? 6.9.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.2.1 Log Directory Writable: ? WP Version: 5.9.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: pt_BR External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.27 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 5.6.50-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? O seu servidor n?o possui a classe SoapClient ativada - alguns plugins de sistemas de pagamento que usam SOAP podem n?o funcionar como esperado. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wp_ Tamanho total do banco de dados: 3.79MB Tamanho dos dados do banco de dados: 2.36MB Tamanho do índice do banco de dado: 1.43MB wp_woocommerce_sessions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_api_keys: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_order_items: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_order_itemmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_tax_rates: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_woocommerce_tax_rate_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zones: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_woocommerce_payment_tokens: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_woocommerce_log: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_actions: Dados: 0.02MB + índex: 0.11MB + mecanismo InnoDB wp_actionscheduler_claims: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_groups: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_logs: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_commentmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_comments: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB wp_links: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_options: Dados: 1.45MB + índex: 0.03MB + mecanismo InnoDB wp_postmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_posts: Dados: 0.05MB + índex: 0.06MB + mecanismo InnoDB wp_termmeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_terms: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_term_relationships: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_term_taxonomy: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_usermeta: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_users: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_admin_notes: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_admin_note_actions: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_category_lookup: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_customer_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_download_log: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_coupon_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_order_product_lookup: Dados: 0.02MB + índex: 0.06MB + mecanismo InnoDB wp_wc_order_stats: Dados: 0.02MB + índex: 0.05MB + mecanismo InnoDB wp_wc_order_tax_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_product_attributes_lookup: Dados: 0.02MB + índex: 0.03MB + mecanismo InnoDB wp_wc_product_meta_lookup: Dados: 0.02MB + índex: 0.09MB + mecanismo InnoDB wp_wc_rate_limits: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_reserved_stock: Dados: 0.02MB + índex: 0.00MB + mecanismo InnoDB wp_wc_tax_rate_classes: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB wp_wc_webhooks: Dados: 0.02MB + índex: 0.02MB + mecanismo InnoDB ### Post Type Counts ### attachment: 5 page: 7 post: 2 product: 1 product_variation: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: por Automattic – 6.3.1 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left 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 da loja: #6 - /index.php/loja/ Carrinho: #7 - /index.php/carrinho/ Finaliza??o de compra: #8 - /index.php/finalizar-compra/ Minha conta: #9 - /index.php/minha-conta/ Termos e condi??es: ? Página n?o definida ### Theme ### Name: Twenty Twenty-Two Version: 1.1 Author URL: https://www.ads-software.com/ Child Theme: ? – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Concluído: 30 Oldest: 2022-03-14 21:44:00 -0300 Newest: 2022-03-14 21:47:25 -0300 Pendente: 3 Oldest: -0001-11-29 20:53:32 -0306 Newest: 2022-03-14 22:14:02 -0300 ### Status report information ### Generated at: 2022-03-14 22:14:22 -03:00
Hi @mimilon,
Thank you for sending over a video with more details.
If changing the browser/clearing the browser’s cache or using incognito mode doesn’t help, there may be a problem with LiteSpeed cache as I see some errors related to it in the console on your production site https://mimilon.com.br/.
Can you please get in touch with your hosting provider and ask them to disable any server-side caching?
Let us know how if that helps.
@rainfallnixfig
Hello.
As you can see in the video, the site I used is not mimilon.com.br
but a temporary mimilon.com site on that site I didn’t use any plugin, just woocommerce.
on this new site i bought a new server, to host mimilon.com
all server caches are clear,
it is a CLEAN installationHi @mimilon! ?? Thanks for sharing with us more details!
I noticed that you’re using on both sites, the Hello Elementor theme, so this issue may be related to your theme, and how they handle a mobile event.
To clarify it a bit more, the error you’re seeing doesn’t seem to be exactly an error, but a warning, however, it can mess up with a few things, especially if you’re integrating your site with different APIs.
What’s going on is that your site has an event listener that listens to touch input, and when it’s triggered, you can’t go ahead and just cancel it (unless you allow it).
I’m afraid that this event listener isn’t coming from WooCommerce, maybe from a plugin, theme, or from another API (like the one I can see your site is being injected with from Mercado Livre).
Fixing it is a bit out of scope for us, however, there was a discussion about it here:
You can use the
preventDefault()
function to cancel the event if it’s cancelable.If you’re comfortable with coding, you may be able to find it use that function, if not, I can also recommend the following places for more development-oriented questions:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- WooCommerce FB group: https://www.facebook.com/groups/advanced.woocommerce/
Let us know if you have questions, and we’ll be here to help! My very best,
Hi there,
We’ve not heard back from you in a while so I’ll go ahead and mark this thread as resolved. Hopefully, you were able to find a solution to this issue.
If you have further questions, please feel free to open a new topic.
- The topic ‘variations expection’ is closed to new replies.