Recently Viewed Products for WooCommerce displays the products recently viewed by Members and Guests on a separate page.
Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
Setup and Configuration
↑ Back to topGeneral
↑ Back to topGeneral Settings
- To capture and display Recently Viewed Products for Logged-in Users, enable the “Capture Recently Viewed Products for Registered Users” checkbox.
- By default, captured products will be displayed for 1 Month to registered users. You can change the value using the Set the Duration to Display Captured Products for Registered Users option.
- The Recently Viewed Products will be displayed.
- To capture and display Recently Viewed Products for Guest Users, enable the “Capture Recently Viewed Products for Guest Users” checkbox.
- If a user views the same product multiple times, then the visit count will be updated every 12 hours. You can change the value using this option[Update Visit Count After].
Example: If you viewed Product A, then the visit count will be updated to 1. If you viewed the same product again within 1 hour, then the count will not be updated to 2. It will be updated only after 12 hours if you view the same product again.
- When the plugin is activated for the first time, a Recently Viewed Products page will be created automatically by the plugin and the page will be assigned in the “Recently Viewed Products Page” option. You can change the Recently Viewed Products on any page as per your preference. To display the Recently Viewed Products on a different page, place the “[recently_viewed_products]” shortcode on the page you want to display the Recently Viewed Products and select the page in the “Recently Viewed Products Page” option.
- Number of Products to Display on the Recently Viewed Products Page: Limits the number of products displayed on the Recently Viewed Products page (the page containing the [recently_viewed_products] shortcode). If the field is left empty, all the captured products will be displayed.
Display Settings
- If you want to display the Recently Viewed Products on the Single Product Page, enable the “Display “Recently Viewed Products” Section on Product Page” checkbox.
- You can display the Recently Viewed Products in a Grid/Carousel using Display Type option.. This can be customized in the “Display Type” option.
- If you chosen Carousel type, you can make use of these options[Carousel Autoplay, Carousel Dot Indicator, No of Products to display during Navigation] based on your needs.
- Number of Products to display on the Product Page: Sets the maximum number of products displayed in the “Recently Viewed Products” section on the Single Product Page (Default: 4). This option is displayed only when the Display Type is set to Grid. If the user has viewed more products than this value, a “View All” button is displayed in the section, which opens the Recently Viewed Products page.
- Products to Display: Choose which products are displayed in the Recently Viewed Products page, the “Recently Viewed Products” section on the Single Product Page and the [rvp_limited_products] shortcode.
Viewed Products Only: Only the products viewed by the user will be displayed. This is the default option.
Viewed Products & Similar Products: The products viewed by the user will be displayed first, followed by similar products (products that share the same categories and/or tags as the viewed products). Products already viewed by the user and the product currently being viewed are not shown again as similar products.
Find Similar Products By: Displayed only when Products to Display is set to Viewed Products & Similar Products. Choose how similar products are identified: Categories (products from the same categories as the viewed products – default), Tags (products with the same tags as the viewed products) or Categories & Tags (products that share either a category or a tag with the viewed products).
Number of Similar Products: Displayed only when Products to Display is set to Viewed Products & Similar Products. Sets the maximum number of similar products added after the viewed products (Default: 4). The most recently published matching products are picked.
- Product Selection: Select the type of products that should be hidden from the recently viewed products listings (Recently Viewed Products page, “Recently Viewed Products” section on the Single Product Page and the [rvp_limited_products] shortcode). Available options: Out of Stock Product(s) and Free Product(s) (products priced at 0). Multiple options can be selected. If nothing is selected, no products will be hidden.
- Display Products from Most Viewed Category Only: When enabled, only the products that belong to the category most viewed by the user (the category containing the highest number of products viewed by the user) will be displayed. If two or more categories have the same count, the category with the most recent visit is used. When similar products are displayed and they are found by categories, the similar products are also taken from the most viewed category.
- Display Products based on: Choose the order in which the products are displayed: Recently Viewed (default – in the order the products were viewed), Newest (latest published products first), Random, Price: Low to High or Price: High to Low.
- Remove Recently Viewed Products: When enabled, a “Remove” button is displayed below each product on the Recently Viewed Products page. Clicking the button removes the product from the user’s recently viewed products list and the page is refreshed.
Advanced
↑ Back to topBadge Settings
A badge is displayed on the product image of the products which the user has already viewed. The badge is displayed on the Shop/Category pages (product listings) and on the Single Product Page. The badge is not displayed on the Recently Viewed Products page.
- Badge Style: Choose the design of the badge from Style 1, Style 2 and Style 3. A preview image is shown next to each style (Default: Style 1).
- Badge Text: The text displayed inside the badge (Default: “Recently Viewed Products”).
- Badge Background Color: Sets the background color of the badge (Default: #636363).
- Badge Text Color: Sets the color of the badge text (Default: #ffffff).
Shortcodes
- [recently_viewed_products] – Use this shortcode to display the recently viewed products by the users on a different page.
- [rvp_limited_products] – Use this shortcode to display the recently viewed products by the users in Carousel/Grid format. [rvp_limited_products carousel=false carousel_autoplay=false carousel_dots=false carousel_items_per_page=3 total_items=4].
Custom CSS Settings
↑ Back to topYou can make use of the Custom CSS settings for styling the Recently Viewed Section based on your needs.
Follow Up
↑ Back to topEmail Settings
- If you wish to send an email to your users to share the products they viewed recently on your site, then enable[Enable/Disable] the checkbox.
- You can display the products in email based on the following options given in “Sort Products by”
- Best Selling
- Top Rated
- Latest
- Price Low to High
- Price High to Low
- By default, 10 products will be displayed in the email if a user has viewed more products. You can change the value based on your needs in “No of Products to Show” field.
- By default, email will be sent to the users after 7 days of the email status becomes inactive. You can change the value in Schedule Email field.
Coupon Settings
- If you wish to offer a coupon to your users for encouraging them to make a purchase their recently viewed products, then enable Coupon Code checkbox.
- You can customize the follow options based on your needs,
- Prefix
- Code Type
- Character Length
- Discount Type
- Fixed Value: Displayed when the Discount Type is set to Fixed Discount. Enter the fixed discount amount applied by the coupon.
- Percentage Value: Displayed when the Discount Type is set to Percentage Discount. Enter the discount percentage applied by the coupon.
- Validity in Days
- If you wish to delete the expired coupons automatically, enable “Delete Expired Coupons” checkbox.
Localization
↑ Back to topYou can customize the messages displayed to the user in this section.
Usage
↑ Back to topRecently Viewed Products for Logged-in Users
↑ Back to top- A Logged-in User visits a Product’s Single Product page.
- During that time, an entry will be created for that product on the “Recently Viewed Products” page.
- Similarly, for every product which has been visited, an entry will be created in the Recently Viewed Products Page.
- From this page, users can easily identify the products which they viewed earlier and make their purchase decisions accordingly.
- For Logged-in Users, the duration to display the Recently Viewed Products can be customized.
Recently Viewed Products for Guest Users
↑ Back to top- A Guest User visits a Product’s Single Product page.
- During that time, an entry will be created for that product in the “Recently Viewed Products” page.
- Similarly for every product which has been visited, an entry will be created in the Recently Viewed Products Page.
- From this page, users can easily identify the products which they viewed earlier and make their purchase decisions accordingly.
- For Guest Users, the entries in the Recently Viewed Products will be removed once the Browser/Tab is closed.
Send Follow-up emails
↑ Back to top- You can send follow-up emails to logged-in users about the recently viewed products on the site. You can also optionally send a coupon in the email which can encourage your users to complete the purchase.
- Once you turn on the Follow up feature, you can track the product & user details using Follow Up menu & Email Log menu. You can find these menus under,
- WordPress Dashboard -> Recently Viewed Products -> Follow Up
- WordPress Dashboard -> Recently Viewed Products -> Email Log
- In the Follow Up menu, the Email Status column shows the scheduled date of the email. For entries whose email is scheduled, or whose sending has failed, a “Send Email(s) Manually” button is available to send the follow-up email(s) immediately.
Admin Reports
↑ Back to topA separate section to capture and display the following info:
- The reports can be viewed under WordPress Dashboard -> Recently Viewed Products -> Reports. Each entry displays the Product Name, No of Visits, No of Purchases, Created Date, Last Activity Date and Additional Details.
- Advanced Filters: Click the Advanced Filters button on the Reports page to narrow down the reports using the following filters, then click Apply Filters:
- Product Categories: Displays the reports of products that belong to any of the selected categories (including their sub-categories). Multiple categories can be selected.
- Visits (Min visits / Max visits): Displays the reports whose visit count is within the given range.
- Purchases (Min purchases / Max purchases): Displays the reports whose purchase count is within the given range.
- Dates (Date to filter with, From date, To date): Displays the reports within the given date range, based on either the Created Date or the Last Activity Date.
- The applied filters are listed next to “Filtered by:” on the Reports page. Each filter can be removed individually, or all filters can be removed using Clear all filters.
- Export: Click the Export button on the Reports page to download the reports as a CSV file. Select the columns to include (ID, Product ID, Product Name, No of Visits, No of Purchases, Created Date, Last Activity Date), then click Generate CSV. The filters, search and sorting currently applied on the Reports page decide which reports are exported.
Translation
↑ Back to topThe Recently Viewed Products for WooCommerce plugin is translation-ready meaning you can edit the po files to translate the text to any language.
The steps to do the translation are as follows. For example, if we were to translate to French:
- Download and install Poedit
- Open the file recently-viewed-products-for-woocommerce > languages > recently-viewed-products-for-woocommerce.pot using Poedit.
- Create a new translation file by clicking Create new translation button.
- Choose the Source text and set its corresponding French text in Translation Text Area.
- Save the changes.
- Save the file name as recently-viewed-products-for-woocommerce-fr_FR.po.
- If you are using WordPress Version 3.9.13 or below, then in wp-config.php define the WPLANG as French. Syntax is define(‘WPLANG’, ‘fr_FR’);
- If you are using WordPress Version 4.0 or above, then go to WordPress dashboard > Settings > General and select the Site Language as French.