-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ce725df
Showing
208 changed files
with
20,292 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Merx | ||
|
||
Merx is a plugin to create online shops with [Kirby 3](https://getkirby.com). | ||
|
||
## Documentation | ||
|
||
[merx.wagnerwagner.de/docs](https://merx.wagnerwagner.de/docs) | ||
|
||
## Issues | ||
|
||
Please report issues on Github: [wagnerwagner/merx](https://github.com/wagnerwagner/merx) | ||
|
||
## Ideas & Feature Requests | ||
|
||
Please use Github issues to submit your ideas and wishes: [wagnerwagner/merx](https://github.com/wagnerwagner/merx). | ||
|
||
Alternatively we can discuss ideas at [Kirby Forum](https://forum.getkirby.com). | ||
|
||
## License | ||
|
||
The Merx plugin is not free software. In order to run on a public server you must purchase a valid [Kirby license](https://getkirby.com/buy) **and** a valid [Merx license](https://merx.wagnerwagner.de/buy). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/vendor/**/.* | ||
/vendor/**/*.json | ||
/vendor/**/*.txt | ||
/vendor/**/*.md | ||
/vendor/**/*.yml | ||
/vendor/**/*.yaml | ||
/vendor/**/*.xml | ||
/vendor/**/*.dist | ||
/vendor/**/readme.php | ||
/vendor/**/LICENSE | ||
/vendor/**/COPYING | ||
/vendor/**/VERSION | ||
/vendor/**/docs/* | ||
/vendor/**/example/* | ||
/vendor/**/examples/* | ||
/vendor/**/test/* | ||
/vendor/**/tests/* | ||
/vendor/**/php4/* | ||
/vendor/getkirby/composer-installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
title: Order | ||
|
||
status: | ||
draft: Error | ||
unlisted: Incomplete | ||
listed: Complete | ||
|
||
options: | ||
changeSlug: false | ||
changeTemplate: false | ||
changeTitle: false | ||
delete: false | ||
|
||
tabs: | ||
overview: | ||
sections: | ||
order: sections/order | ||
payment: | ||
sections: | ||
payment-method: sections/payment-method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
title: Orders | ||
|
||
status: | ||
draft: Draft | ||
unlisted: Invisible | ||
|
||
options: | ||
changeSlug: false | ||
changeStatus: false | ||
changeTemplate: false | ||
delete: false | ||
preview: false | ||
update: false | ||
|
||
sections: | ||
orders: sections/orders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
title: Product | ||
|
||
options: | ||
changeSlug: false | ||
changeTemplate: false | ||
delete: false | ||
|
||
fields: | ||
price: | ||
label: Price | ||
type: number | ||
required: true | ||
step: .01 | ||
min: 0 | ||
tax: | ||
label: Tax | ||
type: number | ||
required: true | ||
step: 1 | ||
min: 0 | ||
max: 100 | ||
after: % |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
type: fields | ||
fields: | ||
headlineOrder: | ||
label: Order | ||
type: headline | ||
numbered: false | ||
items: | ||
label: Items | ||
type: structure | ||
width: 2/3 | ||
fields: | ||
id: | ||
label: ID | ||
type: text | ||
quantity: | ||
label: Quantity | ||
type: text | ||
price: | ||
label: Price | ||
type: text | ||
tax: | ||
label: Tax | ||
type: text | ||
infoOrder: | ||
label: Info | ||
type: info | ||
width: 1/3 | ||
text: > | ||
Invoice Number: {{ page.invoiceNumber }}<br> | ||
Sum: {{ page.formattedSum }}<br> | ||
Invoice Date: {{ page.invoiceDate }}<br> | ||
Payed Date: {{ page.payedDate }}<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type: pages | ||
parent: site.find("orders") | ||
template: order | ||
sortBy: num desc | ||
text: "#{{ page.invoiceNumber }}" | ||
info: "{{ page.formattedSum }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
type: fields | ||
fields: | ||
paymentMethod: | ||
label: Payment Method | ||
type: text | ||
required: true | ||
width: 1/2 | ||
paymentComplete: | ||
label: Payment Complete | ||
type: toggle | ||
width: 1/2 | ||
text: | ||
- "No" | ||
- "Yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "wagnerwagner/merx", | ||
"description": "A toolkit to create online shops with Kirby 3", | ||
"version": "1.0.0-beta.1", | ||
"license": "proprietary", | ||
"homepage": "https://merx.wagnerwagner.de", | ||
"type": "kirby-plugin", | ||
"authors": [ | ||
{ | ||
"name": "Tobias Wolf", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/wagnerwagner/merx/issues", | ||
"source": "https://github.com/wagnerwagner/merx" | ||
}, | ||
"require": { | ||
"stripe/stripe-php": "^6.28", | ||
"paypal/paypal-checkout-sdk": "1.0.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^7", | ||
"getkirby/cms": "^3.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Wagnerwagner\\Merx\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "./vendor/bin/phpunit --bootstrap vendor/autoload.php tests" | ||
}, | ||
"config": { | ||
"optimize-autoloader": true | ||
} | ||
} |
Oops, something went wrong.