Skip to content

Dreamer0x01/commerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commerce

E-commerce solution for Evolution CMS.

Documentation:

https://docs.evo.im/04_extras/commerce.html
https://github.com/evolution-cms/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
CloudPayments
Interkassa
LiqPay
Mollie
Paymaster
PaynetEasy
PayPal
Robokassa
Альфа-Банк
Сбербанк
Сбербанк кредит "Покупай со Сбербанком"
Stripe
Stripe Embed
Tinkoff
Центральная касса (нужен тестовый аккаунт для проверки)
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

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

About

Commerce for Evolution CMS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 65.7%
  • Smarty 23.3%
  • JavaScript 10.2%
  • CSS 0.8%