Files
drmaterac.pl/modules/omnibuseufree/views/templates/hook/presta_studio_omnibus_price.tpl
Jacek Pyziak 835dd83e54 Add initial files and templates for Omnibus EU Free module
- Added yt_logo.png image for branding.
- Created index.php for views and templates with license notice and redirection.
- Implemented back.js for reload functionality with event listener.
- Developed configure.tpl for admin configuration panel with documentation links.
- Established products-price-list.tpl for displaying product pricing information.
- Created presta_studio_omnibus_price.tpl for displaying price history and discounts.
- Added index.php files in various directories for consistent redirection and license notice.
2026-01-15 00:03:18 +01:00

31 lines
1.4 KiB
Smarty

{*
*
* NOTICE OF LICENSE
*
* This source file is subject to the Apache License, Version 2.0
* that is bundled with this package in the file LICENSE.
* It is also available through the world-wide-web at this URL:
* http://www.apache.org/licenses/LICENSE-2.0
*
* @author presta.studio
* @copyright Copyright (c) 2023 presta.studio
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
*
*}
{if $OmnibuseufreeProductDiscount == true}
<div class="presta-studio-price-history">
<p class="presta-studio-price-history-text">
{if $OmnibuseufreeInfoVersion == 2}
{if $OmnibuseufreeProductPriceMin != null}
{l s='Lowest price in %d days before discount: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}<span class="presta-studio-price-history-price">{$OmnibuseufreeProductPriceMin}</span>
{else}
{* when history is empty *}
{l s='Lowest price in %d days: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}<span class="presta-studio-price-history-price">{$OmnibuseufreeProductPriceCurrent}</span>
{/if}
{else}
{l s='Lowest price in %d days: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}<span class="presta-studio-price-history-price">{$OmnibuseufreeProductPriceMin}</span>
{/if}
</p>
</div>
{/if}