The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist skeeks/cms-shop-checkout-simple-widget "*"
or add
"skeeks/cms-shop-checkout-simple-widget": "*"
<?= \skeeks\cms\shopCheckoutSimple\ShopCheckoutSimpleWidget::widget(); ?>
<? $checkoutWidget = \skeeks\cms\shopCheckoutSimple\ShopCheckoutSimpleWidget::begin([
'btnSubmitWrapperOptions' => [
'style' => 'display: none;'
]
]); ?>
<? \skeeks\cms\shopCheckoutSimple\ShopCheckoutSimpleWidget::end(); ?>
<a href="#" onclick="$('#{$checkoutWidget->formId}').submit(); return false;">Отправка вне формы</a>
##Links
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com