-
Notifications
You must be signed in to change notification settings - Fork 53
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
Showing
173 changed files
with
5,745 additions
and
3,171 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,51 @@ | ||
<!-- wp:woocommerce/cart --> | ||
<div class="wp-block-woocommerce-cart is-loading"><!-- wp:woocommerce/filled-cart-block --> | ||
<div class="wp-block-woocommerce-filled-cart-block"><!-- wp:woocommerce/cart-items-block --> | ||
<div class="wp-block-woocommerce-cart-items-block"><!-- wp:woocommerce/cart-line-items-block --> | ||
<div class="wp-block-woocommerce-cart-line-items-block"></div> | ||
<!-- /wp:woocommerce/cart-line-items-block --></div> | ||
<!-- /wp:woocommerce/cart-items-block --> | ||
|
||
<!-- wp:woocommerce/cart-totals-block --> | ||
<div class="wp-block-woocommerce-cart-totals-block"><!-- wp:woocommerce/cart-order-summary-block --> | ||
<div class="wp-block-woocommerce-cart-order-summary-block"></div> | ||
<!-- /wp:woocommerce/cart-order-summary-block --> | ||
|
||
<!-- wp:woocommerce/cart-express-payment-block --> | ||
<div class="wp-block-woocommerce-cart-express-payment-block"></div> | ||
<!-- /wp:woocommerce/cart-express-payment-block --> | ||
|
||
<!-- wp:woocommerce/proceed-to-checkout-block --> | ||
<div class="wp-block-woocommerce-proceed-to-checkout-block"></div> | ||
<!-- /wp:woocommerce/proceed-to-checkout-block --> | ||
|
||
<!-- wp:woocommerce/cart-accepted-payment-methods-block --> | ||
<div class="wp-block-woocommerce-cart-accepted-payment-methods-block"></div> | ||
<!-- /wp:woocommerce/cart-accepted-payment-methods-block --></div> | ||
<!-- /wp:woocommerce/cart-totals-block --></div> | ||
<!-- /wp:woocommerce/filled-cart-block --> | ||
|
||
<!-- wp:woocommerce/empty-cart-block --> | ||
<div class="wp-block-woocommerce-empty-cart-block"><!-- wp:image {"align":"center","sizeSlug":"small"} --> | ||
<div class="wp-block-image"><figure class="aligncenter size-small"><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDBDOC41MDQwMyAwIDAgOC41MDQwMyAwIDE5QzAgMjkuNDk2IDguNTA0MDMgMzggMTkgMzhDMjkuNDk2IDM4IDM4IDI5LjQ5NiAzOCAxOUMzOCA4LjUwNDAzIDI5LjQ5NiAwIDE5IDBaTTI1LjEyOSAxMi44NzFDMjYuNDg1MSAxMi44NzEgMjcuNTgwNiAxMy45NjY1IDI3LjU4MDYgMTUuMzIyNkMyNy41ODA2IDE2LjY3ODYgMjYuNDg1MSAxNy43NzQyIDI1LjEyOSAxNy43NzQyQzIzLjc3MyAxNy43NzQyIDIyLjY3NzQgMTYuNjc4NiAyMi42Nzc0IDE1LjMyMjZDMjIuNjc3NCAxMy45NjY1IDIzLjc3MyAxMi44NzEgMjUuMTI5IDEyLjg3MVpNMTEuNjQ1MiAzMS4yNTgxQzkuNjE0OTIgMzEuMjU4MSA3Ljk2Nzc0IDI5LjY0OTIgNy45Njc3NCAyNy42NTczQzcuOTY3NzQgMjYuMTI1IDEwLjE1MTIgMjMuMDI5OCAxMS4xNTQ4IDIxLjY5NjhDMTEuNCAyMS4zNjczIDExLjg5MDMgMjEuMzY3MyAxMi4xMzU1IDIxLjY5NjhDMTMuMTM5MSAyMy4wMjk4IDE1LjMyMjYgMjYuMTI1IDE1LjMyMjYgMjcuNjU3M0MxNS4zMjI2IDI5LjY0OTIgMTMuNjc1NCAzMS4yNTgxIDExLjY0NTIgMzEuMjU4MVpNMTIuODcxIDE3Ljc3NDJDMTEuNTE0OSAxNy43NzQyIDEwLjQxOTQgMTYuNjc4NiAxMC40MTk0IDE1LjMyMjZDMTAuNDE5NCAxMy45NjY1IDExLjUxNDkgMTIuODcxIDEyLjg3MSAxMi44NzFDMTQuMjI3IDEyLjg3MSAxNS4zMjI2IDEzLjk2NjUgMTUuMzIyNiAxNS4zMjI2QzE1LjMyMjYgMTYuNjc4NiAxNC4yMjcgMTcuNzc0MiAxMi44NzEgMTcuNzc0MlpNMjUuOTEwNSAyOS41ODc5QzI0LjE5NDQgMjcuNTM0NyAyMS42NzM4IDI2LjM1NDggMTkgMjYuMzU0OEMxNy4zNzU4IDI2LjM1NDggMTcuMzc1OCAyMy45MDMyIDE5IDIzLjkwMzJDMjIuNDAxNiAyMy45MDMyIDI1LjYxMTcgMjUuNDA0OCAyNy43ODc1IDI4LjAyNUMyOC44NDQ4IDI5LjI4MTUgMjYuOTI5NCAzMC44MjE0IDI1LjkxMDUgMjkuNTg3OVoiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=" alt=""/></figure></div> | ||
<!-- /wp:image --> | ||
|
||
<!-- wp:heading {"textAlign":"center","className":"wc-block-cart__empty-cart__title"} --> | ||
<h2 class="has-text-align-center wc-block-cart__empty-cart__title">Your cart is currently empty!</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"><a href="https://2546-139-47-17-2.eu.ngrok.io/shop">Browse store</a>.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:separator {"className":"is-style-dots"} --> | ||
<hr class="wp-block-separator is-style-dots"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:heading {"textAlign":"center"} --> | ||
<h2 class="has-text-align-center">New in store</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:woocommerce/product-new {"rows":1} /--></div> | ||
<!-- /wp:woocommerce/empty-cart-block --></div> | ||
<!-- /wp:woocommerce/cart --> |
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,45 @@ | ||
<!-- wp:woocommerce/checkout --> | ||
<div class="wp-block-woocommerce-checkout wc-block-checkout is-loading"><!-- wp:woocommerce/checkout-fields-block --> | ||
<div class="wp-block-woocommerce-checkout-fields-block"><!-- wp:woocommerce/checkout-express-payment-block --> | ||
<div class="wp-block-woocommerce-checkout-express-payment-block"></div> | ||
<!-- /wp:woocommerce/checkout-express-payment-block --> | ||
|
||
<!-- wp:woocommerce/checkout-contact-information-block --> | ||
<div class="wp-block-woocommerce-checkout-contact-information-block"></div> | ||
<!-- /wp:woocommerce/checkout-contact-information-block --> | ||
|
||
<!-- wp:woocommerce/checkout-shipping-address-block --> | ||
<div class="wp-block-woocommerce-checkout-shipping-address-block"></div> | ||
<!-- /wp:woocommerce/checkout-shipping-address-block --> | ||
|
||
<!-- wp:woocommerce/checkout-billing-address-block --> | ||
<div class="wp-block-woocommerce-checkout-billing-address-block"></div> | ||
<!-- /wp:woocommerce/checkout-billing-address-block --> | ||
|
||
<!-- wp:woocommerce/checkout-shipping-methods-block --> | ||
<div class="wp-block-woocommerce-checkout-shipping-methods-block"></div> | ||
<!-- /wp:woocommerce/checkout-shipping-methods-block --> | ||
|
||
<!-- wp:woocommerce/checkout-payment-block --> | ||
<div class="wp-block-woocommerce-checkout-payment-block"></div> | ||
<!-- /wp:woocommerce/checkout-payment-block --> | ||
|
||
<!-- wp:woocommerce/checkout-order-note-block --> | ||
<div class="wp-block-woocommerce-checkout-order-note-block"></div> | ||
<!-- /wp:woocommerce/checkout-order-note-block --> | ||
|
||
<!-- wp:woocommerce/checkout-terms-block --> | ||
<div class="wp-block-woocommerce-checkout-terms-block"></div> | ||
<!-- /wp:woocommerce/checkout-terms-block --> | ||
|
||
<!-- wp:woocommerce/checkout-actions-block --> | ||
<div class="wp-block-woocommerce-checkout-actions-block"></div> | ||
<!-- /wp:woocommerce/checkout-actions-block --></div> | ||
<!-- /wp:woocommerce/checkout-fields-block --> | ||
|
||
<!-- wp:woocommerce/checkout-totals-block --> | ||
<div class="wp-block-woocommerce-checkout-totals-block"><!-- wp:woocommerce/checkout-order-summary-block --> | ||
<div class="wp-block-woocommerce-checkout-order-summary-block"></div> | ||
<!-- /wp:woocommerce/checkout-order-summary-block --></div> | ||
<!-- /wp:woocommerce/checkout-totals-block --></div> | ||
<!-- /wp:woocommerce/checkout --> |
File renamed without changes.
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,4 @@ | ||
#!/bin/bash | ||
|
||
wp plugin install wordpress-importer --activate | ||
wp import ../sample_products.xml --authors=skip |
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,3 @@ | ||
#!/bin/bash | ||
|
||
wp plugin install woo-gutenberg-products-block --activate |
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,15 @@ | ||
#!/bin/bash | ||
|
||
#activate tax setting | ||
wp option set woocommerce_calc_taxes "yes" | ||
#create tax | ||
wp wc tax create --rate=10 --name="Standard tax" --priority=1 --compound=0 --shipping=1 --user="admin" | ||
wp option set woocommerce_tax_display_shop "incl" | ||
#euro | ||
wp option set woocommerce_currency "EUR" | ||
|
||
#store address | ||
wp option set woocommerce_store_address "Calle Drutal" | ||
wp option set woocommerce_store_address_2 "" | ||
wp option set woocommerce_store_city "Valencia" | ||
wp option set woocommerce_default_country "DE:DE-BE" |
3 changes: 3 additions & 0 deletions
3
.ddev/commands/web/orchestrate.d/34_woocommerce_classic_pages.sh
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,3 @@ | ||
#!/bin/bash | ||
|
||
wp wc tool run install_pages --user="admin" |
4 changes: 4 additions & 0 deletions
4
.ddev/commands/web/orchestrate.d/35_woocommerce_block_pages.sh
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,4 @@ | ||
#!/bin/bash | ||
|
||
wp post create ../checkout-block.txt --post_title='checkout-block' --post_type=page --post_status=publish | ||
wp post create ../cart-block.txt --post_title='cart-block' --post_type=page --post_status=publish |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
#!/bin/bash | ||
|
||
pushd "${DDEV_DOCROOT}" | ||
|
||
wp plugin activate --all |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: mollie | ||
name: mollie-payments-for-woocommerce | ||
type: php | ||
docroot: .ddev/wordpress | ||
php_version: "7.4" | ||
|
@@ -18,14 +18,14 @@ hooks: | |
pre-start: | ||
- exec-host: "mkdir -p .ddev/wordpress/wp-content/plugins/${DDEV_PROJECT}" | ||
web_environment: | ||
- WP_VERSION=5.9 | ||
- WP_LOCALE=de_DE | ||
- WP_VERSION=6.1 | ||
- WP_LOCALE=en_US | ||
- WP_TITLE=Mollie WordPress Test | ||
- PLUGIN_NAME=mollie-payments-for-woocommerce | ||
- ADMIN_USER=admin | ||
- ADMIN_PASS=admin | ||
- [email protected] | ||
- WC_VERSION=6.1.0 | ||
- WC_VERSION=7.2.2 | ||
|
||
hooks: | ||
post-start: | ||
|
@@ -98,7 +98,7 @@ hooks: | |
# Please take care with this because it can cause great confusion. | ||
|
||
# upload_dir: custom/upload/dir | ||
# would set the destination path for ddev import-files to <docroot>/custom/upload/dir | ||
# would set the destination path for ddev import-files to <docroot>/custom/upload/dir | ||
|
||
# working_dir: | ||
# web: /var/www/html | ||
|
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
Oops, something went wrong.