Product getting deleted from checkout page
-
My website like is https://www.petrobrains.com
Customers are able to add products in cart but when trying to checkout, products getting deleted on checkout page. Please help.
The page I need help with: [log in to see the link]
-
Hi @denvau,
Thank you for reaching out!
I understand how concerning it must be for your customers to face this issue. I tried replicating the problem on my test site, but everything seems to work fine on my end. To help investigate further, could you please share the following information:
1. System Status Report: You can find this by navigating to WooCommerce > Status > Get system report > Copy for support.
2. Fatal Error Logs: If there are any, you can find them under WooCommerce > Status > Logs. Copy and paste the relevant logs here or use https://gist.github.com/ and share the link.
Once we have these details, we’ll be able to look into this further.
Looking forward to your response!
WordPress Environment<br><br>WordPress address (URL): https://petrobrains.com<br>Site address (URL): https://petrobrains.com<br>WC Version: 9.5.2<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.2<br>Log Directory Writable: ?<br>WP Version: 6.7.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>PHP Version: 8.3.14<br>PHP Post Max Size: 64 MB<br>PHP Time Limit: 150<br>PHP Max Input Vars: 5000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k<br><br>SUHOSIN Installed: –<br>MySQL Version: 8.0.16<br>Max Upload Size: 32 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ? wp_remote_post() failed. Contact your hosting provider.<br>Remote Get: ? Database<br><br>WC Database Version: 9.5.2<br>WC Database Prefix: wp_<br>Total Database Size: 13.39MB<br>Database Data Size: 9.75MB<br>Database Index Size: 3.64MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_eb_form_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.19MB + Index: 0.11MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_iepa_mm_custom_theme: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_iepa_mm_menugrouplists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 3.52MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB<br>wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 3.14MB + Index: 0.08MB + Engine InnoDB<br>wp_postmeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB<br>wp_posts: Data: 0.33MB + Index: 0.06MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_cart_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_carts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_coupon_applications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_coupon_usages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_coupons: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_tutor_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_earnings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_tutor_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_ordermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tutor_orders: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_tutor_quiz_attempt_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_tutor_quiz_attempts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_tutor_quiz_question_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_tutor_quiz_questions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_tutor_withdraws: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpf_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_order_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_order_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_submission_activities: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_subscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>attachment: 22<br>courses: 4<br>customize_changeset: 94<br>lesson: 2<br>page: 14<br>post: 14<br>product: 10<br>revision: 29<br>shop_coupon: 1<br>shop_order_placehold: 8<br>topics: 2<br>tutor_enrolled: 14<br>tutor_quiz: 2<br>wp_global_styles: 1<br>wp_navigation: 1<br>wp_template: 1 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (4)<br><br>Tutor LMS: by Themeum – 3.1.0<br>WooCommerce PayPal Payments: by WooCommerce – 2.9.6<br>WooCommerce: by Automattic – 9.5.2<br>WPVulnerability: by Javier Casares – 4.0.3 Inactive Plugins (6)<br><br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.5<br>Google for WooCommerce: by WooCommerce – 2.9.4<br>Jetpack: by Automattic – 14.2.1<br>MailPoet: by MailPoet – 5.6.0<br>Pinterest for WooCommerce: by WooCommerce – 1.4.14<br>TikTok: by TikTok – 1.3.0 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 598 KB WC Pages<br><br>Shop base: #30 - /cart-2<br>Cart: #30 - /cart-2 - Contains the woocommerce/cart block<br>Checkout: #31 - /checkout-2 - Contains the woocommerce/checkout block<br>My account: #32 - /my-account<br>Terms and conditions: #3 - /privacy-policy Theme<br><br>Name: Electronics Retailer<br>Version: 0.2.1<br>Author URL: https://www.vwthemes.com/<br>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<br>Theme type: Classic theme<br>WooCommerce Support: ? Templates<br><br>Overrides: electronics-retailer/woocommerce/archive-product.php<br>electronics-retailer/woocommerce/checkout/form-checkout.php<br>electronics-retailer/woocommerce/global/wrapper-end.php<br>electronics-retailer/woocommerce/global/wrapper-start.php<br>electronics-retailer/woocommerce/single-product.php WooCommerce PayPal Payments<br><br>Onboarded: –<br>Shop country code: IN<br>WooCommerce currency supported: ?<br>Advanced Card Processing available in country: –<br>Pay Later messaging available in country: –<br>Webhook status: –<br>PayPal Vault enabled: –<br>ACDC Vault enabled: –<br>Logging enabled: –<br>Reference Transactions: –<br>Used PayPal Checkout plugin: –<br>Subscriptions Mode: Disabled<br>PayPal Shipping Callback: –<br>Apple Pay: –<br>Google Pay: –<br>Fastlane: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br>use-wp-horizon<br>add-to-cart-with-options-stepper-layout<br><br>Daily Cron: ? Next scheduled: 2025-01-12 15:33:50 +00:00<br>Options: ?<br>Notes: 63<br>Onboarding: - Action Scheduler<br><br>Complete: 99<br>Oldest: 2025-01-08 15:35:00 +0000<br>Newest: 2025-01-12 08:03:05 +0000<br><br>Failed: 6<br>Oldest: 2025-01-09 14:34:07 +0000<br>Newest: 2025-01-11 14:39:32 +0000<br><br>Pending: 1<br>Oldest: 2025-01-12 15:36:06 +0000<br>Newest: 2025-01-12 15:36:06 +0000 Status report information<br><br>Generated at: 2025-01-12 08:56:41 +00:00<br>
Hello @denvau,
Thank you for providing your system status report and log errors. After reviewing both, it seems the issue is related to a combination of low PHP memory and a plugin conflict.
First, create a staging site and deactivate the following plugins: WPVulnerability, MailPoet, and TikTok. Check if the issue persists. If it does, switch your theme to Storefront and test again. If the problem continues, you’ll need to increase your PHP memory limit.
To do this, edit your
wp-config.php
file and add the following line at the end:define( 'WP_MEMORY_LIMIT', '256M' );
Alternatively, you can update the memory limit through the
.htaccess
file by adding this code before the line that says#End WordPress
:php_value memory_limit 256M
Please note that you only need to use one of these methods.
If the issue persists after these changes, it may be necessary to upgrade your hosting plan or contact your hosting provider to help increase the PHP memory limit.
I look forward to hearing your results after completing these steps.
Hello, PHP memory size is already set to 512 M. Uninstalled mentioned plugins but no luck. Changed theme to storefront no luck.
Hi there!
Thank you for following the steps mentioned by my colleague. I’ve tried to replicate the issue on your site and found that the product remains in the cart but is not appearing on the checkout page. Additionally, I noticed a warning related to “showSpinner prop is deprecated and will be removed from WooCommerce in version 8.9.0.” This indicates that there is code on your site using an outdated WooCommerce feature.
To assist you further, could you please confirm if you are using any custom code on your site? For testing purposes, could you please create a staging site, deactivate all plugins except WooCommerce, and remove any custom code if applicable? After that, please activate the default WordPress theme and share the staging site link so we can further investigate.
Also, could you please share the site error logs, if there are any, related to the cart or checkout page? You can find the logs under WooCommerce > Status > Logs.
Thank you for your cooperation and understanding!
Hi!
I’ll mark this as resolved since we haven’t heard back. If you ever need further assistance, don’t hesitate to reach out—we’re always here!
- You must be logged in to reply to this topic.