Product variations (add to cart) not working
-
Hi there,
I am having an issue with attributes & think there may be a bug.
On the above link, I am having an issue when I try and add anything with the ‘Fairy’ wings attribute.
All attributes are set up and they work for the ‘Angel’ option & add to the cart & show the options selected, yet when ‘Fairy’ is selected, all options are added except that option.
I have moved my site to a staging environment, deactivated all plugins except Woo & installed Storefront & still, it appears to be happening, which would lead me to believe there is something that’s going wrong as the other term with that attribute works perfectly & othe attributes also work.
I am working to a project deadline so do need a fix for this ASAP
The page I need help with: [log in to see the link]
-
Hello,
If you place a test order, do all the variations including Fairy get saved in the backend?
By any chance, have you applied a custom code to show variations in separate rows? I have a test site with the Storefront theme, and variations are displayed as part of the product name:
Link to image: https://snipboard.io/pdhQbz.jpg
If you’d like us to take a closer look, please share a copy of your site’s System Status. 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.
Hello,
I have placed a test order & it does not show on the order on the backend, apologies I meant to put that in my first message.
I haven’t done any customising of variations & being that it wasn’t on the order, would indicate somethings gone array.
This site is still in development and is not in a position to start afresh and would rather not have to have the products separated based on one single attribute not working when all others are.
### WordPress Environment ### WordPress address (URL): https://staging.thehappybrood.co.uk Site address (URL): https://staging.thehappybrood.co.uk WC Version: 6.1.1 REST API Version: ? 6.1.1 WC Blocks Version: ? 6.5.2 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.0.3 Log Directory Writable: ? WP Version: 5.9 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.27 PHP Post Max Size: 512 MB PHP Time Limit: 300 PHP Max Input Vars: 2500 cURL Version: 7.79.1 OpenSSL/1.1.1g-fips SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.22-MariaDB-log Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.1 WC Database Prefix: 9e_ Total Database Size: 21.88MB Database Data Size: 18.69MB Database Index Size: 3.19MB 9e_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB 9e_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB 9e_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB 9e_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB 9e_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_actionscheduler_actions: Data: 0.20MB + Index: 0.19MB + Engine InnoDB 9e_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_actionscheduler_logs: Data: 0.16MB + Index: 0.14MB + Engine InnoDB 9e_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB 9e_csp3_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB 9e_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB 9e_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_frm_fields: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_frm_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_frm_items: Data: 0.02MB + Index: 0.08MB + Engine InnoDB 9e_frm_item_metas: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_iconic_was_fees: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB 9e_itsec_logs: Data: 0.08MB + Index: 0.11MB + Engine InnoDB 9e_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB 9e_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_options: Data: 12.42MB + Index: 0.19MB + Engine InnoDB 9e_postmeta: Data: 2.52MB + Index: 0.19MB + Engine InnoDB 9e_posts: Data: 1.50MB + Index: 0.06MB + Engine InnoDB 9e_sp_domain_mapping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB 9e_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 9e_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_viwec_clicked: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wcfm_enquiries_response: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wcfm_fbc_chat_rows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB 9e_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB 9e_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 9e_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB 9e_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB 9e_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wpforms_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB 9e_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 9e_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wt_iew_action_history: Data: 0.05MB + Index: 0.00MB + Engine InnoDB 9e_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_zoo_cw_global_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 9e_zoo_cw_product_attribute_swatch_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 87 custom_css: 2 ec_woo_ddb_template: 12 elementor_library: 9 frm_form_actions: 4 frm_styles: 1 itsec-dash-card: 6 itsec-dashboard: 1 mailpoet_page: 1 nav_menu_item: 15 o-discount: 1 o-list: 1 page: 18 pewc_field: 1 pewc_group: 2 post: 2 product: 2 product_variation: 2 seedprod: 1 shop_coupon: 1 shop_order: 5 shop_order_refund: 1 super_form: 6 ur_email_templates: 2 user_registration: 1 viwec_template: 14 viwec_template_block: 2 was: 1 wcpa_pt_forms: 1 wp_block: 2 wp_global_styles: 1 wpforms: 3 yaymail_template: 15 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: by Automattic – 6.1.1 ### Inactive Plugins (29) ### Astra Pro: by Brainstorm Force – 3.6.5 Astra Widgets: by Brainstorm Force – 1.2.9 Clear Cart & Sessions for WooCommerce: by fmeaddons – 1.0.0 Duplicate Page: by mndpsingh287 – 4.4.8 Easy Username Updater: by Yogesh C. Pant – 1.0.4 Elementor: by Elementor.com – 3.5.4 Elementor Pro: by Elementor.com – 3.6.0 Font Awesome: by Font Awesome – 4.1.1 iThemes Security: by iThemes – 8.0.2 Jetpack: by Automattic – 10.6 Make Column Clickable Elementor: by Fernando Acosta – 1.3.1 Premium Starter Templates: by Brainstorm Force – 3.1.2 Schema Pro: by Brainstorm Force – 2.7.2 Ultimate Addons for Elementor: by Brainstorm Force – 1.36.3 Ultimate Addons for Gutenberg: by Brainstorm Force – 1.25.3 User Registration ( Pro ): by WPEverest – 3.0.2 User Registration Style Customizer: by WPEverest – 1.0.4 WooCommerce Advanced Shipping: by Jeroen Sormani – 1.0.14 WooCommerce Checkout Field Editor: by WooCommerce – 1.7.0 WooCommerce Conditional Shipping and Payments: by WooCommerce – 1.12.0 WooCommerce Payments: by Automattic – 3.6.1 WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.11.4 WooCommerce Product Variations Swatches Premium: by VillaTheme – 1.0.5 WooCommerce Smart Coupons: by StoreApps – 4.35.0 WooCommerce TM Extra Product Options: by themeComplete – 5.1 WP-Optimize Premium - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.2 WPForms Lite: by WPForms – 1.7.2 YayMail Pro - WooCommerce Email Customizer: by YayCommerce – 2.7.8 YITH WooCommerce Customize My Account Page: by YITH – 3.6.0 ### Must Use Plugins (1) ### StackCache: by Stack CP – ### Settings ### API Enabled: – Force SSL: ? Currency: GBP (£) 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 ### Shop base: #217 - /shop/ Basket: #218 - /cart/ Checkout: #219 - /checkout/ My account: #220 - /my-account/ Terms and conditions: #4822 - /terms-of-service/ ### Theme ### Name: Storefront Version: 3.9.1 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Canceled: 3 Oldest: 2022-01-18 13:44:43 +0000 Newest: 2022-01-20 19:08:44 +0000 Complete: 601 Oldest: 2022-01-03 09:52:57 +0000 Newest: 2022-02-02 16:08:30 +0000 Failed: 1 Oldest: 2022-01-15 14:21:52 +0000 Newest: 2022-01-15 14:21:52 +0000 ### Status report information ### Generated at: 2022-02-02 16:09:13 +00:00
Hello,
I’ve just renamed the product to something different & taken out Angel or Fairy for the product title & now Fairy seems to be working.
Is there a reason as to why this would now work if it worked for Angel & not Fairy?
Hello,
Thanks for sending the system status report.
I’ve just renamed the product to something different & taken out Angel or Fairy for the product title & now Fairy seems to be working.
I was checking and could not reproduce the issue, and the system status report is not reflecting major issues. If that happens again please let us know, and provide as many details as possible, we will be here to assist.
Thanks.
Hello,
You won’t be able to reproduce it as I mentioned and you quoted, I changed the product name on the staging site provided so this is now working.
My question still remains as to why this occurred in the first place as there were no plugins, no themes, it was just Woo & WP, everything worked for all other attributes & the other term within the mentioned attribute worked, so there was clearly something happening here, which was not user-driven.
Alas, I resolved the issue. I just want to know why changing the product name has resolved this?
Also there is a further issue with this support forum, I have “Notify me of follow-up replies via email” yet haven’t had any emails come through for any of these replies.
Many thanks
Since we’re unable to reproduce the issue, it doesn’t seem like a bug but probably the setup.
Also, we’re unable to perform a root cause analysis for this scenario since the issue is setup-based.
However, feel free to notify us if the issue springs up again so we can dive deeper, otherwise, you can make a staging site for testing along.
I’ll be marking this as resolved for now. If you have further concerns, feel free to open a new thread
- The topic ‘Product variations (add to cart) not working’ is closed to new replies.