/commerce

Commerce for Evolution CMS

Primary LanguagePHP

Commerce

E-commerce solution for Evolution CMS.

Documentation:

https://docs.evo.im/04_extras/commerce.html
https://github.com/evocms-community/docs/tree/master/ru/04_%D0%9A%D0%BE%D0%BC%D0%BF%D0%BE%D0%BD%D0%B5%D0%BD%D1%82%D1%8B/Commerce

Payment methods:

Bill
Bepaid
CloudPayments
Interkassa
Lava
LiqPay
Mollie
Monobank
Nowpayments
Paymaster
PaynetEasy
Payok
PayPal
Robokassa
Альфа-Банк
ПСБ
Сбербанк
Сбербанк кредит "Покупай со Сбербанком"
Portmone
Stripe
Stripe Embed
Tinkoff
Uniteller
Центральная касса (нужен тестовый аккаунт для проверки)
WayForPay
ЮKassa (Яндекс.Касса)
Authorize.net
Webpay
Przelewy24
Экспресс Платежи (ЕРИП)
Яндекс Сплит

Delivery:

Новая почта
СДЭК
GoShippo

Other:

Product Options
Coupons
Coupons (3.x)
Discounts
CBR Currency Updater
Dashboard
Отправка чеков в arendakass.ru
Database storage for commerce carts
A plugin to list order data in a separate page
A plugin to sale files
Промокоды
Посуточное бронирование

Add product to cart:

<form action="#" data-commerce-action="add">
    <input type="hidden" name="id" value="[*id*]">
    <input type="hidden" name="count" value="1">
    <input type="hidden" name="options[color]" value="White">
    <input type="hidden" name="options[services][]" value="Uplift">
    <input type="hidden" name="options[services][]" value="Assembling">
    <input type="hidden" name="meta[key]" value="value">
    <button type="submit">Add to cart</button>
</form>

<a href="#" data-commerce-action="add" data-id="[*id*]" data-count="2">Add to cart</a>

<a href="#" data-commerce-action="add" data-id="[*id*]" data-instance="wishlist">Add to wishlist</a>

<a href="#" data-commerce-action="remove" data-row="[*row*]">Remove from cart by row hash</a>

<a href="#" data-commerce-action="remove" data-id="[*id*]">Remove from cart by ID</a>

<!-- batch adding -->
<form action="#" data-commerce-action="add">
    <input type="checkbox" name="batch[1][id]" value="1">
    <input type="hidden" name="batch[1][count]" value="1">
    <input type="checkbox" name="batch[2][id]" value="2">
    <input type="hidden" name="batch[2][count]" value="1">
    <button type="submit">Add to cart</button>
</form>

Show cart:

[!Cart
    &instance=`products`
    &theme=``
    &tpl=`tpl`
    &optionsTpl=`optionsTpl`
    &ownerTPL=`ownerTPL`
    &subtotalsRowTpl=`subtotalsRowTpl`
    &subtotalsTpl=`subtotalsTpl`
!]

Show currency selection:

[!CurrencySelect
    &tpl=`tpl`
    &activeTpl=`activeTpl`
    &outerTpl=`outerTpl`
!]

Show order form:

[!Order
    &formTpl=`formTpl`
    &deliveryTpl=`deliveryTpl`
    &deliveryRowTpl=`deliveryRowTpl`
    &paymentsTpl=`paymentsTpl`
    &paymentsRowTpl=`paymentsRowTpl`
    &reportTpl=`reportTpl`
    &ccSenderTpl=`ccSenderTpl`
!]

Payments settings:

Process: POST /commerce/<payment_code>/payment-process
Success: POST /commerce/<payment_code>/payment-success
Failed:  POST /commerce/<payment_code>/payment-failed