|
|
@@ -96,151 +96,6 @@
|
|
|
{/if}
|
|
|
{/if}
|
|
|
{/if}
|
|
|
- <!-- If Empty -->
|
|
|
- {* {if !empty{$ditem["dropdown"]} && !empty{$ditem['Plan']} && $ditem["dropdown"][$ditem['Plan']]|@count > "1" && !$block.DisableSwitcher} *}
|
|
|
- {* {if isset($ditem["dropdown"]) && isset($ditem['Plan']) && $ditem["dropdown"][$ditem['Plan']]|@count > "1" && !$block.DisableSwitcher} *}
|
|
|
- {* {if $ditem["dropdown"][$ditem['Plan']]|@count > "1" && !$block.DisableSwitcher} *}
|
|
|
- {* {if !{$ditem["dropdown"] ?? 'empty'} && !{$ditem['Plan'] ?? 'empty'} && $ditem["dropdown"][$ditem['Plan']]|@count > "1" && !$block.DisableSwitcher} *}
|
|
|
- {if $block.descp == ""}
|
|
|
- {if $block.bsco}
|
|
|
- {foreach $ditem["dropdown"] as $dropdownkey=>$dropdownprice}
|
|
|
- {$ditem["dropdown"][$dropdownkey] = $dropdownprice|@array_reverse}
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
-
|
|
|
- {assign var="dropdownprice" value=$ditem["dropdown"][$ditem['Plan']][0] nocache}
|
|
|
-
|
|
|
-
|
|
|
- {assign var="defaultbilling" value=$dropdownprice['cycle'] nocache}
|
|
|
- {assign var="taxtype" value=$dropdownprice['taxtype'] nocache}
|
|
|
- {assign var="hasconfigoptions" value=$dropdownprice['hasconfigoptions'] nocache}
|
|
|
- <!-- Assign Var {$defaultbilling} -->
|
|
|
- <!-- Assign Var $dropdownprice {$dropdownprice|print_r} -->
|
|
|
- <!-- Assign Var $block {$block|print_r} -->
|
|
|
-
|
|
|
- <div class="billing-cycle-pricing float{if $block.descp == "below"} desc_belwo{/if}">
|
|
|
-
|
|
|
- {if !$block.SbSwitcher}
|
|
|
- <div class="btn-group mb-2">
|
|
|
- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
- <div class="pricing_wrapr">
|
|
|
- {$dropdownprice['billingcycle']}
|
|
|
- <!-- Save Text auskommentiert -->
|
|
|
- {* {if $dropdownprice['save']}<div class="save_text"><span class="badge badge-primary">{$dropdownprice['save']}</span></div>{/if} *}
|
|
|
- </div>
|
|
|
- <span class="fal fa-angle-down"></span>
|
|
|
- </a>
|
|
|
- <ul class="dropdown-menu">
|
|
|
- <!-- Dropdown Price {$defaultbilling} -->
|
|
|
- {if $ditem["dropdown"][$ditem['Plan']]}
|
|
|
- {foreach $ditem["dropdown"][$ditem['Plan']] as $dropdownprice}
|
|
|
- <li class="billinging_wrapr" data-ultn-bilcycle="{$dropdownprice['cycle']}">
|
|
|
- <div class="pricing_wrapr">
|
|
|
- {$dropdownprice['billingcycle']} @ {if $dropdownprice['save']}<div class="save_text"><span class="badge badge-primary">{$dropdownprice['save']}</span></div>{/if}
|
|
|
- </div>
|
|
|
- </li>
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- <!-- if $ditem["dropdown"][$ditem['Plan']] -->
|
|
|
- {if $ditem["dropdown"][$ditem['Plan']]}
|
|
|
- <div class="product_pricing">
|
|
|
- {if $block.SbSwitcher}
|
|
|
- <!-- if $block.SbSwitcher -->
|
|
|
- <div class="pricing_main_default{if $defaultbilling eq "{$dropdownprice['cycle']}"} w-hidden{/if}">
|
|
|
- {if $dropdownprice['hasconfigoptions'] || $dropdownprice['save']}
|
|
|
- <div class="regular_pricing">
|
|
|
- {if $dropdownprice['hasconfigoptions']}
|
|
|
- <span class="small text-muted">{$WLANG.from}</span>
|
|
|
- {/if}
|
|
|
- {if $dropdownprice['save']}
|
|
|
- {if $dropdownprice['dollar'] && !$block.DisableBrekdown}
|
|
|
- <span class="savecut text-muted">{$dropdownprice['prefix']}{$dropdownprice['dollar']}.{$dropdownprice['cents']}{$dropdownprice['suffix']}</span>
|
|
|
- {/if}
|
|
|
- {if $block.SbSwitcher}<span class="badge badge-primary">{$dropdownprice['save']}</span>{/if}
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- <div class="price">
|
|
|
- <span class="cost" style="color: #1B5F8F;">
|
|
|
- {$dropdownprice['prefix']}
|
|
|
- {if $block.DisableBrekdown}
|
|
|
- {$dropdownprice['price']}
|
|
|
- {else}
|
|
|
- {$dropdownprice['monthlydollar']}.{$dropdownprice['monthlycents']}
|
|
|
- {/if}
|
|
|
- </span>
|
|
|
- {if $dropdownprice['suffix']}
|
|
|
- <span class="suffix">{$dropdownprice['suffix']}</span>
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- <div class="cycle small text-muted">{if $block.DisableBrekdown}{$dropdownprice.cycle|capitalize}{else}{if $dropdownprice['monthlycycle']}{$dropdownprice['monthlycycle']}{else}{$dropdownprice['cycleTerm']}{/if}{/if}</div>
|
|
|
- {if $dropdownprice['setup'] > 0}
|
|
|
- <div class="small text-muted">
|
|
|
- <span><i class="fal fa-plus"></i></span>
|
|
|
- <span>{$dropdownprice['prefix']}</span>
|
|
|
- {$dropdownprice['setup']}
|
|
|
- <span>{$dropdownprice['suffix']}</span>
|
|
|
- {$WLANG.ordersetupfee}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- <!-- foreach $ditem["dropdown"][$ditem['Plan']] as $dropdownprice -->
|
|
|
- {foreach $ditem["dropdown"][$ditem['Plan']] as $dropdownprice}
|
|
|
- <div class="pricing_main {$dropdownprice['cycle']}{if $defaultbilling neq "{$dropdownprice['cycle']}"} w-hidden{/if}" data-ultn-bilcycle="{$dropdownprice['cycle']}">
|
|
|
- {if $dropdownprice['hasconfigoptions'] || $dropdownprice['save']}
|
|
|
- <div class="regular_pricing">
|
|
|
- {if $dropdownprice['hasconfigoptions']}
|
|
|
- <span class="small text-muted">{$WLANG.from}</span>
|
|
|
- {/if}
|
|
|
- {if $dropdownprice['save']}
|
|
|
- {if $dropdownprice['dollar'] && !$block.DisableBrekdown}
|
|
|
- <span class="savecut text-muted">{$dropdownprice['prefix']}{$dropdownprice['dollar']}.{$dropdownprice['cents']}{$dropdownprice['suffix']}</span>
|
|
|
- {/if}
|
|
|
- {* {if $block.SbSwitcher}<span class="badge badge-primary">{$dropdownprice['save']}</span>{/if} *}
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- <div class="price">
|
|
|
- <span class="cost" style="color: #1B5F8F;">
|
|
|
- {$dropdownprice['prefix']}
|
|
|
- {if $block.DisableBrekdown}
|
|
|
- {$dropdownprice['price']}
|
|
|
- {else}
|
|
|
- {$dropdownprice['monthlydollar']}.{$dropdownprice['monthlycents']}
|
|
|
- {/if}
|
|
|
- </span>
|
|
|
- {if $dropdownprice['suffix']}<span class="suffix">{$dropdownprice['suffix']}</span>{/if}
|
|
|
- </div>
|
|
|
- <div class="cycle small text-muted">
|
|
|
- {if $block.DisableBrekdown}
|
|
|
- {$dropdownprice.cycle|capitalize}
|
|
|
- {else}
|
|
|
- {if $dropdownprice['monthlycycle']}
|
|
|
- {$dropdownprice['monthlycycle']}
|
|
|
- {else}
|
|
|
- {$dropdownprice['cycleTerm']}
|
|
|
- {/if}
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {if $dropdownprice['setup'] > 0}
|
|
|
- <div class="small text-muted">
|
|
|
- <span><i class="fal fa-plus"></i></span>
|
|
|
- <span>{$dropdownprice['prefix']}</span>
|
|
|
- {$dropdownprice['setup']}
|
|
|
- <span>{$dropdownprice['suffix']}</span>
|
|
|
- {$WLANG.ordersetupfee}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {/foreach}
|
|
|
- </div>
|
|
|
- {/if}
|
|
|
- </div>
|
|
|
- {else}
|
|
|
<div class="product_pricing_single">
|
|
|
{if $block.DisableBrekdown}
|
|
|
{if isset($ditem.dropdown) && is_array($ditem.dropdown)}
|
|
|
@@ -291,7 +146,6 @@
|
|
|
{/if}
|
|
|
{/if}
|
|
|
</div>
|
|
|
- {/if}
|
|
|
|
|
|
{if $block.descp == "below" || $block.descp == "1"}
|
|
|
{if count($ditem['productdetails']['description']['features']) > 0}
|