Files
redline.com.pl/modules/wkonepagecheckout/views/templates/front/wkcheckout.tpl
2024-11-11 18:46:54 +01:00

67 lines
2.2 KiB
Smarty

{**
* 2010-2020 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author Webkul IN <support@webkul.com>
* @copyright 2010-2020 Webkul IN
* @license https://store.webkul.com/license.html
*}
{extends file='checkout/checkout.tpl'}
{block name='content'}
<section class="main" id="wk-one-page-checkout">
{php}
$user_group = Customer::getDefaultGroupId( Context::getContext() -> customer -> id );
if ( $user_group >= 4 )
{
echo '<h1 style="text-align: center; margin-bottom: 15px;">B2B</h1>';
}
{/php}
<section class="page-content card card-block">
<div class="row">
<div class="col-lg-4 col-md-12 col-sm-12">
{block name='wk-customer-info'}
{include file="module:wkonepagecheckout/views/templates/front/content/wk_customer_info.tpl"}
{/block}
</div>
<div class="col-lg-8 col-md-12 col-sm-12">
{block name='wk_order_summary'}
{include file="module:wkonepagecheckout/views/templates/front/content/wkordersummary.tpl"}
{/block}
<div class="row">
{block name='wk_order_shipping'}
<div class="col-md-6 col-sm-12 col-xs-12" id="wk_shipping_section">
{include file="module:wkonepagecheckout/views/templates/front/content/wkshippingmethod.tpl"}
</div>
{/block}
{block name='wk_order_payment'}
<div class="col-md-6 col-sm-12 col-xs-12" id="wk_payment_section">
{include file="module:wkonepagecheckout/views/templates/front/content/wkpaymentmethod.tpl"}
</div>
{/block}
</div>
{block name='wk_payment_condition'}
{include file="module:wkonepagecheckout/views/templates/front/content/wkcondition.tpl"}
{/block}
</div>
</div>
</section>
{if Configuration::get('WK_CHECKOUT_CART_ALSO_BOUGHT')}
{hook h="displayWhoBoughtAlsoBought"}
{/if}
</section>
{/block}