WEB SYSTEMS PRO
E-commerce platform
Latest arrivals
Latest arrivals
Welldi
Welldi
Latest arrivals
Latest arrivals
Latest arrivals
Latest arrivalsLatest arrivalsLatest arrivals
€9.80
€0

* Net price (excluding VAT)

SKU:WSP-437-PL
Features
License
Web Systems Pro
Version
2023.05.02.0.wsp
Update
06/02/2023
All features

Show recently updated products on your site

"Latest arrivals" plugin is used to display the latest product updates in the store.
Plugin can be used as a regular list by calling HTML/Smarty code in templates or on Shopy-Script application pages:
{if $wa->shop}
{$products = shopKmlaststockgoodsPlugin::get()}
{include file="`$wa->shop->themePath('ID_MOTYWU')`list-thumbs.html" products=$products}
{/if}
This code will display the 12 most recently updated products across all stores.

If you want to show recent additions in a specific store, the HTML/Smarty code will look like this:
{if $wa->shop}
{$products = shopKmlaststockgoodsPlugin::get(ID_MAGAZYNU)}
{include file="`$wa->shop->themePath('ID_MOTYWU')`list-thumbs.html" products=$products}
{/if}

If you want to show the last 20 additions in a specific store within the last 30 days:
{if $wa->shop}
{$products = shopKmlaststockgoodsPlugin::get(ID_MAGAZYNU, 30, 20)}
{include file="`$wa->shop->themePath('ID_MOTYWU')`list-thumbs.html" products=$products}
{/if}

Replace ID_MOTYWU with your design theme identifier and ID_MAGAZYNU with the ID of the desired store (see hint below).

Example with all possible parameters:

To display the list of recent additions on the homepage, add the code to the home.tpl template (for the "Default 4.0" design theme):
{if $wa->shop}
{$products = shopKmlaststockgoodsPlugin::get(1)}
{include file="`$wa->shop->themePath('default')`list-thumbs.html" products=$products}
{/if}

Example with all possible parameters

{if $wa->shop}
{$products = shopKmlaststockgoodsPlugin::get(2, 10, 8, 16, 1)}
{include file="`$wa->shop->themePath('ID_MOTYWU')`list-thumbs.html" products=$products}
{/if}
, where
2 - store ID,
10 - period in days (last 10 days),
8 - minimum 8 products,
16 - maximum 16 products,
1 - shuffle received products randomly.


More o wtyczce "Latest arrivals": Updates
Technical specifications
Developed for
Shopy-Script
Localization settings
English, Polish, Russian
UI backend support
1.3
Software type
Plugin
Free
No
Developer and version plugins
Developer
Welldi
License
Web Systems Pro
Version
2023.05.02.0.wsp
Update
06/02/2023
Loading...
Loading...