Weird behaviour with “add to cart” button
-
Hi,
on our shop page we have a strange phenomenon with the “add to cart” button frequently being replaced with the “read more” button for random products.
Clearing the cache (with WP Fastest Cache) resolves the issue for a while, but after a few hours some products show “read more” again, instead of “add to cart”. Sometimes, if we’re lucky, the “add to cart” button is still available on the product details page, so the customers can make the purchase, but sometimes that button is then missing in the product details page. As said, clearing the cache fixes it.
I do not see a pattern as to when it happens and to which products. Therefore I have no clue where to start looking. ??
The HTML code to the respective buttons includes the identical CSS classes, only different links (a href=”?add-to-cart=60326″ vs. a href=”https://www.beemybear.com/produkt/plotterdatei-grill-chill/) and different aria-label texts.
The theme is a child theme of Impreza, version 8.8.2 with quite a few modifications in the functions.php file, but if it were a coding error the problem wouldn’t be fixed by clearing the cache, only to reoccur a few hours later again, would it?
Has anyone had the same problem before and found the root cause?
Thanks in advance for any pointers
SaschaP.S.:
This is the list of active plugins:Advanced Database Cleaner PRO, Version 3.2.1 Alfahosting Sender Mail Plugin, Version 1.0 Angell EYE Updater, Version 2.0.17 Antispam Bee, Version 2.11.1 Autoptimize, Version 3.0.4 Better Search Replace, Version 1.4 Broken Link Checker, Version 1.11.16 Classic Editor, Version 1.6.2 Country Based Restrictions for WooCommerce, Version 3.2 Automatische Aktualisierungen aktivieren Delete Me, Version 3.0 Enable Media Replace, Version 3.6.3 EU Cookie Law, Version 3.1.6 GDPR Cookie Consent, Version 2.1.2 German Market, Version 3.15 Gift Cards Pro, Version 3.3.10 Health Check & Troubleshooting, Version 1.4.5 Loco Translate, Version 2.6.2, Version 3.8.5 Redirection, Version 5.2.3 Regenerate Thumbnails, Version 3.1.5 Remove Unused Media, Version 1.1.8 Smush, Version 3.10.2 Ultimate Addons for WPBakery Page Builder, Version 3.18.0 UpdraftPlus – Backup/Restore, Version 2.15.2.1 UpSolution Core, Version 8.8.2 WooCommerce, Version 6.6.1 WooCommerce Coupon Links, Version 2.2.0 WooCommerce Product Dependencies, Version 1.2.7 Wordfence Security, Version 7.5.11 WP Fastest Cache, Version 1.0.2 WP Mail SMTP, Version 3.4.0 WP Rollback, Version 1.7.1 WP STAGING PRO, Version 3.1.8 WPBakery Page Builder, Version 6.9.0 YITH WooCommerce Order & Shipment Tracking, Version 2.4.0 YITH WooCommerce Wishlist, Version 3.10.0 Yoast Duplicate Post, Version 4.5 Yoast SEO, Version 19.2
The page I need help with: [log in to see the link]
- The topic ‘Weird behaviour with “add to cart” button’ is closed to new replies.