WEB SYSTEMS PRO
E-commerce platform
€9.80

* Net price, 23% VAT must be added

SKU:WSP-335-PL
License
Web Systems Pro
Version
2.1.2.wsp
Update
06/13/2025


About the review link in the website menu

Plugin adds a page: https://yourshop.com/reviews/

No pages need to be added manually!
Plugin also adds a link to this page in the menu.
However, the location where this link will appear is controlled by theme, specifically: the link appears where the frontend_nav hook is output, i.e. where the theme developer placed the hook's output code.
More on this topic can be found here.

The most effective option for displaying the link in the menu for all website themes, if you use manual menu output {$wa->apps()}, is located in "Site -> Settings www -> {$wa->apps()} menu ->   Configuration"

Various instructions for different website themes


I don't have new features. What should I do?

Most likely, the output template has not been updated. Go to plugins settings, find the setting "Template for printing on the review page", click "edit" on the right, then remove all template code (just press CTRL+A and then DEL), and click "Save" - this will reset the template to its original state.
Keep in mind that if you made any changes to this template, you will need to reapply them after resetting.


How to display latest reviews in any location

Add the following code to the desired theme:

{if $wa->shop} <ul class="menu-v with-icons reviews-branch">
  {foreach shopReviewsPlugin::getReviews(5) as $review}
  <li>
    <div class="review" itemprop="review" itemscope itemtype="http://schema.org/Review">
      <div class="summary">
        <span class="username" itemprop="author"><b>{$review.name}</b></span>
        <meta itemprop="datePublished" content="{$review.datetime|date_format:'Y-m-d'}">
        <span class="date" title="{$review.datetime|wa_datetime}">{$review.datetime|wa_datetime:"humandatetime"}</span>
      </div>
      {if $review.text}
      <p itemprop="description">{$review.text}</p>
      {/if}
    </div>
  </li>
  {/foreach}
</ul> {/if}

5 is the limit; if you want to display 10 latest reviews, use shopReviewsPlugin::getReviews(10)