In the backend product card, in the right column, the dates of product creation and last modification are displayed. Displaying this information can be disabled in plugins settings or set to show format: Date only or Date and time.
When viewing an order in the backend, if plugin calculated the delivery time while determining shipping costs during order processing, the manager can check what was promised to the customer.
While viewing a product in the backend, you can see who edited the product and when. Only manual edits are considered, excluding imports, etc. This feature is enabled in plugins settings.
A helper that helps extract coupon information if its identifier is known. For example, in an order only the ID of the used coupon is stored, making it impossible to retrieve the coupon code or other related data.
Helper call:
{$coupon_info = shopTipsPlugin::getCouponById(4)}
In the example, the number 4 stands for the coupon ID. For instance, in printed forms, you can get the ID of the coupon used in an order from the variable '$order.params.coupon_id'. Note that first, an order might not contain a coupon, and second, the coupon might have been deleted after the order was placed.
Return value. If the coupon is found, an associative array (key-value format) is returned:
Example code to be used in a printed form:
{if !empty($order.params.coupon_id)}
{$coupon_info = shopTipsPlugin::getCouponById($order.params.coupon_id)}
{if !empty($coupon_info)}
<p>Used coupon <b>{$coupon_info['code']}</b></p>
{/if}
{/if}
| Technical specifications | |
Developed for | Shopy-Script |
Localization settings | English, Polish, Russian |
UI backend support | 1.3 |
Software type | Plugin |
Free | Yes |
| Developer and version plugins | |
Designer (programmer) | Syrnik |
License | LGPL |
Version | 1.5.0.1.wsp |
Update | 11/02/2021 |