Cart not working
-
I have WordPress site for our business using Twenty Twenty-Five and I have added a WooCommerce store. Everything is up to date. All was well and we were ready to launch our site when the shopping cart developed problems: if you click ‘Add to Cart’ on a product, the side cart pops up but is empty and the cart icon does not show a number. However if you go to a product page and add an item to cart on the product page and then go to ‘View Basket’ the previously added product is there. If you then press back to continue shopping, the cart icon has no numbers and the side cart is showing empty again.
I have had a WordPress expert helping me with the site, and he thought this was a caching issue. Adjusting the caching did seem to fix the problem, but it soon reoccurred and now he cannot find a fix.
System Status Report
### WordPress Environment ### WordPress address (URL): [Redacted] Site address (URL): [Redacted] WC Version: 9.8.1 Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site. Action Scheduler Version: ✔ 3.9.2 Log Directory Writable: ✔ WP Version: 6.8 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: ✔ ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.2.27 PHP Post Max Size: 2 GB PHP Time Limit: 360 PHP Max Input Vars: 5000 cURL Version: 7.76.1 OpenSSL/3.2.2 SUHOSIN Installed: – MySQL Version: 10.11.10-MariaDB-log Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### [REDACTED] ### Post Type Counts ### adt_product_feed: 1 attachment: 445 custom_css: 1 customize_changeset: 17 fs_cm_ruleset: 4 fs_package: 2 oembed_cache: 1 order_status: 1 page: 26 post: 6 product: 68 product_variation: 11 product-feed: 1 revision: 552 shop_coupon: 3 shop_order_placehold: 16 sp_wcslider: 5 wfwp_wc_order_status: 1 woo_product_tab: 18 wp_font_face: 36 wp_font_family: 12 wp_global_styles: 1 wp_navigation: 2 wp_template: 11 wp_template_part: 3 wpa-stats: 101 wpforms: 1 xlwcty_thankyou: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (37) ### AddToAny Share Buttons: by AddToAny – 1.8.13 Advanced Excerpt: by WPKube – 4.4.1 Bookvault: by – 4.0.0 CookieYes | GDPR Cookie Consent: by CookieYes – 3.2.9 Potent Donations for WooCommerce: by WP Zone – 1.1.14 EAS EU compliance: by EAS project – 1.6.2 Conditional Shipping Methods: by Octolize – 1.4.6 Shipping Packages: by Octolize – 1.7.1 Flexible Shipping PRO: by Octolize – 3.0.3 Flexible Shipping: by Octolize – 6.0.0 Geolocation IP Detection: by Yellow Tree (Benjamin Pick) – 5.5.0 Site Kit by Google: by Google – 1.150.0 WP Armour - Honeypot Anti Spam: by Dnesscarkey – 2.2.09 Hostinger Tools: by Hostinger – 3.0.34 LiteSpeed Cache: by LiteSpeed Technologies – 7.0.1 Local Links: by Robin Phillips (Author Help) – 4.8 Fonts Plugin | Use Google Fonts, Adobe Fonts or Upload Fonts: by Fonts Plugin – 3.9.3 Omnisend for WooCommerce: by Omnisend – 1.16.1 Order Status Control for WooCommerce: by Bright Plugins – 1.0.4 Pinterest for WooCommerce: by WooCommerce – 1.4.17 TikTok: by TikTok – 1.3.1 TinyPNG - JPEG, PNG & WebP image compression: by TinyPNG – 3.5.1 Thank You Page for WooCommerce: by Nitin Prakash – 4.2.2 WooCategory Pro: by ShapedPlugin LLC – 1.6.0 Country Based Restrictions for WooCommerce: by zorem – 3.7.1 Product Feed PRO for WooCommerce: by AdTribes.io – 13.4.3 WooCommerce.com Update Manager: by Automattic – 1.0.3 WooPayments: by WooCommerce – 9.2.0 WooCommerce PayPal Payments: by PayPal – 3.0.3 WooCommerce Product Tabs: by Barn2 Plugins – 2.1.3 WooCommerce: by Automattic – 9.8.1 Wordfence Security: by Wordfence – 8.0.5 Yoast SEO: by Team Yoast – 24.9 WP Accessibility: by Joe Dolson – 2.1.17 WP Consent API: by RogierLankhorst – 1.0.8 WP Mail SMTP: by WP Mail SMTP – 4.4.0 WPForms Lite: by WPForms – 1.9.4.2 ### Inactive Plugins (3) ### Easy Product Bundles for WooCommerce: by Product Bundles Team – 6.3.1 Sale Badges and Product Labels for WooCommerce: by Asana Plugins – 5.5.0 WP2Social Auto Publish: by xyzscripts.com – 2.4.5 ### Dropin Plugins () ### object-cache.php: LiteSpeed Cache - Object Cache (Drop-in) ### Must Use Plugins (2) ### Hostinger Preview Domain: by Hostinger – 1.3.0 Hostinger Smart Auto Updates: by Hostinger – 1.0.7 ### Settings ### Legacy API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bopobb (bopobb) donation (donation) easy_product_bundle (easy_product_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: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### Logging ### Enabled: – Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 3 MB ### WC Pages ### Shop base: #362 - /shop/ Basket: #10 - /cart/ - Contains the woocommerce/classic-shortcode block Checkout: #11 - /checkout/ - Contains the woocommerce/classic-shortcode block My account: #12 - /my-account/ - Contains the [woocommerce_my_account] shortcode Terms and conditions: #136 - /terms-and-conditions/ ### Theme ### Name: Twenty Twenty-Five Version: 1.2 Author URL: https://en-gb.ww.wp.xz.cn 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 Theme type: Block theme WooCommerce Support: ❌ Not declared ### Templates ### Overrides: /home/u789742187/domains/castleseftonpress.co.uk/public_html/wp-content/plugins/woocommerce/templates/block-notices/error.php /home/u789742187/domains/castleseftonpress.co.uk/public_html/wp-content/plugins/woocommerce/templates/block-notices/notice.php /home/u789742187/domains/castleseftonpress.co.uk/public_html/wp-content/plugins/woocommerce/templates/block-notices/success.php ### WooPayments ### Version: 9.2.0 Connected to WPCOM: Yes WPCOM Blog ID: 241825507 Account ID: acct_1QtuXkFju2DAkTof Payment Gateway: Enabled Test Mode: Disabled Enabled APMs: card WooPay: Not eligible Apple Pay / Google Pay: Disabled Fraud Protection Level: advanced Enabled Fraud Filters: AVS Verification,International IP Address,IP Address Mismatch,Order Items Threshold,Purchase Price Threshold Multi-currency: Enabled Auth and Capture: Disabled Documents: Enabled Logging: Disabled ### WooCommerce PayPal Payments ### Onboarded: ✔ New UI active: – Shop country code: GB WooCommerce currency supported: ✔ Advanced Card Processing available in country: ✔ Pay Later messaging available in country: ✔ Webhook status: ✔ PayPal Vault enabled: – ACDC Vault enabled: – Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – Subscriptions Mode: Disabled PayPal Shipping Callback: – Apple Pay: – Google Pay: – Fastlane: – ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner onboarding onboarding-tasks pattern-toolkit-full-composability product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions printful shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page launch-your-store add-to-cart-with-options-stepper-layout Disabled Features: product-data-views experimental-blocks coming-soon-newsletter-template minified-js product-pre-publish-modal settings async-product-editor-category-field product-editor-template-system use-wp-horizon blockified-add-to-cart Daily Cron: ✔ Next scheduled: 2025-04-17 14:19:14 +01:00 Options: ✔ Notes: 75 Onboarding: completed ### Action Scheduler ### Canceled: 2 Oldest: 2025-04-10 07:28:41 +0100 Newest: 2025-04-11 21:25:21 +0100 Complete: 4,711 Oldest: 2025-03-16 22:56:01 +0000 Newest: 2025-04-16 17:44:18 +0100 Failed: 49 Oldest: 2025-01-30 09:09:28 +0000 Newest: 2025-04-16 11:28:24 +0100 Pending: 13 Oldest: 2025-04-16 20:54:27 +0100 Newest: 2025-04-21 15:26:20 +0100 ### Status report information ### Generated at: 2025-04-16 17:47:55 +01:00The page I need help with: [log in to see the link]
The topic ‘Cart not working’ is closed to new replies.