Home > Docs > WooCommerce Product Recommendations > WooCommerce Product Recommendations – Troubleshooting Guide

WooCommerce Product Recommendations – Troubleshooting Guide

Last updated on April 30, 2024

WooCommerce Product Recommendations is a versatile and powerful plugin that can greatly enhance any e-commerce website by showcasing a wide variety of recommendations on the store. Nevertheless, even the most robust tools may encounter unexpected hitches that temporarily disrupt the seamless performance of the plugin. This article serves as a comprehensive troubleshooting guide to assist you in addressing and resolving common product recommendation-related issues.

1. Recommendation not displaying for guest users

If you are utilizing the LiteSpeed Cache plugin in conjunction with the WooCommerce Product Recommendations plugin, it has been noticed that some stores may encounter an issue where the recently viewed and our picks for you recommendations fail to display for guest users. This issue occurs because these recommendations rely on cookies to display recommendations.

Solution

  1. Navigate to LiteSpeed Cache > Cache > Excludes.
LightSpeed Cache plugin
LightSpeed Cache plugin
  1. Scroll down to the Do Not Cache Cookies section.
  2. Paste the provided shortcode into the designated field.

RewriteRule .* - [E=Cache-Vary:wt_pr_recently_viewed]

LightSpeed Cache plugin
  1. Save the changes.

Your issue is not on the list..?

If you continue to experience difficulties, feel free to contact our support team. Provide them with the error details to receive additional help and guidance.