Duplicate product
-
When I duplicate a variable product, correctly duplicate the attributes too what I made in the original product. But the duplicated product variable make “empty” variable below too. How can I disable this “error”? The previous version not made this. Duplicated the only variant, what I made. Thank you!
-
Sure. Here is the screenshot: https://snipboard.io/ms3HU8.jpg
-
This reply was modified 1 year, 10 months ago by
zsoca.
Hi @zsoca
Thanks for sharing the screenshot, I have duplicated the product on my test website, and it’s working fine without creating any extra empty attributes.
You can take a look at this screenshot:
https://screencast-o-matic.com/i/c0fbXiVzcls
Could you 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.
Sure, here it is. I tried the five outdated files change to a new ones from woocommerce, but I get 404 error.
These are the 5 outdated files:
basel/woocommerce/cart/cart.php
basel/woocommerce/global/form-login.php
basel/woocommerce/global/quantity-input.php
basel/woocommerce/myaccount/form-login.php
basel/woocommerce/product-searchform.php` ### WordPress Environment ### WordPress address (URL): https://www.polimerkft.hu Site address (URL): https://www.polimerkft.hu WC Version: 7.6.0 REST API Version: ? 7.6.0 WC Blocks Version: ? 9.8.4 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: hu_HU External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.31-1~deb10u1 PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.18-MariaDB-0+deb10u1 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.6.0 WC Database Prefix: wp_ Teljes adatbázis mérete: 237.46MB Adatbázis adatok mérete: 207.21MB Adatbázis index mérete: 30.25MB wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 2.02MB + Index: 0.31MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 148.02MB + Index: 8.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 2.02MB + Index: 2.09MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 2.02MB + Index: 2.03MB + Engine InnoDB wp_basel_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_basel_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bv_activities_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cn_social_icon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_comments: Data: 1.08MB + Index: 0.39MB + Engine MyISAM wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_jckwds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mgmlp_folders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ngg_pictures: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.45MB + Index: 0.16MB + Engine MyISAM wp_postmeta: Data: 17.38MB + Index: 10.65MB + Engine MyISAM wp_posts: Data: 3.80MB + Index: 0.79MB + Engine MyISAM wp_redirection_404: Data: 0.20MB + Index: 0.11MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_revslider_css: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.36MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_snp_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_snp_stats: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.04MB + Index: 0.08MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 0.53MB + Index: 0.35MB + Engine MyISAM wp_users: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.02MB + Index: 0.38MB + Engine InnoDB wp_wc_order_stats: Data: 0.17MB + Index: 0.16MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 1.52MB + Index: 2.72MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.28MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 1.02MB + Index: 0.08MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.42MB + Index: 0.16MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpsmtp_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 304 basel_sidebar: 2 br_policy_cond_page: 1 br_terms_cond_page: 1 cms_block: 5 customize_changeset: 2 GOTMLS_quarantine: 1 mgmlp_media_folder: 28 nav_menu_item: 36 ngg_gallery: 1 ngg_pictures: 12 page: 20 page-sections: 12 parallax-sections: 11 pewc_field: 4 pewc_group: 5 popup: 1 popup_theme: 9 popuppress: 1 portfolio: 3 post: 1 product: 320 product_variation: 703 recent_works: 6 revision: 1059 shop_coupon: 1 shop_order: 1360 snp_popups: 2 wc_conditional_fee: 1 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (34) ### WooCommerce Checkout & Account Field Editor: írta ThemeLocation – 1.2.8 Advanced Access Manager: írta Vasyl Martyniuk <[email protected]> – 6.9.9 Ninja Popups: írta ArsCode – 4.7.3 XTEMOS Post Types plugin: írta – 1.11 Bulk remove posts from category: írta MasterNs – 3.3 Code Snippets: írta Code Snippets Pro – 3.3.0 Contact Form 7: írta Takayuki Miyoshi – 5.7.5.1 Custom Upload Dir: írta Ulf Benjaminsson – 3.4.6 Disable Gutenberg: írta Jeff Starr – 2.9 Disable XML-RPC: írta Philip Erb – 1.0.1 Duplicate Page: írta mndpsingh287 – 4.5.1 Easy Social Icons: írta cybernetikz – 3.2.4 Brute-Force anti-malware biztonsági t?zfal: írta Eli Scheetz – 4.21.92 WPBakery Page Builder: írta Michael M - WPBakery.com – 6.10.0 Loco Translate: írta Tim Whitlock – 2.6.4 Login Designer: írta LoginDesigner – 1.5 Login Logout Register Menu: írta Vinod Dalvi – 2.0 Login No Captcha reCAPTCHA (Google): írta Robert Peake and Contributors – 1.7.1 Karbantartás: írta WebFactory Ltd – 4.07 Really Simple CAPTCHA: írta Takayuki Miyoshi – 2.1 Redirection: írta John Godley – 5.3.10 Slider Revolution: írta ThemePunch – 6.2.23 OTP SimplePay Gateway for WooCommerce: írta Cone Development – 2.5.6 SSL Insecure Content Fixer: írta WebAware – 2.7.2 Store Closing: írta Ozibal – 9.6.4 Terms and Conditions Popup for WooCommerce: írta BeRocket – 3.5.7.7 Easy Username Updater: írta Yogesh C. Pant – 1.0.5 WooCommerce Easy Duplicate Product: írta WPGem.com – 0.3.0.1 WooCommerce: írta Automattic – 7.6.0 Wordfence Assistant: írta Wordfence – 1.0.9 Wordfence Security: írta Wordfence – 7.9.2 WordPress importáló: írta wordpressdotorg – 0.8 ReCaptcha v2 for Contact Form 7: írta IQComputing – 1.4.3 WPS Hide Login: írta WPServeur NicolasKulka wpformation – 1.9.8 ### Inactive Plugins (3) ### Hide Categories Or Products On Shop Page: írta Kaushik Nakrani – 1.0.3 PublishPress Revisions: írta PublishPress – 3.1.13 WP Mail SMTP: írta WPForms – 3.7.0 ### Settings ### API Enabled: – Force SSL: – Currency: HUF (Ft) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 0 Taxonomies: Product Types: bundle (bundle) 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Webshop f?oldal: #386 - /uzlet/ Kosár: #387 - /kosar/ Pénztár: #388 - /penztar/ Fiókom: #389 - /fiokom/ általános Szerz?dési Feltételek: #2095 - /aszf/ ### Theme ### Name: Basel Version: 5.1.0 Author URL: https://themeforest.net/user/xtemos Child Theme: ? – Amennyiben a WooCommerce-t egy olyan szül?sablonban módosítunk amelyet nem saját magunk készítettünk akkor javasoljuk a származtatott sablon használatát. Hogyan készítsünk származtatott sablonokat WooCommerce Support: ? ### Templates ### Overrides: basel/woocommerce/archive-product.php basel/woocommerce/cart/cart.php verzió 3.8.0 elavult. Az új verzió: 7.4.0 basel/woocommerce/cart/cross-sells.php basel/woocommerce/cart/mini-cart.php basel/woocommerce/checkout/form-checkout.php basel/woocommerce/checkout/thankyou.php basel/woocommerce/content-product.php basel/woocommerce/content-single-product.php basel/woocommerce/content-widget-product.php basel/woocommerce/global/breadcrumb.php basel/woocommerce/global/form-login.php verzió 3.6.0 elavult. Az új verzió: 7.0.1 basel/woocommerce/global/quantity-input.php verzió 4.0.0 elavult. Az új verzió: 7.4.0 basel/woocommerce/loop/loop-end.php basel/woocommerce/loop/loop-start.php basel/woocommerce/loop/no-products-found.php basel/woocommerce/loop/orderby.php basel/woocommerce/loop/pagination.php basel/woocommerce/loop/sale-flash.php basel/woocommerce/myaccount/form-login.php verzió 4.1.0 elavult. Az új verzió: 7.0.1 basel/woocommerce/product-searchform.php verzió 3.3.0 elavult. Az új verzió: 7.0.1 basel/woocommerce/single-product/add-to-cart/variable.php basel/woocommerce/single-product/meta.php basel/woocommerce/single-product/product-image.php basel/woocommerce/single-product/product-thumbnails.php basel/woocommerce/single-product/related.php basel/woocommerce/single-product/sale-flash.php basel/woocommerce/single-product/tabs/tabs.php basel/woocommerce/single-product/title.php basel/woocommerce/single-product/up-sells.php basel/woocommerce/single-product.php basel/woocommerce/content-product_cat.php Outdated Templates: ? Hogyan kell frissíteni ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: block-editor-feature-enabled minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-04-18 07:33:27 +02:00 Options: ? Notes: 120 Onboarding: completed ### Action Scheduler ### Megszakítva: 1 Oldest: 2023-03-22 11:19:09 +0100 Newest: 2023-03-22 11:19:09 +0100 Teljesítve: 3?970 Oldest: 2023-03-18 15:50:17 +0100 Newest: 2023-04-18 05:55:23 +0200 Sikertelen: 7 Oldest: 2023-02-15 11:24:33 +0100 Newest: 2023-04-17 14:00:24 +0200 Függ?ben: 2 Oldest: 2023-04-18 22:45:42 +0200 Newest: 2023-04-24 14:00:24 +0200 ### Status report information ### Generated at: 2023-04-18 07:04:20 +02:00 `
Hi @zsoca
Thanks for sharing the requested information above. These are what I found:
PHP Version: 7.3.31-1~deb10u1
Please upgrade your PHP version to PHP 7.4 or greater as this is the minimum server recommendation to run WooCommerce smoothly.
Outdated Templates: ?
Please update outdated templates on your site by following our guide here: Fixing Outdated WooCommerce Templates
Once all of these are already updated, please try again to duplicate a product on your site and see if this resolves the issue.
Otherwise, for us to investigate this further, please try to switch to the default Storefront theme and only WooCommerce plugin is enabled, and duplicate a product and see if this works?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
If this did not resolve the issue, please provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Let us know how it goes!
-
This reply was modified 1 year, 10 months ago by
- The topic ‘Duplicate product’ is closed to new replies.