Module settings
Open the settings via Modules → Module Manager → WEB Vision – Najpredávanejšie produkty → Configure.
If you run several shops (multistore), the settings are saved for the shop selected in the admin header. Settings saved for “all shops” apply to shops that have no settings of their own.
Setup status
Section titled “Setup status”The panel shows the time of the last recalculation (in your browser’s time zone), the number of products in the statistics and a warning if there are no orders in the chosen period. The Recalculate now button recalculates the statistics immediately. Below it is the cron address.
Settings
Section titled “Settings”| Field | Meaning |
|---|---|
| Enabled (Zapnuté) | The main switch of the module. |
| Block on the category page | Shows the block in a category. |
| Block on the product page | Shows the block on the product page, below the standard product block. The current product is not shown in it. |
| Block on the home page | Shows the block on the home page, from the whole shop. |
| Bestseller badge on products | Adds the badge to the top products in lists and on the product page. |
| Calculation method | Number of pieces or number of orders. With orders, 1000 pieces in one order count as one sale. |
| Sales period | The last 7, 30, 90 or 365 days, or the whole history. |
| Total number of products | The most products the block shows. |
| Visible before “Show more” | How many products are visible at once. The rest expand with the button. |
| Block title | Separately for each language. |
| Badge text | Separately for each language. |
Advanced settings
Section titled “Advanced settings”Click the panel heading to expand it.
| Field | Meaning |
|---|---|
| Block position in the category | Below the product list, or above it. |
| Only for these categories | Category IDs separated by commas. An empty field means all categories. It applies to the category and the product page (by the product’s main category). |
| Minimum product price | Cheaper products are not shown in the block. The amount is in the shop’s main currency, 0 turns the limit off. It is compared with the real price for the customer, including discounts. |
| Minimum price includes VAT | Whether the minimum price is compared with the price with or without VAT. |
| Minimum sales | The smallest number of pieces or orders (according to the calculation method) a product must reach. |
| Hide products that are out of stock | Products without stock are not shown in the block. It works when stock management is on. |
| Excluded products | Product IDs separated by commas. These products are never shown in the block. |
| Pinned products | One line per category in the form 12: 5, 8, 9 (category ID, colon, product IDs). Category 0 applies to the home page. Pinned products are at the start of the block and the minimum price does not apply to them. |
| Recalculate at the latest after (hours) | How long the statistics are used at most without a recalculation. |
| Badge for the best | How many of the bestselling products in the whole shop get the badge. |
Adding it to your own template
Section titled “Adding it to your own template”If your theme does not call the standard places, add the block to a template:
{widget name='mv_bestsellers'}{widget name='mv_bestsellers' id_category=12}The second form shows the bestsellers of the given category.
How sales are counted
Section titled “How sales are counted”- Orders in a status that PrestaShop treats as valid are counted. Cancelled orders are not counted and returned pieces are subtracted.
- A product in several categories counts in each of them.
- Subcategories are not merged: the block in a parent category shows only products assigned directly to it.
- After you change the period, the statistics are recalculated right after saving.
Thank you for your answer.
We are sorry. Tell us what is missing or unclear:Write to support