{* * * 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}

{if $OmnibuseufreeInfoVersion == 2} {if $OmnibuseufreeProductPriceMin != null} {l s='Lowest price in %d days before discount: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}{$OmnibuseufreeProductPriceMin} {else} {* when history is empty *} {l s='Lowest price in %d days: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}{$OmnibuseufreeProductPriceFallback|default:$OmnibuseufreeProductPriceCurrent} {/if} {else} {l s='Lowest price in %d days: ' sprintf=[$OmnibuseufreeNumberOfDays] mod='omnibuseufree'}{$OmnibuseufreeProductPriceMin} {/if}

{/if} {if isset($OmnibuseufreeDebugEnabled) && $OmnibuseufreeDebugEnabled && isset($OmnibuseufreeDebugData)}

OMNIBUS DEBUG
marker: {$OmnibuseufreeDebugData.marker}
product_id: {$OmnibuseufreeDebugData.product_id}, attr_id: {$OmnibuseufreeDebugData.product_attribute_id}
currency: {$OmnibuseufreeDebugData.currency_iso} ({$OmnibuseufreeDebugData.currency_id}), precision: {$OmnibuseufreeDebugData.price_display_precision}
precision_override: {$OmnibuseufreeDebugData.display_precision_override}
has_discount: {$OmnibuseufreeDebugData.has_discount}
param price: {$OmnibuseufreeDebugData.param_price}
param price_amount: {$OmnibuseufreeDebugData.param_price_amount}
param regular_price: {$OmnibuseufreeDebugData.param_regular_price}
computed fallback: {$OmnibuseufreeDebugData.computed_fallback}
computed minimal: {$OmnibuseufreeDebugData.computed_minimal}
forced_fallback_no_pre_discount_history: {$OmnibuseufreeDebugData.forced_fallback_no_pre_discount_history}

{/if}