Double Three Digital

Simple Commerce Release Notes

Double Three Digital

2.1.12

November 29th, 2020

A whole lot of API related changes this release...

  • New It's now easier to get fields from your cart. How's {{ sc:cart:delivery_note }}?
  • New The Order Calculator has been moved out of the CartRepository and into it's own class. However, the recalculateTotals method on the CartRepository will continue to work for the time being.
  • New Introduced a new OrderRepository which will eventually replace the CartRepository (it's a breaking change so it won't happen until at least v2.2)
  • New Added customer method to CartRepository
  • Fix Default order blueprint no longer has a SKU field on it.
  • Fix php please sc:install command will now only publish blueprints and configuration file.

2.1.11

November 27th, 2020

  • New Add an exempt_from_tax field to products that you want to be exempt from tax.
  • Fix Carts & Customers will be created in the correct site.
  • Fix When created, customers will now be published instead of a draft.
  • Fix Money Fieldtype will respect the site of the entry and display the correct currency.
  • Fix Fixed issue where you could add the same product/variant to the cart twice.

2.1.10

November 22nd, 2020

  • Fix Fixed bug with blueprint field checking

2.1.9

November 22nd, 2020

  • New Ensure fields are included in product & order blueprints.

2.1.8

November 21st, 2020

  • Fix Fix vendor:publish bug when running php please sc:install (I should really double check this stuff before I release it)

2.1.7

November 21st, 2020

  • Re-tag of v2.1.6

2.1.6

November 21st, 2020

  • [update] Improved the install process - combine vendor:publish step and setup-content.

2.1.5

November 13th, 2020

  • Fix A more descriptive message will now be shown if currency formatting fails due to the php-intl extension not being installed or enabled.'
  • Fix Fixed issue where gateways weren't being booted at all...

2.1.4

November 12th, 2020

  • Fix Fixed issue with Woodland when installing Simple Commerce for the first time. #313
  • Fix Fixed issue with product variants fieldtype on new product entries. #314
  • Fix Fixed issue when adding a new variation in product variants fieldtype
  • Fix Localize and use plural/signular stuff with index text for product variants fields.

2.1.3

October 30th, 2020

  • Fix Fix issues with installing via Composer, from last release. Whoops.

2.1.2

October 30th, 2020

  • New Licensing statistics - so we can check how many sites are using Simple Commerce, what versions are in use and if they have valid licenses.

2.1.1

October 28th, 2020

  • New Simple Commerce fieldtypes will now display nicely in entry listings
  • Fix Fixed issue when using an off-site gateway without specifing a redirect
  • Added a bunch of tests behind the scenes

2.1.0

October 18th, 2020

v2.1 contains various breaking changes, we recommend reviewing the update guide to ensure your site will work with the update.

  • New Product Variants
  • New Built-in Mollie Gateway
  • New Product Stock
  • New Sales Widget - dashboard widget for reviewing sales over a week, 14 days and a month.
  • New Support for Off-site gateways and a bunch of changes to the way gateways work overall.
  • New Minimum Order Numbers
  • Fix Various bug fixes.

2.1.0-beta.1

October 10th, 2020

v2.1 is now available for beta testing. A changelog of what's changed since v2.0 is available over here.

2.0.24

November 13th, 2020

  • Fix Fix issue where gateways were not being booted

2.0.23

November 5th, 2020

  • New Licensing statistics - so we can check how many sites are using Simple Commerce, what versions are in use and if they have valid licenses. (also introduced in v2.1.2)

2.0.22

October 4th, 2020

  • New You can now update the format of the customer titles.
  • Fix When updating a customer, sometimes the title would be removed... #311
  • Fix If updating a customer's name using {{ sc:cart:update }} tag, it wouldn't work because of some copy and pasting
  • And added a bunch of customer related tests...

2.0.21

October 4th, 2020

  • Fix Fixed a bug that would happen if you try and get a customer that doesn't have a title or slug set.

2.0.20

October 4th, 2020

  • Fix Fixed issue where SC would presume a customer entry had a name on it, but if it didn't then stuff would break.

2.0.19

October 4th, 2020

  • Fix Fixed issue with customer data when being passed into Stripe Gateway, from #307

2.0.18

October 3rd, 2020

  • Fix Fixed issues when creating/updating customers via the {{ sc:cart:update }} tag. #307

2.0.17

September 30th, 2020

  • Fix Fixed issue with decimals causing incorrect totals, when using coupons on an order #304

2.0.16

September 28th, 2020

  • New Payment Method's are now saved for later, with Stripe Gateway #306

2.0.15

September 4th, 2020

  • Fix The money fieldtype will now default to 0 when nothing is entered instead of throwing an exception.
  • Fix Fixed issue where you couldn't remove the last item from the cart

2.0.14

August 29th, 2020

  • New You can now register gateways on-demand with SimpleCommerce::registerGateway(PayPalGateway::class, [])
  • Fix Fixed issue where deleting a single cart item would clear the cart instead (again) #293
  • Fix Fixed issue when trying to submit checkout form without any customer information.

2.0.13

August 27th, 2020

  • Fix Fixes issue when adding to the cart when you've already deleted items from the cart. #293
  • Fix Generate a title and slug for customer if they don't already have one - fixes a type error #296
  • Fix Fixed issue when the CheckoutController tries to call the PreCheckout event on case sensitive systems. #294

2.0.12

August 26th, 2020

  • New Brought back Order Statuses, you may want to run php please simple-commerce:setup-command to create the relevant taxonomies and terms.
  • New You can now send customer metadata when using {{ sc:cart:update }} and {{ sc:checkout }} tags. #289
  • New You can now toggle if Simple Commerce sends an Order Confirmation email to your customers after checkout. It's enabled by default. #288
  • New Customer & Order information is now passed to Stripe when preparing payment intent #292
  • New Brand new php please simple-commerce:setup-command command for setting up collections & taxonomies when installing Simple Commerce
  • Fix Fixed issue where adding items to cart would overwrite what is already there. #290

2.0.11

August 24th, 2020

  • Fix Fixed issue with ProductRepository not being bound properly because of a spelling mistake πŸ€¦β€β™‚οΈ #287

2.0.10

August 21st, 2020

  • New You can now specify the version of the Stripe API you want to use.
  • Fix Fixed issue caused when using a gateway that doesn't return anything from the prepare method.
  • Fix Fixed checkAvailability failing for shipping methods
  • Fix Fixed issue with completing cart without a customer being attached to the order.
  • Changed version constraint of statamic/cms due to v3 release

2.0.9

August 18th, 2020

  • Fix Simple Commerce releases should now include built assets.
  • Fix Issue when entering value inside Money fieldtype without separator and it converts it to cents/penies
  • Fix Percentage coupons #281

2.0.8

August 17th, 2020

  • Fix Simple Commerce tags were broken after beta 44

2.0.7

August 17th, 2020

  • Fix Config, blueprint etc should no longer be overwritten on composer update
  • Simple Commerce only supports PHP 7.4

2.0.6

November 21st, 2020

  • New Refunds - somehow managed to ship without refunds but they're here now!
  • New The output from prepare methods in gateways is now saved in the order so it can be used again in the gateway
  • Break Really small breaking change, inside the {{ sc:gateways }} loop, change {{ config:* }} to {{ gateway-config:* }} to grab gateway configuration values.
  • Fix Fixed initial state for the money fieldtype, should no longer show .
  • Fix Exceptions should now be thrown for when gateways don't exist or none is required at checkout
  • Fix _redirect should no longer be passed into cart when updating cart
  • Fix Fixed issue with coupon validation, where an error was being thrown as we were validation the wrong thing πŸ€¦β€β™‚οΈ #276

2.0.5

August 11th, 2020

  • Fix Blueprints being re-published after every Simple Commerce update

2.0.4

August 10th, 2020

  • Fix Simple Commerce no longer relies on calebporzio/sushi for Currency and Country models
  • Fix Incorrect typehint causing issues when getting cart items
  • Fix Typos

2.0.3

August 6th, 2020

  • New Introduced a Product facade, repository and related things...
  • Fix Fixed bug where you'd run into an error if you visit the cart/checkout when you have no cart in the session. Fixes #275
  • Break The $request variable is now passed in as a second parameter of the purchase method to a gateway.

2.0.2

August 1st, 2020

  • New Introduced two new commands: make:gateway and make:shipping-method
  • Fix Use FormRequests for validating action endpoints
  • Fix Officially only supports PHP 7.4
  • Break Removed /shipping-options endpoints.
  • Break Removed need for SKUs, you can have them if you want them but they won't be saved in orders anymore.

2.0.1

August 1st, 2020

  • New Added PreCheckout and PostCheckout events, triggered by the Checkout controller.

2.0.0

July 25th, 2020

Simple Commerce v2.0 has launched!

2.0.0-beta.7

July 23rd, 2020

  • New Revamp of Customers - they now belong in their own collection instead of using Statamic users.
  • New Better order numbering
  • [breaking] Usage of {{ sc:customer }} tags have changed, find the new usage on the documentation.
  • [breaking] CartRepository has been refactored, if you're dealing with it programatically, there's likely some updates you'll need to make. Otherwise, this change shouldn't affect you.

2.0.0-beta.6

July 21st, 2020

  • New A tag to check if user has a cart {{ sc:cart:has }}
  • Fix Updated blueprints stuff for Statamic Beta 38
  • Fix Receipt would error out if no customer is assigned to cart
  • Fix Post-checkout success flow - more info on #270
  • Fix Product Categories taxonomy is attached to products when setting up
  • Order Statuses have been removed from Simple Commerce. Feel free to delete the taxonomy if you're not using it.

2.0.0-beta.5

July 21st, 2020

  • New Improved the way tax is handled
  • Fix Roll back some code to do with creating collections when user installs

2.0.0-beta.4

July 20th, 2020

  • New You can now change the collections and taxonomies Simple Commerce uses. More information over on the docs, under Collections & Taxonomies
  • New Simple Commerce views (including emails & the receipt template) are now publishable php artisan vendor:publish --tag=simple-commerce-views
  • Fix Removed a 'revenue widget' - didn't even work
  • Fix Translated some more strings
  • Fix Issue where you could checkout the same order twice. Yikes.
  • Fix Left out the {{ customer:order }} tag, now implemented.

Small changes

You'll probably want to add this to your config/simple-commerce.php file.

'collections' => [
        'products' => 'products',
        'orders' => 'orders',
        'coupons' => 'coupons',
],

'taxonomies' => [
        'product_categories' => 'product_categories',
        'order_statuses' => 'Order Statuses',
],

2.0.0-beta.3

July 18th, 2020

  • New Coupons are now a thing!
  • New Text coming from Simple Commerce now comes from language files

2.0.0-beta.2

July 15th, 2020

  • Simple Commerce assets (fieldtypes) are now published

2.0.0-beta.1

July 10th, 2020

This is the first beta release for Simple Commerce v2, the flat file version. Instead of using a database to store products, order etc, they are stored as normal collections and entries to make the developer experience more statamic-y.

There's still a few features needing built like Coupons and there's some stuff that needs cleaned up, like the shipping implementation but it's on the TODO list and I'll get it done in time for launch.

Oh... and I'm planning to launch in the next 1/2 weeks πŸ˜„


Just a quick note: if you're currently using the v1 beta for building a site, I'll continue supporting that for the time being and I'll release hotfixes as they're needed.

1.0.0-beta.26

June 28th, 2020

  • Fix Issue with the where parameter on the product tag.
  • Fix Issue when deleting tax rates

1.0.0-beta.25

June 25th, 2020

  • New You can now use sc instead of simple-commerce in your templates, so {{ simple-commerce:products }} would turn into {{ sc:products }}.
  • Fix Some issues with the tax rate and product category fieldtypes
  • Refactored some tag stuff behind the scenes

1.0.0-beta.24

June 16th, 2020

Please update to Beta 31 when updating Simple Commerce!

  • Made some updates to make Simple Commerce support beta 31

1.0.0-beta.23

June 9th, 2020

  • We got some new branding, all thanks to @austriker27
  • Added docblocks to facades, support classes, events and listeners
  • Created some exception classes
  • Fixed issues with relationship fieldtypes

1.0.0-beta.22

June 2nd, 2020

  • New Products can now be attached to multiple categories, instead of just one.
  • New Guest checkout is now possible!
  • Fix Issues with currency parsing

Breaking changes

If you previously had any products with categories attached, you'll need to re-attach them.

Upgrade Guide

Make sure to run your migrations php artisan migrate and re-publish the blueprints.

1.0.0-beta.21

May 26th, 2020

Another beta release! Slightly less new things and slightly more bug fixes and refactoring of existing code.

My hope is that if all goes well, Simple Commerce should be ready for launch in the next few weeks!


  • You can have a Shipping Zone with no countries attached - to serve the rest of the world πŸ—ΊοΈ
  • You can now seed test data during the simple-commerce:install command.
  • New HasItemsInCart middleware for checking user has items in their cart
  • The unformatted_price is now available inside variants
  • Blueprints are once again published for the user
  • Refactored the Checkout process (all tests are still green!)
  • Refactor the Shipping Zone workflow - should be smoother and less bug-prone

1.0.0-beta.20

May 13th, 2020

  • Improvements to Notifications - You can now choose what channels notifications are sent to, easier to customise.
  • Refunds are again possible!
  • You can now choose which filesystem receipts are stored in
  • Fixed various permission issues in the Control Panel
  • Fixed an issue that happened when a customer wasn't assigned to an order
  • Fixed an issue where carts were created even though no items were added
  • laravel/slack-notification-channel is now a dev dependency

Upgrade Guide

There's a little bit of stuff needed to do when upgrading to this release.

  1. Migrate your database php artisan migrate
  2. Replace the current notifications array in your config/simple-commerce.php file with this.
/**
    * Notifications
    *
    * Configure what notifications we send and who we 
    * send them to.
*/

'notifications' => [
    'notifications' => [
        \DoubleThreeDigital\SimpleCommerce\Events\BackOffice\NewOrder::class => ['mail'],
        \DoubleThreeDigital\SimpleCommerce\Events\BackOffice\VariantOutOfStock::class => ['mail'],
        \DoubleThreeDigital\SimpleCommerce\Events\BackOffice\VariantStockRunningLow::class => ['mail'],
        \DoubleThreeDigital\SimpleCommerce\Events\OrderRefunded::class => ['mail'],
        \DoubleThreeDigital\SimpleCommerce\Events\OrderStatusUpdated::class => ['mail'],
        \DoubleThreeDigital\SimpleCommerce\Events\OrderSuccessful::class => ['mail'],
    ],

    'mail' => [
        'to' => '[email protected]',

        'from' => [
            'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),
            'name' => env('MAIL_FROM_NAME', 'Example'),
        ],
    ],

    'slack' => [
        'webhook_url' => '',
    ],
],

1.0.0-beta.19

May 10th, 2020

  • Added PDF Receipts - they'll be generated when an order has been completed
  • Added Coupon Total to the totals section and the Line Items fieldtype in the Order edit screen
  • You can now duplicate products
  • Blueprints are now loaded from Simple Commerce instead of being published to your resource/blueprints folder
  • We now 'transform' data before sending it to tags (basically your templating experience got better)
  • Fixed coupon state (hopefully!)
  • Fixed some issues when using Simple Commerce in the CP as a non super user - thanks @zedix!
  • Various other small things...

1.0.0-beta.18

May 5th, 2020

  • Brand new install command
  • You can now run Simple Commerce commands with php please
  • Added from_price and to_price attributes to products
  • Change the way we publish our vendor stuff
  • Allow for gateway classes to be strings

1.0.0-beta.17

April 30th, 2020

Rebuilt the Cart System

  • A cart is now just an order under the hood, and things in a cart/order are now line items.
  • And you can now setup coupons that can be used to give a percentage or fixed discount on an order or free shipping on an order.

🧹 Some spring cleaning (it's Spring after all)

  • Deleted the old migrations... and created fresh ones
  • Redesigned the Order 'View Screen' in the Control Panel
  • Stuff entered into the Money fieldtype will be displayed as float (with the decimal spacing stuff) and now has a 'Read Only' setting
  • Fixed the Order Successful email
  • All helper classes have been moved to DoubleThreeDigital\SimpleCommerce\Support and they are now accessible via Facades.
  • Fixed relationship fieldtypes
  • Simple Commerce now expects a boolean to be returned from the completePurchase method in gateways (see breaking changes)
  • Addresses are now entered before the Checkout (see implementation in the example templates repo)
  • Field values are now processed correctly for Statamic's publish forms to understand.
  • The redirect field in forms provided by the simple-commerce:form tag is now _redirect.
  • Fixed an issue where an exception would be thrown due to $fields existing in our IsACustomer trait.
  • A formatted class name and the config is now passed to the gateway.

And brand new things....

  • Added a weight and image field to variants
  • You can now see complete, incomplete orders and orders by order status (in the CP navigation)
  • Simple Commerce is now fully compatible with Laravel 7 and the latest Statamic beta

Breaking changes

  • You'll probably want to refresh your database (this will mean wiping your data) and re-run your migrations.
  • Instead of returning an array from a gateway's completePurchase method, you should now return a boolean of whether or not the purchase was successful.

1.0.0-beta.16

April 14th, 2020

  • Add soft deletes to attributes
  • Removed the CustomerCreated and CustomerUpdated events (Laravel provides its own events for that)
  • Added {{ simple-commerce:product }} tag
  • Added {{ simple-commerce:orders }} tag
  • Added the order items fieldtype to Orders blueprint (fixing the order edit screen)
  • Cleaned up Control Panel routing
  • Finally got round to testing the Control Panel
  • Easier access to product and variant attributes in templates, they can be accessed like any other variable

1.0.0-beta.15

April 8th, 2020

  • Removed Stripe gateway from core, install doublethreedigital/simple-commerce-stripe instead
  • Updated some documentation
  • Update some factories and tests
  • Added a new {{ simple-commerce:orders }} tag
  • Added a REST API for Simple Commerce
  • Removed the New Customers widget
  • Removed the customer blueprint
  • Updated the customer blueprint
  • Add a confirmation message before deleting things
  • Removed the customers section from the Control Panel
  • Added a version command php artisan simple-commerce:version
  • Removed tags from fieldtypes provided by Simple Commerce
  • Removed the Customer Fieldtype
  • Built a new system for making Eloquent models SC customers

Breaking changes

You'll need to migrate your users store to a database and add the IsACustomer trait to your User model.

Make sure to delete your customers blueprint and update the 'Orders' blueprint from Simple Commerce.

If you're using the Simple Commerce new customers widget, remove it from your config/statamic/cp.php file.

1.0.0-beta.14

April 1st, 2020

  • Made the value field nullable on attributes table
  • Rebuild attributes so they can use fields (basically, they can now be defined by the developer in a fieldtype)
  • Moved dist to resources/dist
  • Renamed stock_number to stock in the blueprint so it matches the database column name
  • Only delete attributes if they exist

Upgrade Notes

You'll need to republish & run migrations and republish blueprints and fieldsets

1.0.0-beta.13

March 30th, 2020

This beta release changes the way Simple Commerce handles the front-end of your site.

Previous to this release, Simple Commerce provided its own set of routes, controllers and views to create your store's front-end.

This release gets rid of that. The only requests to Simple Commerce controllers you'll need to make will be related to the cart or the checkout.

You can read more about the changes in this pull request.

Changelog

  • Removed routes from config
  • Added a new form tag for Simple Commerce
  • Renamed the commerce tag to simple-commerce
  • Removed all of the front-end views - for the moment you can catch them here
  • Added new action routes
  • New form builder
  • Loads of tests
  • Removed url attributes from models
  • Updated documentation for everything

Upgrade Guide

Since there are quite a lot of changes, here's a quick upgrade guide:

Removes routes from config

Simple Commerce no longer provides its own set of routes, so you can remove the routes section from your simple-commerce.php configuration file.

Removes front-end boilerplate

This release removes the front-end boilerplate/template that comes with Simple Commerce. However, if you really want to, you can see the views over here: https://github.com/doublethreedigital/simple-commerce-example

You'll now have to create your own routes, controllers and views.

Removed all web routes

Instead of relying on the routes Simple Commerce provides, you'll need to provide your own.

Renamed the Simple Commerce tag

If you were using the {{ commerce }} tag in your templates, you'll need to change it out to {{ simple-commerce }}

Forms

Obviously, Simple Commerce still provides controllers for cart and checkout stuff. You can create those forms with the {{ simple-commerce:form }} tag. See example:

{{ commerce:form for='checkout' redirect='/thanks' class='flex flex-col w-full' }}
    <input type="text" name="name">
    <input type="text" name="email">

    <button>Checkout</button>
{{ /commerce:form }}

Removed url attributes from models

As Simple Commerce no longer knows the routes for products or categories, the url attribute has been removed from them.

Removed {{ commerce:route }}

This tag was only required for Simple Commerce routes anyway, but as we don't have any of those anymore, it can disappear.

1.0.0-beta.12

March 28th, 2020

  • Fix issues around creating and updating products

1.0.0-beta.11

March 28th, 2020

  • Updated blueprints
  • Change blueprints path
  • Fixed country and state fieldtype blanking
  • Don't send notifications about stock if variant has unlimited stock
  • Fix variants validation issue
  • Updated the issue template

Breaking

You'll need to move your blueprints from within resources/blueprints/simple-commerce into resources/blueprint

You might also need to republish your blueprints to get the blueprint changes

1.0.0-beta.10

March 27th, 2020

  • Changed display name for 'Addons' page in Control Panel
  • Add a configurable counter for when to receive low stock notifications
  • Allow for cart quantities to be updated
  • Use nav tag so it's compatible with beta 20
  • Don't allow for variants to be added to cart if they have no stock
  • Made another namespace change so it's compatible with beta 20
  • Fix output path for views - simple-commerce instead of commerce
  • Added some tests
  • Various other changes

Breaking

Just a small thing, this build requires you to be on at least beta 20.

1.0.0-beta.9

March 13th, 2020

  • New front-end boilerplate ✨
  • Added loads of events
  • Refactored a lot of stuff
  • Fixed session messages
  • Change the resource prefix from commerce to simple-commerce
  • Get rid of publish groups
  • Add blueprints to the respective models, instead of being invoked from the controllers.
  • Only boot gateways if app has been booted
  • Add limit and not parameters to commerce:products tag.
  • Remove the old front-end script, in favour of Alpine.js

1.0.0-beta.8

March 7th, 2020

  • Reformatted the simple-commerce.php config file
  • Support multiple payment gateways

Breaking changes

The Simple Commerce configuration file now looks like this:

<?php

return [

    /**
     * Business Address
     *
     * Address information for your business. By default,
     * this will be used as the location to set tax and
     * shipping prices.
     */

    'address' => [
        'address_1' => '',
        'address_2' => '',
        'address_3' => '',
        'city' => '',
        'country' => '',
        'state' => '',
        'zip_code' => '',
    ],

    /**
     * Payment Gateways
     *
     * Simple Commerce gives you the ability to
     * configure different payment gateways.
     */

    'gateways' => [
        \DoubleThreeDigital\SimpleCommerce\Gateways\DummyGateway::class => [],
//        \DoubleThreeDigital\SimpleCommerce\Gateways\StripeGateway::class => [],
    ],

    /**
     * Currency
     *
     * Control your currency settings. These will dictate
     * what currency products are sold in and how they are
     * formatted in the front-end.
     */

    'currency' => [
        'iso' => 'USD',
        'position' => 'left', // Options: left, right
        'separator' => '.',
    ],

    /**
     * Routes
     *
     * Simple Commerce provides a set of web routes to make your store
     * function. You can change these routes if you have other
     * preferences.
     */

    'routes' => [
        'cart_index' => '/cart',
        'cart_store' => '/cart/add',
        'cart_clear' => '/cart/clear',
        'cart_remove' => '/cart/remove',
        'checkout_show' => '/checkout',
        'checkout_store' => '/checkout/store',
        'checkout_redirect' => '/thank-you',
        'product_index' => '/products',
        'product_search' => '/products/search',
        'product_show' => '/products/{product}',
        'categories_show' => '/category/{category}',
    ],

    /**
     * Notifications
     *
     * Configure where we send your store's back
     * office notifications.
     */

    'notifications' => [
        'channel' => ['mail'],

        'mail_to' => '[email protected]',
        'slack_webhook' => '',
    ],

    /**
     * Tax & Shipping
     *
     * Configure the tax and shipping settings
     * for your store.
     */

    'entered_with_tax' => false,
    'calculate_tax_from' => 'billingAddress', // Options: billingAddress, shippingAddress or businessAddress
    'shop_prices_with_tax' => true,
    'cart_retention' => 30,

];

The Stripe keys have been added to config/services.php.

'stripe' => [
        'model' => App\User::class,
        'key' => env('STRIPE_KEY'),
        'secret' => env('STRIPE_SECRET'),
    ],

1.0.0-beta.7

February 24th, 2020

  • Added an informal license
  • Added soft deletes to products and variants
  • Added a user interface for viewing items in orders
  • Added a toggle for a product being a draft or published
  • Updated Settings Control Panel page with new Control Panel styles
  • Added a states dropdown in Checkout page
  • Added a warning if stuff is in the error bag
  • Throw an exception if the Stripe key is not set
  • Throw an exception if a default currency is not set
  • Throw an exception if the specified route does not exist when using the commerce:route tag.
  • Throw an exception if there is no route key specified when using the commerce:route tag.
  • Did some refactoring
  • Added formatted_total attribute to CartItem model

1.0.0-beta.6

February 17th, 2020

  • Better implementation of custom attributes for products and variants
  • Fix error when publishing blueprints
  • Fixed 'create*' buttons not working in Control Panel
  • Add a new variant_count attribute to products.
  • Use traits for common model functionality like uuids and attributes
  • Show latest orders first (in the Control Panel)
  • Fixed issue where deleting variants in the edit screen wasn't working
  • Make the SKUs unique
  • Refactor some other backend stuff (controllers, requests etc)
  • Removed from_price and to_price attributes from products
  • Allow for the order status description column to be nullable

Thanks

@ryangjchandler helped a lot in getting this release out, especially with the custom attribute stuff.

1.0.0-beta.5

February 14th, 2020

  • Don't show navigation items if the user doesn't have access to them (in the Control Panel)
  • Use a fixed amount for shipping instead of rate
  • Recreated the Settings area of the Control Panel
  • Breaking: Renamed config file from commerce.php to simple-commerce.php

1.0.0-beta.4

February 12th, 2020

  • Updated the Control Panel breadcrumbs from Commerce to Simple Commerce
  • Don't allow access to widgets or CP listings if you don't have access
  • Use a middleware for settings access
  • Handle deletion of order statuses better

1.0.0-beta.3

February 5th, 2020

  • Remove moneyphp/money as dependency
  • Allow for configuring back office notifications with email and slack
  • Swap out uid for uuid - thanks to @ryangjchandler
  • Updated some docs
  • Rewrite the commerce:route tag to use route names instead of config keys. Allows for params now

1.0.0-beta.2

February 4th, 2020

  • Updated names of blueprints and moved them into a folder (for organisation)
  • Add tax and shipping to order successful email
  • Send the customer an email when their order has been refunded
  • Delete orders and addresses when a customer has been deleted

1.0.0-beta.1

February 3rd, 2020

Simple Commerce is finally ready for beta testing, at last.