railroad / ecommerce
Ecommerce system
Installs: 76 774
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: ^8.2
- ext-json: *
- ext-openssl: *
- ext-pdo: *
- ext-redis: *
- aporat/store-receipt-validator: 4.2.*
- doctrine/annotations: ^2.0
- doctrine/dbal: ^3.3
- doctrine/inflector: ^2.0
- doctrine/orm: ^2.19
- guzzlehttp/guzzle: ^7.2
- laravel/framework: ^11.9
- railroad/doctrine: 3.0.*
- railroad/doctrine-array-hydrator: 3.0.*
- railroad/location: 4.0.*
- railroad/permissions: 3.0.*
- railroad/remotestorage: 3.0.*
- ramsey/uuid: ^4.3
- stripe/stripe-php: ^7.95
Requires (Dev)
- orchestra/testbench: ^9.2
- phpunit/php-code-coverage: ^11.0.1
- phpunit/phpunit: ^11.0.1
- dev-main
- v6.0.x-dev
- v6.0.1
- v6.0.0
- 5.0.x-dev
- v5.0.114
- v5.0.113
- v5.0.112
- v5.0.111
- v5.0.110
- v5.0.109
- v5.0.108
- v5.0.107
- v5.0.106
- v5.0.105
- v5.0.104
- v5.0.103
- v5.0.102
- v5.0.101
- v5.0.100
- v5.0.99
- v5.0.98
- v5.0.97
- v5.0.96
- v5.0.95
- v5.0.94
- v5.0.93
- v5.0.92
- v5.0.91
- v5.0.90
- v5.0.89
- v5.0.88
- v5.0.87
- v5.0.86
- v5.0.85
- v5.0.84
- v5.0.83
- v5.0.82
- v5.0.81
- v5.0.80
- v5.0.79
- v5.0.78
- v5.0.77
- v5.0.76
- v5.0.75
- v5.0.74
- v5.0.73
- v5.0.72
- v5.0.71
- v5.0.70
- v5.0.69
- v5.0.68
- v5.0.67
- v5.0.66
- v5.0.65
- v5.0.64
- v5.0.63
- v5.0.62
- v5.0.61
- v5.0.60
- v5.0.59
- v5.0.58
- v5.0.57
- v5.0.56
- v5.0.55
- v5.0.54
- v5.0.53
- v5.0.52
- v5.0.51
- v5.0.50
- v5.0.49
- v5.0.48
- v5.0.47
- v5.0.46
- v5.0.45
- v5.0.44
- v5.0.43
- v5.0.42
- v5.0.41
- v5.0.40
- v5.0.39
- v5.0.38
- v5.0.37
- v5.0.36
- v5.0.35
- v5.0.34
- v5.0.33
- v5.0.31
- v5.0.30
- v5.0.29
- v5.0.28
- v5.0.27
- v5.0.26
- 5.0.25
- v5.0.24
- v5.0.23
- v5.0.22
- v5.0.21
- v5.0.20
- v5.0.19
- v5.0.18
- v5.0.17
- v5.0.16
- v5.0.15
- v5.0.14
- v5.0.13
- v5.0.12
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.0.36
- v4.0.35
- v4.0.34
- v4.0.33
- v4.0.32
- v4.0.31
- v4.0.30
- v4.0.29
- v4.0.28
- v4.0.27
- v4.0.26
- v4.0.25
- v4.0.24
- v4.0.23
- v4.0.22
- v4.0.21
- v4.0.20
- v4.0.19
- v4.0.18
- v4.0.17
- v4.0.16
- v4.0.15
- v4.0.14
- v4.0.13
- v4.0.12
- v4.0.11
- v4.0.10
- v4.0.9
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- 2.5.x-dev
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.127
- v2.4.126
- v2.4.125
- v2.4.124
- v2.4.123
- v2.4.122
- v2.4.121
- v2.4.120
- v2.4.119
- v2.4.118
- v2.4.117
- v2.4.116
- v2.4.115
- v2.4.114
- v2.4.113
- v2.4.112
- v2.4.111
- v2.4.110
- v2.4.109
- v2.4.108
- v2.4.107
- v2.4.106
- v2.4.105
- v2.4.104
- v2.4.103
- v2.4.102
- v2.4.101
- v2.4.100
- v2.4.99
- v2.4.98
- v2.4.97
- v2.4.96
- v2.4.95
- v2.4.94
- v2.4.93
- v2.4.92
- v2.4.91
- v2.4.90
- v2.4.89
- v2.4.88
- v2.4.87
- v2.4.86
- v2.4.85
- v2.4.84
- v2.4.83
- v2.4.82
- v2.4.81
- v2.4.80
- v2.4.79
- v2.4.78
- v2.4.77
- v2.4.76
- v2.4.75
- v2.4.74
- v2.4.73
- v2.4.72
- v2.4.71
- v2.4.70
- v2.4.69
- v2.4.68
- v2.4.67
- v2.4.66
- v2.4.65
- v2.4.64
- v2.4.63
- v2.4.62
- v2.4.61
- v2.4.60
- v2.4.59
- v2.4.58
- v2.4.57
- v2.4.56
- v2.4.55
- v2.4.54
- v2.4.53
- v2.4.52
- v2.4.51
- v2.4.50
- v2.4.49
- v2.4.48
- v2.4.47
- v2.4.46
- v2.4.45
- v2.4.44
- v2.4.43
- v2.4.42
- v2.4.41
- v2.4.40
- v2.4.39
- v2.4.38
- v2.4.37
- v2.4.36
- v2.4.35
- v2.4.34
- v2.4.33
- v2.4.32
- v2.4.31
- v2.4.30
- v2.4.29
- v2.4.28
- v2.4.27
- v2.4.26
- v2.4.25
- v2.4.24
- v2.4.23
- v2.4.22
- v2.4.21
- v2.4.20
- v2.4.19
- v2.4.15
- v2.4.14
- v2.4.13
- v2.4.12
- v2.4.11
- v2.4.10
- v2.4.9
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.104
- v2.3.103
- v2.3.102
- v2.3.101
- v2.3.100
- v2.3.99
- v2.3.98
- v2.3.97
- v2.3.96
- v2.3.95
- v2.3.94
- v2.3.93
- v2.3.92
- v2.3.91
- v2.3.90
- v2.3.89
- v2.3.88
- v2.3.87
- v2.3.86
- v2.3.85
- v2.3.84
- v2.3.83
- v2.3.82
- v2.3.81
- v2.3.80
- v2.3.79
- v2.3.78
- v2.3.77
- v2.3.76
- v2.3.75
- v2.3.74
- v2.3.73
- v2.3.72
- v2.3.71
- v2.3.70
- v2.3.69
- v2.3.68
- v2.3.67
- v2.3.66
- v2.3.65
- v2.3.64
- v2.3.63
- v2.3.62
- v2.3.61
- v2.3.60
- v2.3.59
- v2.3.58
- v2.3.57
- v2.3.56
- v2.3.55
- v2.3.54
- v2.3.53
- v2.3.52
- v2.3.51
- v2.3.50
- v2.3.49
- v2.3.48
- v2.3.47
- v2.3.46
- v2.3.45
- v2.3.44
- v2.3.43
- v2.3.42
- v2.3.41
- v2.3.40
- v2.3.39
- v2.3.38
- v2.3.37
- v2.3.36
- v2.3.35
- v2.3.34
- v2.3.33
- v2.3.32
- v2.3.31
- v2.3.30
- v2.3.29
- v2.3.28
- v2.3.27
- v2.3.26
- v2.3.25
- v2.3.24
- v2.3.23
- v2.3.22
- v2.3.21
- v2.3.20
- v2.3.19
- v2.3.18
- v2.3.17
- v2.3.16
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.38
- v2.2.37
- v2.2.36
- v2.2.35
- v2.2.34
- v2.2.33
- v2.2.32
- v2.2.31
- v2.2.30
- v2.2.29
- v2.2.28
- v2.2.27
- v2.2.26
- v2.2.25
- v2.2.24
- v2.2.23
- v2.2.22
- v2.2.21
- v2.2.20
- v2.2.19
- v2.2.18
- v2.2.17
- v2.2.16
- v2.2.15
- v2.2.14
- v2.2.13
- v2.2.12
- v2.2.11
- v2.2.10
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.1
- v2.1.0
- v2.0.54
- v2.0.53
- v2.0.52
- v2.0.51
- v2.0.50
- v2.0.49
- v2.0.39
- v2.0.38
- v2.0.37
- v2.0.36
- v2.0.35
- v2.0.34
- v2.0.33
- v2.0.32
- v2.0.31
- v2.0.30
- v2.0.29
- v2.0.28
- v2.0.27
- v2.0.26
- v2.0.25
- v2.0.24
- v2.0.23
- v2.0.22
- v2.0.21
- v2.0.20
- v2.0.19
- v2.0.18
- v2.0.17
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- 1.4.x-dev
- v1.4.1
- v1.4.0
- v1.0.75
- v1.0.74
- v1.0.73
- v1.0.72
- v1.0.71
- v1.0.70
- v1.0.69
- v1.0.68
- v1.0.67
- v1.0.66
- v1.0.65
- v1.0.64
- v1.0.63
- v1.0.62
- v1.0.61
- v1.0.60
- v1.0.59
- v1.0.58
- v1.0.57
- v1.0.56
- v1.0.55
- v1.0.54
- v1.0.53
- v1.0.52
- v1.0.51
- v1.0.50
- v1.0.49
- v1.0.48
- v1.0.47
- v1.0.46
- v1.0.45
- v1.0.44
- v1.0.43
- v1.0.42
- v1.0.41
- v1.0.40
- v1.0.39
- v1.0.38
- v1.0.37
- v1.0.36
- v1.0.35
- v1.0.34
- v1.0.33
- v1.0.32
- v1.0.31
- v1.0.30
- v1.0.29
- v1.0.28
- v1.0.27
- v1.0.26
- v1.0.25
- v1.0.24
- v1.0.23
- v1.0.22
- v1.0.21
- v1.0.20
- v1.0.19
- v1.0.18
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.08
- v1.0.07
- v1.0.06
- v1.0.05
- v1.0.04
- v1.0.03
- v1.0.02
- v1.0.01
- v1.0.0
- v0.0.28
- v0.0.27
- v0.0.25
- v0.0.24
- v0.0.23
- v0.0.22
- v0.0.21
- v0.0.20
- v0.0.19
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.09
- v0.0.08
- v0.0.07
- v0.0.06
- v0.0.05
- v0.0.04
- v0.0.03
- v0.0.02
- v0.0.01
- dev-remove-access-code-logic
- dev-revert-referral
- dev-4.0-
- dev-5.0-revenuecat-observer
- dev-5.0-revenuecat
- dev-august-referral-contest
- dev-fix-BR632-rwillems-20230809
- dev-rwillems-stripe-20230802
- dev-5.0-in-app-products
- dev-5.0-no-extra-days-for-trials-BR-662
- dev-5.0-feature-user-payment-event-MT-472
- dev-5.0-feature-user-payment-event-MT-472-dummy
- dev-5.0-update-payment-taxes-decimal-places
- dev-5.0-feature-update-gst-number-MT-428
- dev-5.0-command-qst-payments-mwp-MT-427
- dev-5.0-fix-order-validation-trial-users
- dev-5.0-feature-add-source-column-access-codes-CMT-7
- dev-4.0-feature-add-source-column-access-codes-CMT-7
- dev-5.0-fix-mt374-dev-aid
- dev-feature-upgrade-rwillems-20221412
- dev-support-old-app-purchases
- dev-5.0-new-methods-user-product-repository
- dev-4.0-quickfix-30-drummers-cart-bug
- dev-4.0-feature-out-of-stock
- dev-feature-mentors
- dev-bug-331-rwillems_20220715
- dev-4.0-feature-new-discounts-EV40PS-7-EV40PS-8
- dev-4.0-cancellation-ux
- dev-4.0-user-access-service
- dev-3.0-cancellation-ux
- dev-v4.0-hotfix-payment-brand-EV40PS-4
- dev-3.0-
- dev-4.0-new-ecommerce-products-columns
- dev-mircea-test
- dev-3.0-trial-extra-days-of-access
- dev-3.0-app-login
- dev-3.0-cc-last-digits
- dev-3.0-intents
- dev-2.5-sub-renew-fix
- dev-2.5-invoice-brand
- dev-2.5-membership-stats-revamp
- dev-2.4-
- dev-2.4-new-accounting-sku
- dev-2.4-order-form-updates
- dev-2.0-membership-stats-fix
- dev-2.4-soft-deleteable-filter-fix
- dev-2.4-new-exchange-package
- dev-restore-signup
- dev-in-app-prices
- dev-2.4-daily-stats-over-reporting-fix
- dev-2.4-zero-dollar-invoice-fix
- dev-2.4-checkout-1.1
- dev-2.4-cart-sidebar
- dev-2.4-customer-admin-ordering
- dev-2.4-payment-plans-totals
- dev-2.4-accounting-and-retention-revamp
- dev-2.4-membership-action-and-user-product-start-date
- dev-2.4-tax-revamp
- dev-2.4-signup
- dev-2.3-
- dev-2.3-pack-purchase
- dev-2.3-app-purchase
- dev-dynamic-user-link-wip-2.4-legacy
- dev-2.2-
- dev-2.0-
- dev-2.1-
- dev-1.0-
- dev-1.2-
- dev-1.1-
This package is auto-updated.
Last update: 2024-11-05 19:48:19 UTC
README
E-commerce system
Install
With composer command
composer require railroad/ecommerce:1.0.19
API Reference
Add item to cart - forms controller
GET /ecommerce/add-to-cart
Request Example
<form method="GET" action="/ecommerce/add-to-cart">
<input type="text" name="products[SKU-abc]" value="2">
<input type="text" name="products[SKU-aaa]" value="1">
<input type="text" name="products[SKU-bbb]" value="1">
<button type="submit">Submit</button>
</form>
Request Parameters
Response Example
302
Redirects to previous url or to path passed in with redirect param.
On the session are flashed the following data:
* success
- boolean value
* addedProducts
- array with added product info
* cartSubTotal
- cart items subtotal price
* cartNumberOfItems
- the number of cart items
* notAvailableProducts
- array with the error messages for the products that could not be added to cart