Cart Shows Up for all Users
-
I have just installed Woo Commerce. I created a Simple Product and tested putting the product in a user1 cart. That all works.
I then logged in as a different user (user2) and the product for user1 is showing up in users2 cart. I added a product to user2 –it shows up for user2 cart and it also shows up in user1 cart.
With more testing–all products that go into a cart seem to go to every users cart.
I have disabled plugins…boiled this down and still get the same issue. I must have some type of conflict. Would appreciate ay ideas/help.
Thanks
MikeThe page I need help with: [log in to see the link]
-
Hi there Mike,
The most common cause of this type of issue where products are showing up for different users (or users are seeing other info from other users) is caching. Please try disabling any caching plugins on the site or on the server itself — caching should be disabled for the Cart, Checkout, and My Account pages in particular. You can reach out to your host to ask about caching on the server.
If you are still having trouble, 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, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.
Thanks for quick reply---i have tried cache clears, turning them off, different browsers. This is a test and debug site. Info is below. ### WordPress Environment ### WordPress address (URL): https://webscribersoft.com Site address (URL): https://webscribersoft.com WC Version: 5.5.1 REST API Version: ? 5.5.1 WC Blocks Version: ? 5.3.2 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.4.1 Log Directory Writable: ? WP Version: ? 5.7.2 - There is a newer version of WordPress available (5.8) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.12 PHP Post Max Size: 200 MB PHP Time Limit: 300 PHP Max Input Vars: 1560 cURL Version: 7.45.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: 5.7.26-29-log Max Upload Size: 200 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.5.1 WC Database Prefix: wp_965y1bc8a3_ Total Database Size: 65.98MB Database Data Size: 57.94MB Database Index Size: 8.04MB wp_965y1bc8a3_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_965y1bc8a3_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_965y1bc8a3_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wptest_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wptest_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wptest_options: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wptest_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wptest_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wptest_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wptest_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_965y1bc8a3_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB wp_965y1bc8a3_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_ajaxsearchpro: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_ajaxsearchpro_priorities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_ajaxsearchpro_statistics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_asp_index: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_965y1bc8a3_asp_synonyms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_activity: Data: 0.16MB + Index: 0.06MB + Engine MyISAM wp_965y1bc8a3_bp_activity_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_bp_friends: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_groups_groupmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_groups_members: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_invitations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_messages_messages: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_965y1bc8a3_bp_messages_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_messages_notices: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_messages_recipients: Data: 0.02MB + Index: 0.06MB + Engine MyISAM wp_965y1bc8a3_bp_notifications: Data: 0.04MB + Index: 0.06MB + Engine MyISAM wp_965y1bc8a3_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_optouts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_965y1bc8a3_bp_user_blogs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_bp_xprofile_data: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_965y1bc8a3_bp_xprofile_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_bp_xprofile_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_edd_customermeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_edd_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_facetwp_index: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_gf_addon_feed: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_addon_payment_callback: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_addon_payment_transaction: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_entry: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_gf_entry_meta: Data: 0.07MB + Index: 0.05MB + Engine MyISAM wp_965y1bc8a3_gf_entry_notes: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_form_meta: Data: 0.49MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_gf_form_view: Data: 0.28MB + Index: 0.13MB + Engine MyISAM wp_965y1bc8a3_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_icwp_wpsf_audit_trail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_geoip: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_ip_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_scanner: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_spambot_comments_filter: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_statistics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_icwp_wpsf_traffic: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_nextend2_section_storage: Data: 0.03MB + Index: 0.06MB + Engine InnoDB wp_965y1bc8a3_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_nextend2_smartslider3_sliders: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_nextend2_smartslider3_slides: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_965y1bc8a3_options: Data: 3.47MB + Index: 0.16MB + Engine InnoDB wp_965y1bc8a3_postmeta: Data: 41.41MB + Index: 0.40MB + Engine MyISAM wp_965y1bc8a3_posts: Data: 0.72MB + Index: 0.16MB + Engine MyISAM wp_965y1bc8a3_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_lead: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_lead_detail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_rg_zapier: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_sbc_calendars: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_signups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_swp_cf: Data: 0.12MB + Index: 0.12MB + Engine MyISAM wp_965y1bc8a3_swp_index: Data: 0.13MB + Index: 0.09MB + Engine MyISAM wp_965y1bc8a3_swp_log: Data: 0.07MB + Index: 0.07MB + Engine MyISAM wp_965y1bc8a3_swp_tax: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_swp_terms: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_965y1bc8a3_table_data: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_terms: Data: 0.01MB + Index: 0.04MB + Engine MyISAM wp_965y1bc8a3_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_965y1bc8a3_term_taxonomy: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_965y1bc8a3_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_ulike: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_965y1bc8a3_ulike_activities: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_965y1bc8a3_ulike_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_965y1bc8a3_ulike_forums: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_965y1bc8a3_ulike_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_965y1bc8a3_usermeta: Data: 0.28MB + Index: 0.09MB + Engine MyISAM wp_965y1bc8a3_users: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_965y1bc8a3_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_965y1bc8a3_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_965y1bc8a3_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_965y1bc8a3_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_965y1bc8a3_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_965y1bc8a3_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_wptao_events: Data: 5.32MB + Index: 2.36MB + Engine MyISAM wp_965y1bc8a3_wptao_events_meta: Data: 2.21MB + Index: 1.72MB + Engine MyISAM wp_965y1bc8a3_wptao_events_tags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_wptao_fingerprints: Data: 1.22MB + Index: 0.14MB + Engine MyISAM wp_965y1bc8a3_wptao_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_wptao_users_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_965y1bc8a3_wptao_users_tags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_yoast_seo_links: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_965y1bc8a3_yoast_seo_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### acf: 2 acf-field: 43 acf-field-group: 2 aoc_popup: 1 attachment: 839 birs_service: 1 birs_staff: 1 bne_testimonials: 2 books_about_dogs: 2 bp-email: 19 bps_form: 1 calendar: 2 cf7_style: 12 cfs: 2 color: 6 condition_group: 1 custom_css: 1 day_care_provider: 4 demo_test: 24 dog_adoption_provide: 5 dog_day_care_provide: 7 dog_grooming_provide: 1 dog_health_provider: 7 dog_training_provide: 6 doggie_day_care: 1 download: 3 edd_discount: 1 edd_log: 53 edd_payment: 34 fl-builder-template: 81 fl-theme-layout: 6 forum: 26 job_listing: 3 ml-slide: 10 ml-slider: 3 nav_menu_item: 47 news: 3 nf_sub: 84 oembed_cache: 11 page: 51 people_apparel: 1 popup: 2 popup_theme: 6 post: 8 product: 2 pt_view: 3 reply: 13 restriction: 1 revision: 33 slide: 6 soliloquy: 1 spucpt: 1 tablepress_table: 1 testimonial: 2 testimonial_rotator: 2 topic: 14 tt_font_control: 4 vet: 1 workforce: 3 wpcr3_review: 27 wpcuwpfp-news-widget: 1 wpd-bb-popup: 1 wysijap: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (31) ### Gravity Forms: by Gravity Forms – 2.5.7 Profile Update: by TBI – 4.1 Advanced Custom Fields PRO: by Delicious Brains – 5.9.9 Ajax Search Pro: by Ernest Marcinko – 4.20.8 Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 2.4.2.4 Beaver Themer: by The Beaver Builder Team – 1.3.3.1 BP Profile Search: by Andrea Tarantini – 5.4.2 BuddyPress: by The BuddyPress Community – 9.0.0 Calendar Maintenance: by TBI – 4.0 Classic Editor: by WordPress Contributors – 1.6.1 Custom Login: by Austin Passy – 3.2.11 Custom Post Type UI: by WebDevStudios – 1.9.2 FacetWP - Beaver Builder: by FacetWP LLC – 1.3.3 FacetWP - Map Facet: by FacetWP LLC – 0.9.1 FacetWP: by FacetWP LLC – 3.8.8 Favorites: by Kyle Phillips – 2.3.2 Geo Gravity: by TBI – 4.0 Gravity Forms + Custom Post Types: by Gravity Wiz – 3.1.21 Gravity Forms Zapier Add-On: by Gravity Forms – 4.1 Maintenance: by WebFactory Ltd – 4.03 Search Engine Visibility: by GoDaddy – 0.5 Styles & Layouts Gravity Forms: by Sushil Kumar – 4.3.2 Ajax login and register: by TBI – 4.1 Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.6.0 User Role Editor: by Vladimir Garagulya – 4.60 WooCommerce: by Automattic – 5.5.1 WP Customer Reviews: by Aaron Queen – 3.5.9 WP File Manager: by mndpsingh287 – 7.1.1 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.11 WP Tao: by WP Tao Co. – 1.2.10 WP ULike: by TechnoWich – 4.5.3 ### Inactive Plugins (18) ### Appointment Details: by TBI – 4.1 Better Font Awesome: by Mickey Kay – 2.0.1 BuddyPress Global Search: by BuddyBoss – 1.2.1 BuddyPress Reorder Tabs: by BuddyBoss – 2.0.1 BuddyPress Restrict Messages: by venutius – 1.0.5 Easy Digital Downloads: by Sandhills Development LLC – 2.10.6 No Page Comment: by Seth Alling – 1.2 Post Favorite MGMT: by Mike Graci – 1.0.0 Remove Dashboard Access: by Drew Jaynes (DrewAPicture) – 1.1.3 Shariff Wrapper: by Jan-Peter Lambeck & 3UU – 4.6.7 Simple Buddypress Profile Privacy: by Justin Hansen – 0.7.9 Spacer: by Justin Saad – 3.0.5 Title Remover: by WPGurus – 1.2.1 twilio: by – WooCommerce Shipping & Tax: by WooCommerce – 1.25.17 WP Easy Paypal Payment Accept: by Tips and Tricks HQ – v4.9.6 WP Simple Booking Calendar: by WP Simple Booking Calendar – 7.1.7 Yoast SEO Premium: by Team Yoast – 12.5 ### Dropin Plugins (1) ### object-cache.php: APCu Object Cache ### Must Use Plugins (1) ### System Plugin: by – 4.8.1 ### 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: #15205 - /shop/ Cart: #15207 - /cart/ Checkout: #15209 - /checkout-2/ My account: #15211 - /my-account-2/ Terms and conditions: ? Page not set ### Theme ### Name: BuddyBoss Child Theme Version: 4.3.2 Author URL: https://www.buddyboss.com Child Theme: ? Parent Theme Name: BuddyBoss Parent Theme Version: 4.3.4 Parent Theme Author URL: https://www.buddyboss.com WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: – ### Action Scheduler ### Canceled: 5 Oldest: 2021-07-08 07:24:48 -0400 Newest: 2021-07-20 07:46:16 -0400 Complete: 127 Oldest: 2021-07-20 20:45:11 -0400 Newest: 2021-07-20 22:17:20 -0400 ### Status report information ### Generated at: 2021-07-20 22:18:10 -04:00
Thanks for the SSR @mikegraci.
I see that you have the plugin
WP-Optimize - Clean, Compress, Cache: by David Anderson
.As advised above, you will want to purge the cache from it and also configure it not to cache Cart, Checkout, and My Account pages. We have explained further in this guide: https://docs.woocommerce.com/document/configuring-caching-plugins/
Note: When testing if the above has worked, remember to also delete existing cache memory from your browser or use incognito/private browser windows.
Thanks.
Thanks for response–to best of may ability–this does not seem to be caching related –on WP-optimize I do not have cache enabled… I just disabled plugin. cleared cache and ran the following tests from 2 different computers
Here is a test I ran……
I logged in from a PC and from a mac–here is the sequence
I cleared browser cache and server cache on Go daddy fro both machines
a) Log into MAC/user1/incognito–add product1 to cart –all good.
b) Log into PC/user2/incognito–add product2 to cart –all good.
c) Log out of PC/user2—-> login to PC/user1/incognito–product1 shows up –all good
c) Log out of PC/user1—-> login to PC/user2/incognito (again) –product1 and product2 shows up–(only product2 should show up).Thanks for getting back.
I appreciate the details regarding the tests.
The most plausible explanation here is that in step b, the cart page was cached. Thus, in the last step, the user was served the cached page with the existing product1.
Just to be sure, you could reach GoDaddy to see if they do not have any other type of server-side caching going on? If they do, request them to flush it and disable it from the cart, checkout, and my account pages.
Kindly keep us posted.
Thanks again.Hi Abwaita
Thank you for response …plesse just bear with me. if you can. I really appreciate your help
In the last step, the user was served BOTH products. In the previous steps of the test there was never a time where both products were presented to a user so they would never have been cached together….but yet in the last step Both products appear to the user.
Mike
Thanks Mile for your reply.
The possibility here is that the cart page was cached somewhere. Product 1 was cached along with the page at that point and is being served when a new visitor goes tries to access the cart.
That’s why the focus here is to check if there’s some existing caching somewhere. You can check with the host if they have some other server side caching so that they can purge it and disable it on the cart, checkout, and my account page.
Thanks.
Hi thereI went off to go daddythey do have a hardware cachei am flushing the cache…but I stil get the issue. There is no way to completely shut it off..so it may stil be part fo teh issue.
I have access to site ground and I have other sites on site groundi truned off all cachehave the same issue BUT at siteground I have a securi firewall i turned off cacheing there and i started to get some positive reuslts…mostly by luck.
Where I am at on ths ite gorund site is I get results and am confident all cache are off..and now I have located a piece of code that appears to createing a conflict with woo commerce. If I coudl ask for a quick scan of thsi codethat woudl be appreciated.
With all cahe turned off and the code below “deleted” it works I dotn have the cart issues..When I enable this code..I have the same problem. Appreciate any advice that can be provided.
Thanks
CODE
<?php function edd_popup($atts) { wp_register_script('edd_js', plugins_url('/js/edd.js', __FILE__)); wp_enqueue_script('edd_js'); $html = ' '; $p_code = trim($atts['product_code']); $btn_txt = trim($atts['btn_txt']); $price = trim($atts['price']); $btn_colr = trim($atts['color']); if (!is_user_logged_in()) { $html .= '<div class="no_login">'; } if (is_user_logged_in()) { $current_user = wp_get_current_user(); $role_name = $current_user->roles[0]; if ($role_name == 'subscriber' OR $role_name =='administrator') { $html .= '<div class="subscriber_login">'; } } $html .='<a class="button jhhh edd-submit '.$btn_colr.'" href="'.site_url().'/checkout/?edd_action=add_to_cart&download_id='.$p_code.'&edd_options[price_id]='.$price.'"><span class="label">'.$btn_txt.'</span></a>'; if (!is_user_logged_in()) { $html .= '</div>'; } if (is_user_logged_in()) { $current_user = wp_get_current_user(); $role_name = $current_user->roles[0]; if ($role_name == 'subscriber' OR $role_name =='administrator') { $html .= '</div>'; } } return $html; } add_shortcode("edd_popup","edd_popup"); function add_paypal($atts) { error_reporting(0); $email = trim($atts['email']); $paypal = trim($atts['paypal']); $options = trim($atts['options']); $other_amount = trim($atts['other_amount']); $button_text = trim($atts['button_text']); $button_image = trim($atts['button_image']); $cancel_url = trim($atts['cancel_url']); $new_window = trim($atts['new_window']); $new_paypal = trim($atts['wp_paypal_payment_box_for_any_amount']); $description = trim($atts['description']); $currency = trim($atts['currency']); $other_amount_label = trim($atts['other_amount_label']); $html = ''; $html .="<script> jQuery(document).ready(function ($) { jQuery('.make_payment').click(function(e) { jQuery('.paypal_new').toggle(); //jQuery('.make_payment').hide(); }); }); </script>"; $html .= '<style> .wp_pp_button_selection_section { display:none; } .wp_pp_button_reference_section > label { display: none; } .wp_pp_button_reference { display: none; } .paypal_new .wp_pp_button_reference_section { float: left; margin-left: 14%; width: 0%; } .paypal_new .buddyboss-select-inner .wp_paypal_button_options, .paypal_new input[type="text"], .paypal_new input[type="email"], .paypal_new input[type="number"] ,.wpapp_other_amt_input { background-color: #f2f2f2; padding: 2px 12px; width: 147px; color:#123 !important; } .make_payment { cursor:pointer; } .make_payment :hover { color:#1999ba; } .paypal_new { color:#fff!important; font-weight:bold; } .paypal_new .wp_accept_pp_button_form { width: 100%; padding-top:2%; } @media (max-width: 767px) { .paypal_new input[type="text"], .paypal_new input[type="email"], .paypal_new input[type="number"], .wpapp_other_amt_input { background-color: #f2f2f2; color: #000; padding: 2px 12px; width: 173px; } .paypal_new .buddyboss-select-inner { width:200px; color: #000; } .wp_pp_button_selection_section { width:200px; color#000; } } @media (min-width: 767px) { .paypal_new { max-width: 1100px; height: 80px; } .wp_paypal_button_options { margin-top:14px !important; } .paypal_new .wp_pp_button_amount_section { float: left; width: 10%; } .paypal_new .wp_pp_button_amount_section .wpapp_other_amt_input { margin-bottom: 9px; margin-top: 9px; max-width: 105px !important; } .paypal_new .wp_pp_button_selection_section { float: left; padding-left: 2%; width: 21%; } .paypal_new .wp_pp_button_other_amt_section { float: left; margin-left: 6%; width: 14%; } /*.paypal_new .wp_pp_button_reference_section { float: left; margin-left: 14%; width: 34%; }*/ .paypal_new .wp_pp_button_submit_btn { float: left; width: 15%; } } .paypal_new .wp_pp_button_amount_section { font-size : 20px!important; color : #1db4da!important; } .paypal_new .wp_pp_button_amount_section .wpapp_other_amt_input{ margin-bottom: 15px; margin-top: 9px; max-width: 105px !important; background-color: white!important; height: 25px!important; } .paypal_new .wp_paypal_button_widget_any_amt .wp_pp_button_amount_section{ width:255px } </style>'; $s_code =''; if (is_user_logged_in()) { $current_user = wp_get_current_user(); $u_email = $current_user->user_email; $html .= '<script> jQuery(document).ready(function ($) { jQuery(".wp_pp_button_reference").val("'.$u_email.'"); }); </script>'; } $html .= '<div class="paypal_new" style="display:none;">'; if($new_paypal == 'true') { if($email) { $s_code .= 'email="'.$email.'" '; } if($description) { $s_code .= 'description="'.$description.'" '; } if($other_amount_label) { $s_code .= 'other_amount_label="'.$other_amount_label.'" '; } if($currency) { $s_code .= 'currency="'.$currency.'" '; } $html .= do_shortcode('[wp_paypal_payment_box_for_any_amount '.$s_code.'"]'); } else { if($button_text) { $s_code_2 .= 'button_text = "'.$button_text.'"'; } if($button_image) { $s_code_2 .= 'button_image = "'.$button_image.'"'; } if($cancel_url) { $s_code_2 .= 'cancel_url = "'.$cancel_url.'"'; } if($new_window) { $s_code_2 .= 'new_window = "'.$new_window.'"'; } if($currency) { $s_code_2 .= 'currency="'.$currency.'" '; } $html .= do_shortcode('[wp_paypal_payment_box email="'.$email.'" options="'.$options.'" other_amount="'.$other_amount.'" '.$s_code_2.' ]'); } $html .= '</div>'; //$html .= '<div class="paypal_btn"> <!--button class="make_payment">Make Paypal Payment </button--></div>'; $html .= '<div class="paypal_btn"> </div>'; if($paypal == 'on') { return $html; } else{ return '<style> .make_payment{ color:#808080 !important;} </style>'; } } add_shortcode("add_paypal","add_paypal"); add_action('wp_logout','auto_redirect_after_logout'); function auto_redirect_after_logout(){ wp_redirect( home_url() ); exit(); } /*function acme_login_redirect( $redirect_to, $request, $user ) { error_reporting(0); return ( is_array( $user->roles ) && in_array( 'administrator', $user->roles ) ) ? admin_url() : home_url(); } add_filter( 'login_redirect', 'acme_login_redirect', 10, 3 );*/ ?>
Hi @mikegraci,
Perhaps it’s something inside the
/js/edd.js
which is loaded at the top of this code block. Have you tried checking with each of these functions separately? Take out theedd_popup
function first and see if this still happens. If it does, then try the next function and so on. That may help you narrow this down further.Cheers
Hi @mikegraci
We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.
- The topic ‘Cart Shows Up for all Users’ is closed to new replies.