Variable product is added as simple
-
Hello!
There is a multisite with two versions:
– English https://spicyherbs.online/
– German https://spicyherbs.online/de/All products on the sites are variable. They differ in packaging (weight) and, accordingly, in price.
In the German version, variable items are added to the cart as simple items. Without weight indication (more precisely, with zero instead of weight) and with a minimum price.Accordingly, the product variation is not included in the order, and the shipping cost is calculated incorrectly.
Everything works fine on the main (English) version of the site with the same theme and the same plugins. Variations are displayed, the weight of the cart is reported and shipping is calculated.
Please, help me understand what the problem is.
The page I need help with: [log in to see the link]
-
Are you using a plugin to create the multisite in different languages? If so, I suspect the issue happening is due to the plugin, rather than WooCommerce. I’d recommend reaching out to the developer of the plugin being used and let them know what is happening on the German site with the variations being added to the cart as simple products.
Hello, Amanda!
Thank you for the reply.
No plugin was used for creating a multisite. Only by means of WordPress
- This reply was modified 4 years, 2 months ago by alexdanilenko.
Could you please share a copy of the German 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.### WordPress Environment ### WordPress address (URL): https://spicyherbs.online/de Site address (URL): https://spicyherbs.online/de WC Version: 4.5.1 REST API Version: ? 4.5.1 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: 256 MB WP Debug Mode: – WP Cron: ? Language: de_DE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.8 PHP Post Max Size: 20 MB PHP Time Limit: 30 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.24-MariaDB-log Max Upload Size: 1 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.5.1 WC Database Prefix: wp_88_2_ Total Database Size: 1.48MB Database Data Size: 1.08MB Database Index Size: 0.40MB wp_88_2_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_actionscheduler_actions: Data: 0.00MB + Index: 0.02MB + Engine MyISAM wp_88_2_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_options: Data: 0.30MB + Index: 0.04MB + Engine MyISAM wp_88_2_postmeta: Data: 0.36MB + Index: 0.10MB + Engine MyISAM wp_88_2_posts: Data: 0.22MB + Index: 0.04MB + Engine MyISAM wp_88_2_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_yoast_indexable: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wp_88_2_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_2_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_2_yoast_seo_links: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_88_blogmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_blogs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_registration_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_signups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_88_site: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_88_sitemeta: Data: 0.07MB + Index: 0.01MB + Engine MyISAM wp_88_usermeta: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_88_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### attachment: 66 custom_css: 2 customize_changeset: 5 nav_menu_item: 5 oembed_cache: 2 page: 9 post: 13 product: 21 product_variation: 70 revision: 39 shop_order: 4 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (9) ### WordPress Importer: by wordpressdotorg – 0.7 Classic Editor: by WordPress Contributors – 1.6 Contact Form 7: by Takayuki Miyoshi – 5.2.2 Smush: by WPMU DEV – 3.7.0 Smush Nonstop: by obiPlabon – 2.0.0 WooCommerce: by Automattic – 4.5.1 WooCommerce PayPal Here Gateway: by WooCommerce – 1.1.2 – Installed version not tested with active version of WooCommerce 4.5.1 Yoast SEO: by Team Yoast – 14.9 – Installed version not tested with active version of WooCommerce 4.5.1 Cookie Notice: by dFactory – 1.3.2 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space 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: #363 - /shop/ Cart: #364 - /cart/ Checkout: #365 - /checkout/ My account: #366 - /mein-konto/ Terms and conditions: #362 - /privacy-policy/ ### Theme ### Name: Storefront Child Version: 0.1.0 Author URL: https://AlexDanilenko.com/ Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 2.7.0 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 6 Oldest: 2020-09-11 05:34:45 +0000 Newest: 2020-09-11 05:55:31 +0000
It was working, when I’m loged in…
I tried english version in Incognito mode and beeing loged off, and it makes the same mistake as the german one. It does not see that product is variable
I am totally confused (
- This reply was modified 4 years, 2 months ago by alexdanilenko.
Hi @alexdanilenko. I took a look at your site and noticed that the issue still exists. What happens if you change the theme to Storefront instead of Storefront Child? You can use the Health Check plugin to do this if you’d like to be able to troubleshoot without affecting your live site.
For a full guide on conflicting testing, including a link to the Health Check plugin, please see https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Thanks a lot!
I followed the procedure for conflicts finding and have found a php snippet that made this mess…
It was moving all scripts from <head> to footer for SEO purposes. And, apparently, it violated the order of connecting scripts and jQuery.
I removed it and now everything is working properly.
- The topic ‘Variable product is added as simple’ is closed to new replies.