Skip to content

Commit

Permalink
🚧 Core reorganization. Tag 1.1.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Apr 30, 2016
1 parent 54eb4ac commit c7ca31e
Show file tree
Hide file tree
Showing 6 changed files with 625 additions and 523 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v1.1.0
# v1.1.0-beta.2
## xx-05-2016

1. [](#new)
Expand All @@ -8,6 +8,8 @@
* Added the ability to show the cart widget on pages not directly managed by the plugin (e.g. default pages, blog or any other page). Documented in the Plugin documentation site
1. [](#improved)
* Changed structure of the Twig files: `shoppingcart` has been removed in favor of `shoppingcart_categories`, `shoppingcart_section` is now `shoppingcart_categories`, `shoppingcart_category` is now `shoppingcart_products`. `shoppingcart_product` is the product page. Please rename your markdown pages accordingly. There's backwards compatibility, so at this point things will continue to work fine, but the old filenames are deprecated.
* Core reorganization
* More testing
1. [](#bugfix)
* Various bug fixes and improvements

Expand Down
23 changes: 14 additions & 9 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: Shopping Cart
version: 1.1.0-beta
version: 1.1.0-beta.2
description: "This plugin turns your Grav site into a shopping cart"
icon: shopping-cart
author:
name: Flavio Copes
email: [email protected]
url: http://flaviocopes.com
homepage: http://gravshoppingcart.com/
# demo: http://demo.getgrav.org/shop-skeleton
url: https://flaviocopes.com
homepage: https://gravcart.com/
demo: https://demo.gravcart.com/
keywords: shoppingcart, ecommerce, e-commerce, plugin, shop, cart
readme: https://gravshoppingcart.com/docs
readme: https://gravcart.com/docs
bugs: https://github.com/flaviocopes/grav-plugin-shoppingcart/issues
license: MIT

testing: true

dependencies:
- { name: grav, version: '~1.1' }

form:
validation: loose
fields:
Expand Down Expand Up @@ -62,7 +67,7 @@ form:
label: Currency
type: select
help: The shop currency
'@data-options': '\Grav\Plugin\ShoppingcartPlugin::currencies'
'@data-options': '\Grav\Plugin\ShoppingCart\ShoppingCart::getCurrencies'
default: 'USD'
validate:
type: string
Expand All @@ -71,7 +76,7 @@ form:
label: Default Country
type: select
help: Default country to be shown during Checkout
'@data-options': '\Grav\Plugin\ShoppingcartPlugin::countries'
'@data-options': '\Grav\Plugin\ShoppingCart\ShoppingCart::getCountries'
default: 'US'
validate:
type: string
Expand Down Expand Up @@ -213,7 +218,7 @@ form:
label: Country
type: select
classes: fancy
'@data-options': '\Grav\Plugin\ShoppingcartPlugin::shippingCountries'
'@data-options': '\Grav\Plugin\ShoppingCart\ShoppingCart::getShippingCountries'
validate:
type: commalist

Expand Down Expand Up @@ -263,7 +268,7 @@ form:
type: select
classes: fancy
multiple: true
'@data-options': '\Grav\Plugin\ShoppingcartPlugin::shippingCountries'
'@data-options': '\Grav\Plugin\ShoppingCart\ShoppingCart::getShippingCountries'
validate:
type: commalist

Expand Down
File renamed without changes.
Loading

0 comments on commit c7ca31e

Please sign in to comment.