Woocommerce Variations
-
The product variations and attributes work fine, however whenever you click update in the pages admin, it wipes the variations. When you remake it the attributes are still there but it is as if they are hidden when the page is updated in anyway
The page I need help with: [log in to see the link]
-
Hi there,
Could you copy and paste your site’s system status report into this thread? You can get it from your dashboard by going to WooCommerce—> Status.
Next, can you give us step-by-step instructions on how to replicate this issue?
Looking forward to hearing from you!
Ross
### WordPress Environment ### WordPress address (URL): https://www.direct-brand.com Site address (URL): https://www.direct-brand.com WC Version: 4.5.2 REST API Version: ✔ 4.5.2 WC Blocks Version: ✔ 3.1.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.5.0 Log Directory Writable: ✔ WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.20 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1g-fips SUHOSIN Installed: – MySQL Version: 5.7.26-29-log Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.5.2 WC Database Prefix: wpdu_ Total Database Size: 229.67MB Database Data Size: 193.21MB Database Index Size: 36.46MB wpdu_woocommerce_sessions: Data: 31.13MB + Index: 1.18MB + Engine MyISAM wpdu_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdu_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdu_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_order_items: Data: 0.09MB + Index: 0.05MB + Engine MyISAM wpdu_woocommerce_order_itemmeta: Data: 0.73MB + Index: 0.39MB + Engine MyISAM wpdu_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_actionscheduler_actions: Data: 0.97MB + Index: 0.40MB + Engine MyISAM wpdu_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdu_actionscheduler_logs: Data: 0.75MB + Index: 0.50MB + Engine MyISAM wpdu_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpdu_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_comments: Data: 0.34MB + Index: 0.17MB + Engine MyISAM wpdu_ebay_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_auctions: Data: 14.52MB + Index: 0.14MB + Engine InnoDB wpdu_ebay_categories: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wpdu_ebay_jobs: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_log: Data: 56.02MB + Index: 0.39MB + Engine InnoDB wpdu_ebay_messages: Data: 0.33MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_orders: Data: 4.52MB + Index: 0.02MB + Engine InnoDB wpdu_ebay_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_profiles: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_shipping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_sites: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_stocks_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wpdu_ebay_store_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpdu_ebay_transactions: Data: 3.52MB + Index: 0.05MB + Engine InnoDB wpdu_et_divi_ab_testing_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_loginizer_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdu_mailchimp_carts: Data: 0.09MB + Index: 0.01MB + Engine MyISAM wpdu_mailchimp_jobs: Data: 0.67MB + Index: 0.03MB + Engine MyISAM wpdu_options: Data: 13.48MB + Index: 0.79MB + Engine MyISAM wpdu_pmxe_exports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wpdu_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wpdu_pmxe_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wpdu_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_pmxi_images: Data: 0.07MB + Index: 0.02MB + Engine MyISAM wpdu_pmxi_imports: Data: 0.72MB + Index: 0.00MB + Engine MyISAM wpdu_pmxi_posts: Data: 0.95MB + Index: 0.37MB + Engine MyISAM wpdu_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpdu_postmeta: Data: 47.99MB + Index: 22.96MB + Engine MyISAM wpdu_posts: Data: 7.04MB + Index: 1.21MB + Engine MyISAM wpdu_rm_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_termmeta: Data: 0.16MB + Index: 0.12MB + Engine MyISAM wpdu_terms: Data: 0.36MB + Index: 0.61MB + Engine MyISAM wpdu_term_relationships: Data: 0.56MB + Index: 1.20MB + Engine MyISAM wpdu_term_taxonomy: Data: 0.50MB + Index: 0.52MB + Engine MyISAM wpdu_tgdprc_consent_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_tgdprc_custom_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_tgdprc_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpdu_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpdu_usermeta: Data: 0.50MB + Index: 0.25MB + Engine MyISAM wpdu_users: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wpdu_user_registration_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpdu_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpdu_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_wc_category_lookup: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wpdu_wc_customer_lookup: Data: 0.06MB + Index: 0.05MB + Engine MyISAM wpdu_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_wc_order_product_lookup: Data: 0.07MB + Index: 0.06MB + Engine MyISAM wpdu_wc_order_stats: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wpdu_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_wc_product_meta_lookup: Data: 1.08MB + Index: 1.29MB + Engine MyISAM wpdu_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdu_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdu_wotv_woo_track_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpdu_wpmailsmtp_emails_log: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpdu_yoast_seo_links: Data: 0.05MB + Index: 0.02MB + Engine MyISAM wpdu_yoast_seo_meta: Data: 0.39MB + Index: 0.34MB + Engine MyISAM ### Post Type Counts ### acf-field: 5 acf-field-group: 2 attachment: 7400 blog_posts: 2 characters: 2 customize_changeset: 37 custom_css: 2 et_body_layout: 1 et_footer_layout: 4 et_header_layout: 4 et_pb_layout: 3 et_template: 8 et_theme_builder: 1 logocarousel: 10 logoshowcase: 10 nav_menu_item: 68 page: 20 post: 5 product: 4124 revision: 480 shop_coupon: 4 shop_order: 689 shop_order_refund: 63 sidebar: 1 sp_wps_shortcodes: 1 totalgdprcompliance: 6 user_registration: 1 wcps: 1 wcps_layout: 1 yith-wcbm-badge: 12 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (38) ### Advanced Custom Fields: by Elliot Condon – 5.9.1 AJAX Search for WooCommerce: by Damian Góra – 1.7.2 – Installed version not tested with active version of WooCommerce 4.5.2 Bulk Move: by Sudar – 1.3.0 Enhanced E-commerce for Woocommerce store: by Tatvic – 2.3.5 – Installed version not tested with active version of WooCommerce 4.5.2 Google XML Sitemaps: by Auctollo – 4.1.1 Heartbeat Control by WP Rocket: by WP Rocket – 2.0 Hummingbird: by WPMU DEV – 2.5.1 Loginizer: by Softaculous – 1.5.9 Logo Carousel Slider: by AazzTech – 2.1.2 Mailchimp for WooCommerce: by Mailchimp – 2.4.5 – Installed version not tested with active version of WooCommerce 4.5.2 QuadMenu - Divi Mega Menu: by QuadMenu – 1.2.0 QuadMenu: by Mega Menu – 2.0.4 Real Category Management: by devowl.io – 3.3.4 Recapture for WooCommerce: by Recapture – 1.0.6 – Installed version not tested with active version of WooCommerce 4.5.2 SG Optimizer: by SiteGround – 5.6.6 Quantity Increment Buttons for WooCommerce: by Niels Lange – 1.19 – Installed version not tested with active version of WooCommerce 4.5.2 String Locator: by Clorith – 2.4.1 Trustpilot-reviews: by Trustpilot – 2.5.808 – Installed version not tested with active version of WooCommerce 4.5.2 User Registration: by WPEverest – 1.8.7.1 Premmerce Permalink Manager for WooCommerce: by premmerce – 2.1.14 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Product Attachment Premium: by Multidots – 1.5.4 – Installed version not tested with active version of WooCommerce 4.5.2 Product Feed ELITE for WooCommerce: by AdTribes.io – 1.1.8 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.0.3 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Stripe Gateway: by WooCommerce – 4.5.2 – Installed version not tested with active version of WooCommerce 4.5.2 Import from eBay to WooCommerce: by WP Lab – 1.7.3 – Installed version not tested with active version of WooCommerce 4.5.2 Multi-Carrier Shipping Plugin for WooCommerce: by PluginHive – 1.8.1 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.15.3 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce Shipment Tracking: by WooCommerce – 1.6.23 – Installed version not tested with active version of WooCommerce 4.5.2 WooCommerce: by Automattic – 4.5.2 WooSidebars: by WooCommerce – 1.4.5 Yoast SEO Premium: by Team Yoast – 13.1 WP Crontrol: by John Blackbourn & crontributors – 1.8.5 WP-Lister Pro for eBay: by WP Lab – 2.6.3 – Installed version not tested with active version of WooCommerce 4.5.2 WP Mass Delete: by CyberSEO.NET – 3.0 WPB Product Slider for WooCommerce: by wpbean – 2.0.8.7 – Installed version not tested with active version of WooCommerce 4.5.2 WPS Hide Login: by WPServeur NicolasKulka tabrisrp – 1.5.6 Yoast SEO: WooCommerce: by Team Yoast – 12.6 – Installed version not tested with active version of WooCommerce 4.5.2 YITH WooCommerce Badge Management Premium: by YITH – 1.4.0 – Installed version not tested with active version of WooCommerce 4.5.2 ### Inactive Plugins (3) ### Asset CleanUp Pro: Page Speed Booster: by Gabriel Livan – 1.1.8.0 Cache External Scripts: by Diego Voors – 0.4 OMGF: by Daan van den Bergh – 3.8.2 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: object-cache.php ### 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 ### Shop base: #52 - /shop Cart: #53 - /cart Checkout: #54 - /checkout My account: #55 - /my-account Terms and conditions: #607 - /terms-and-conditions ### Theme ### Name: Divi Child Theme Version: 1.0.0 Author URL: https://divicake.com/ Child Theme: ✔ Parent Theme Name: Divi Parent Theme Version: 4.6.1 Parent Theme Author URL: http://www.elegantthemes.com WooCommerce Support: ✔ ### Templates ### Overrides: Divi-child/woocommerce/archive-product.php Divi-child/woocommerce/content-single-product.php Divi-child/woocommerce/single-product/product-image.php Divi-child/woocommerce/single-product/product-thumbnails.php Divi-child/woocommerce/single-product/tabs/additional-information.php Divi-child/woocommerce/single-product/tabs/description.php Divi-child/woocommerce/single-product.php ### Action Scheduler ### Canceled: 1 Oldest: 2020-08-24 07:31:21 -0400 Newest: 2020-08-24 07:31:21 -0400 Complete: 3,670 Oldest: 2020-09-01 06:31:05 -0400 Newest: 2020-09-23 01:02:07 -0400 Failed: 5 Oldest: – Newest: – Pending: 1 Oldest: 2020-09-23 08:02:05 -0400 Newest: 2020-09-23 08:02:05 -0400Here is the log you asked for and the way to replicate this issue is by going into any product and adding an attribute and then applying the attribute to the variant as normal, it works perfectly fine until you update the page, for example changing the content and then updating the page will wipe all of the attributes and variant information
Hi again,
Thanks for sending that system status report over to us. I wasn’t able to replicate this on my site, so let’s make sure that nothing is conflicting with WooCommerce here.
To test, first, you’ll want to change the theme on your site to Storefront, then test. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you. If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one to see where the issue is coming from. If you don’t want to test on your live site, then create a staging site using a plugin called WP Staging.
Let us know how this goes!
Ross
It was a plugin conflict, but there’s a new issue now. On my site when on mobile, the variant box is squashed on android and totally off screen on safari
Hi again,
Glad to see you found the conflict. As for the mobile view issue, does the issue persist when you switch the site’s theme to Storefront?
Ross
The issue is removed by storefront however there are other issues that are still peristing, such as on the checkout page the “You may be interested in” section and the related product section is very very misaligned along with a few other woocommerce things that are misaligned still. Since it can’t be a theme conflict does that mean it has to be a another plugin conflict?
-
This reply was modified 5 years, 8 months ago by
ltribble.
Hi again,
The issue is removed by storefront however there are other issues that are still peristing, such as on the checkout page the “You may be interested in” section and the related product section is very very misaligned along with a few other woocommerce things that are misaligned still. Since it can’t be a theme conflict does that mean it has to be a another plugin conflict?
That’s likely, to be honest. Does it show correctly when all other plugins are disabled?
I have just checked and it is still poorly aligned despite woocommerce being the only plugin and the theme being storefront
Could it be because the images are different sizes? Do they all have to be the exact same dimensions to line up correctly?
Hi @ltribble. It looks like you are now using a Divi child theme on your site. I am going to go ahead and mark this thread as resolved. If you have any new questions about WooCommerce, please start a new thread.
-
This reply was modified 5 years, 8 months ago by
The topic ‘Woocommerce Variations’ is closed to new replies.