skeeks / cms-shop-checkout-simple-widget
Widget shop simple checkout for SkeekS CMS
Installs: 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:yii2-extension
Requires
This package is auto-updated.
Last update: 2024-08-29 04:37:00 UTC
README
Installation
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": "*"
Example
<?= \skeeks\cms\shopCheckoutSimple\ShopCheckoutSimpleWidget::widget(); ?>
Example advanced
<? $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