WEB SYSTEMS PRO
E-commerce platform
FREE

You can install the "Product statuses in order" plugin using the "Installer" application in your website's backend.

SKU:WSP-426-PL
License
LGPL
Version
1.0.0.1.wsp
Update
04/30/2023


Settings plugins step by step

1. Go to your template editor as shown in the screenshot:

Settings plugins Product statuses in order


2. Insert the code as shown in the screenshot:

Settings plugins Product statuses in order


Code:
{$status = shopProductorderstatusPlugin::getHtmlStatus($item.pds_status_id)}
<td>{if $status}{$status}{else}Pending confirmation{/if}</td>


Instead of "Pending confirmation", you can enter any text that will be displayed when no status is selected.

3. In themes other than Default 3.0, the code may differ, but there is a general rule.
Our plugins code should be placed within the following block:

{foreach $order.items as $item} ... Our code ... {/foreach}, this rule also applies to the notification template!