skeeks/cms-shop-checkout-simple-widget

Widget shop simple checkout for SkeekS CMS

1.0.0 2017-08-31 19:41 UTC

This package is auto-updated.

Last update: 2024-02-29 03:23:36 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!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com