Home / Forums / WoodMart support forum / Compare/wishlist issue
Home › Forums › WoodMart support forum › Compare/wishlist issue
Compare/wishlist issue
- This topic has 7 replies, 2 voices, and was last updated 3 weeks, 1 day ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 9, 2026 at 7:03 pm #723422
jchvalaParticipantWoodMart 8.5.5 Guest Wishlist/Compare Issue
We are experiencing an issue with the built-in WoodMart Wishlist and Compare features for guest (logged-out) users only.
Wishlist
* Clicking the wishlist button adds the product successfully.
* The header wishlist counter increments correctly.
* The woodmart_wishlist_products cookie is created and contains the correct product IDs.
* However, when navigating to /wishlist-4/, the page incorrectly displays “This wishlist is empty.”
* At the same time, the header counter immediately changes back to 0.
* Refreshing the page immediately displays the correct wishlist contents.Compare
* Products add correctly.
* Removing products does not update the compare page until the page is refreshed.What we have already tested
* Logged-in users work correctly.
* Problem occurs in Chrome, Safari and Edge.
* Sucuri cache exclusions configured.
* WP Rocket exclusions configured.
* Wishlist/Compare pages excluded from cache.
* Cookie exclusions configured.
* Perfmatters Delay JavaScript tested both enabled and disabled.
* No JavaScript console errors.
* No Fetch/XHR requests are generated during the issue.
* Cookies are present and contain the correct data.This appears to be a guest cookie synchronization/page rendering issue in WoodMart rather than a caching issue.
Please let me know if this is a known issue in 8.5.5 or if there is a patch or workaround available.
July 10, 2026 at 10:36 am #723446Hello,
You are using the WP Rocket cache plugin.
In general, Wishlist, Cart, and Compare pages should not be cached at all, so I suggest you exclude those pages from the cache and recheck the issue.
Please refer to the topic for more details https://docs.wp-rocket.me/article/54-exclude-pages-from-the-cache
Best Regards
July 10, 2026 at 11:06 pm #723488
jchvalaParticipantHello,
Thank you for your reply.
The Wishlist and Compare pages have already been excluded from all caching layers.
Current configuration:
* WP Rocket:
* /wishlist-4/
* /compare/
* “Never cache this page” enabled on both pages
* Sucuri:
* Wishlist and Compare configured as Non-Cache URLs
* WP Engine:
* Varnish cache cleared after every change
* Perfmatters:
* Delay JavaScript tested both enabled and disabledThe issue still occurs.
Logged-in users work correctly.
Guest users experience the following:
* Wishlist adds correctly.
* Header counter increments.
* woodmart_wishlist_products cookie is created with the correct product IDs.
* Opening /wishlist-4/ immediately shows an empty wishlist and resets the header count to 0 until the page is refreshed.
* Compare adds products correctly, but removing products does not update until a page refresh.Since all cache layers have already been excluded, could you please reproduce this using a guest session? It appears to be an issue with the guest Wishlist/Compare functionality rather than page caching.
July 11, 2026 at 9:42 am #723499Hello,
Please deactivate all the 3rd party plugins and activate only the theme-required plugins on the site, and then check the issue. I am sure your issue will be solved. Then activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I can check and give you a possible solution.
Best Regards
July 11, 2026 at 7:57 pm #723524
jchvalaParticipantSubject: WoodMart Wishlist Not Saving Products – Extensive Troubleshooting Completed
Hello XTemos Support,
I have spent considerable time troubleshooting this issue on both our development and live sites, and I would like to summarize everything that has been tested.
Environment
* Theme: WoodMart 8.5.5
* Child Theme: WoodMart Child
* WoodMart Core: 1.1.8
* WooCommerce: Current
* WordPress: Current
* PHP: WP Engine
* Hosting: WP Engine Dedicated
* Browser tested:
* Chrome
* Safari
* Devices tested:
* Desktop
* MobileThe problem exists on both the Development and Live websites.
⸻
Problem Description
When a customer clicks the Wishlist (heart) icon:
* The heart animation occurs.
* The Wishlist counter/header may briefly change.
* The product is not actually saved.
* Visiting the Wishlist page shows no products.
* Refreshing the page clears the counter.The Compare feature works correctly.
⸻
WoodMart Wishlist Configuration
Verified the following settings:
* Wishlist enabled
* Wishlist page assigned correctly
* Wishlist shortcode present
* Guest wishlists allowed
* Multiple wishlists disabled
* Bulk actions enabled
* “Save button state after adding” disabled
* Wishlist button enabled on product loopsNo configuration issues were found.
⸻
Database Investigation
Using phpMyAdmin we inspected the WoodMart wishlist tables.
Table:
wp_woodmart_wishlists
This table exists and contains valid wishlist records.
Example:
* wishlist_id 1
* wishlist_id 4This indicates that WoodMart successfully creates wishlist records.
⸻
Table:
wp_woodmart_wishlist_products
This table exists but remains completely empty.
No rows are ever inserted after clicking the Wishlist button.
This appears to be where the failure occurs.
⸻
Browser Developer Tools
We monitored network traffic using Chrome Developer Tools.
Expected behavior:
Clicking the Wishlist button should generate an AJAX/Fetch/XHR request that saves the product.
Actual behavior:
No AJAX request is generated at all.
We monitored:
* Fetch/XHR
* Network
* JavaScript ConsoleNo request is sent when clicking the Wishlist icon.
Because no request is generated, nothing is written into the wp_woodmart_wishlist_products table.
⸻
Cache / Optimization Testing
To eliminate caching or optimization issues we tested:
WP Rocket
Completely disabled.
No change.
⸻
Perfmatters
Completely disabled.
No change.
⸻
WP Engine EverCache
Disabled.
No change.
⸻
Browser Cache
Hard refresh performed.
Incognito testing performed.
Multiple browsers tested.
No change.
⸻
Database Confirmation
The database is functioning.
WoodMart successfully creates wishlist records.
The failure is specifically that products are never inserted into the wishlist products table.
⸻
Theme Status
Verified:
* Latest WoodMart Theme
* Latest WoodMart Child Theme
* Latest WoodMart Core available through the themeNo updates are available.
⸻
Plugin Investigation
This production WooCommerce store contains approximately 37 plugins that support essential business functionality.
Disabling every plugin is not a practical troubleshooting approach because many are required for normal store operation.
We have already ruled out the primary optimization and caching layers (WP Rocket, Perfmatters, and EverCache), yet the problem remains.
⸻
Our Current Findings
At this point we have confirmed:
✓ Wishlist feature is enabled.
✓ Wishlist page is configured correctly.
✓ Database tables exist.
✓ Wishlist records are created.
✓ Wishlist products are never inserted.
✓ Compare functionality works correctly.
✓ No AJAX request is generated when clicking the Wishlist button.
✓ Issue exists on both Development and Live.
✓ Issue persists after disabling caching and optimization.
⸻
Request
Based on everything above, it appears the Wishlist JavaScript is not initiating the save process, or the internal Wishlist handler is failing before the AJAX request is sent.
Could you please investigate:
1. Why no Wishlist AJAX request is being generated.
2. Why wp_woodmart_wishlist_products is never populated.
3. Whether this is a known issue with WoodMart 8.5.5 or WoodMart Core 1.1.8.
4. Whether there are any known conflicts or additional logging we can enable to trace the Wishlist save process.If there are specific debug hooks, logging options, or files you would like us to inspect, we would be happy to provide that information.
Thank you for your assistance.
-
This reply was modified 3 weeks, 3 days ago by
jchvala.
July 11, 2026 at 8:18 pm #723526
jchvalaParticipantUpdate
We have now confirmed that the wishlist works only for an administrator account.
When logged in as an administrator, products are inserted into wp_woodmart_wishlist_products and appear in the backend wishlist list.
When using a regular customer account or a guest session, no new wishlist or wishlist product record is created in the backend, even though the heart count may update temporarily in the header.
This isolates the issue to WoodMart’s frontend wishlist save process for non-admin users, likely involving session handling, nonce validation, permissions, or the guest/customer AJAX handler.
July 11, 2026 at 8:28 pm #723527
jchvalaParticipantSubject: Additional Findings – Similar WoodMart Wishlist Reports and Isolated Behavior
Hello,
I wanted to provide another update after performing additional research and troubleshooting.
After extensive testing on both our Development and Live environments, we have now isolated the behavior much further.
Our Findings
We have confirmed the following:
* Administrator accounts successfully create wishlist records.
* Products are correctly written to the WoodMart database tables:
* wp_woodmart_wishlists
* wp_woodmart_wishlist_products
* The WordPress backend correctly displays the administrator wishlist.However:
* Regular customer accounts do not create wishlist records.
* Guest users do not create wishlist records.
* No backend wishlist is created for customers or guests.
* The frontend wishlist counter may update temporarily, but the wishlist is never actually saved.Database inspection confirms that no records are written for non-administrator users.
Similar Reports
We also searched the XTemos forums and other WordPress support communities and found several reports describing very similar wishlist behavior, including:
* Guest wishlists not saving while the wishlist counter changes.
* Wishlists appearing empty until the page is refreshed.
* Wishlist functionality failing after WoodMart updates.
* Wishlist synchronization issues affecting frontend users.While these reports are not identical to our case, they demonstrate that other WoodMart users have experienced similar wishlist-related problems.
What Makes Our Case Different
Our investigation has gone further by verifying the underlying database behavior.
We have confirmed that:
* The database tables exist and are functioning.
* Administrator requests successfully write to the database.
* Customer and guest requests never create wishlist records.
* This behavior is reproducible on both Development and Live environments.This appears to isolate the problem to the frontend wishlist creation process for non-administrator users rather than a database or installation issue.
Request
Could you please have your developers investigate why the WoodMart wishlist successfully creates records for administrators but fails to create them for customer and guest sessions?
This appears to be occurring before the database write operation, suggesting an issue with the frontend wishlist processing for non-administrator users.
If there are any diagnostic logs, debug constants, or beta patches that would help identify the cause, I would be happy to test them immediately.
Thank you for your assistance.
July 13, 2026 at 9:11 am #723554Hello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details of the development site in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
-
This reply was modified 3 weeks, 3 days ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register