
外掛標籤
開發者團隊
② 後台搜尋「Fantasytoys Produsul Săptămânii」→ 直接安裝(推薦)
原文外掛簡介
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.
