BACK TO DIRECTORY

Fantasytoys Produsul Săptămânii

by fantasytoysro

0.0
(0 ratings)

This plugin adds a widget to your sidebar that shows one product a week from the recommended products of the fantasytoys.ro shop.

The widget card shows:

  • the week number,
  • the product photo with the discount badge,
  • the product name,
  • the regular and the discounted price, with the lowest price from the 30 days before the discount,
  • a “View product” button linking to the product page in the shop.

The product is picked automatically from the recommended products on the shop’s home page and stays the same for the whole week (ISO week, site timezone). A new product appears every Monday – no configuration needed.

Features

  • Classic widget, also available in the block-based widget editor (Legacy Widget block).
  • Shortcode [fantasytoys_produsul_saptamanii] for posts, pages and block themes without a sidebar.
  • Image, prices, week number and button can be turned on or off.
  • Data is cached (prices refreshed every 6 hours), so the shop is not queried on every page view.
  • If the shop is temporarily unavailable, the last successfully loaded product is shown.
  • Lightweight: no JavaScript, one small stylesheet loaded only where the widget is displayed.
  • Translation ready.

External services

This plugin connects to fantasytoys.ro, the online shop whose products it displays. Without this connection the plugin cannot work.

  • What is requested: the public home page of the shop (https://fantasytoys.ro/), to read the name, link, image and prices of the recommended products.
  • When: on the server side, when a page containing the widget or shortcode is displayed and the cached data is older than 6 hours, the week has changed, or 10 minutes after a failed request.
  • What data is sent: no personal data and no data about your visitors is sent. These are ordinary HTTP GET requests made by your server, containing only the standard WordPress user agent (which includes your site URL).
  • Images: the product photo is loaded by the visitor’s browser directly from fantasytoys.ro, so the shop receives the visitor’s IP address and browser information, as with any embedded image. You can disable the image in the widget settings or with show_image="0" in the shortcode.

The service is provided by the fantasytoys.ro shop: Privacy policy, Terms of service.

Screenshots

The widget in a theme sidebar.

The widget in a theme sidebar.

Widget settings.

Widget settings.

The product of the week inserted into a post with the shortcode.

The product of the week inserted into a post with the shortcode.

Plugin Details

Active Installs
0
Total Downloads
163
Version
1.0.0
Requires WP
5.3
Requires PHP
7.2
Tested Up To
7.1.4
Added
2026-11-02
Last Updated
2026-11-02 1:58pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0