candy-api

GetCandy v1 E-Commerce API

APACHE-2.0 License

Downloads
7.5K
Stars
444

Bot releases are hidden (Show)

candy-api - v0.2.14

Published by alecritson over 5 years ago

  • [fixed] Fixed channel not being set on category query.
  • [added] Added new Activity Log for orders initially.
  • [added] Added firstOrder relation on the User model.

When upgrading an existing project, you need to run:

php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="migrations"
candy-api - v0.2.13

Published by alecritson over 5 years ago

  • [improved] Improved handling of order reference increment
candy-api - v0.2.12

Published by alecritson over 5 years ago

  • [fixed] Fixed issue with installer due to country column change
  • [added] Added config for order table columns in the hub
  • [changed] Order settings now pass through all config
candy-api - v0.2.11

Published by alecritson over 5 years ago

  • 🐞 Changed plugin loader to not require file extension, this was causing some issues on specific nginx servers.
candy-api - v0.2.10

Published by alecritson over 5 years ago

  • [fixed] Fixed issue where updating shipping price zeroed out order totals.
  • [changed] Updated the set shipping price method for DI.
  • [fixed] Fixed offline payment driver, was a bit outdated.
candy-api - v0.2.9

Published by alecritson over 5 years ago

candy-api - v0.2.8

Published by alecritson over 5 years ago

Bumping version as previous one didn't seem to include changes.

candy-api - v0.2.7

Published by alecritson over 5 years ago

  • [fix] Remove left over calls to countries json columns
candy-api - v0.2.6

Published by alecritson over 5 years ago

#0.2.6

  • [added] You can now specify search config for the client.
    // Rest of getcandy.php config
    'search' => [
        'client_config' => [
            'elastic' => [
                'host' => null,
                'port' => null,
                'path' => null,
                'url' => null,
                'proxy' => null,
                'transport' => null,
                'persistent' => true,
                'timeout' => null,
                'connections' => [], // host, port, path, timeout, transport, compression, persistent, timeout, username, password, config -> (curl, headers, url)
                'roundRobin' => false,
                'log' => false,
                'retryOnConflict' => 0,
                'bigintConversion' => false,
                'username' => null,
                'password' => null,
            ]
        ],
    ]
candy-api - v0.2.5

Published by alecritson over 5 years ago

#v0.2.5

  • [fixed] Fixed order notes and customer reference not saving on order.
  • [fixed] Fixed exception when retrieving the current basket if the authenticated user never had one before.
  • [changed] Don't round tiered pricing, comes back as three decimal places.
candy-api - v0.2.3

Published by alecritson over 5 years ago

#v0.2.3

  • [added] Added created_at to the transaction resource
candy-api - v0.2.2

Published by alecritson over 5 years ago

v0.2.2

  • [added] Ability to set custom attributes on resources, just call $model->setCustomAttribute('foo', 'bar');.
  • [improved] Improved the way basket totals were displaying when discounts were applied.
  • [fixed] Fixed issue where basket wasn't acknowledging free products in discounts.
  • [fixed] Braintree payment driver is more up to date.
  • [added] Added group helper for users and customer groups, you can call $user->inGroup('retail').
  • [changed] Changed the country column to a text column in the countries table.
  • [improved] The shipping method calculator for an order now takes into account zones.
  • [fixed] Fixed error where orders tripped over when no settings were present in the database.
  • [fixed] Regional shipping calculator now takes into account no minimum basket values.
  • [fixed] Fixed issue where an order wouldn't allow a zone not to have a name.
  • [changed] Resolve the Guzzle client out of the container on the SagePay payment driver.
candy-api - v0.2.1

Published by alecritson over 5 years ago

Fixes

  • Added default config for internal requests
  • Removed Hub route from install as not always installed with Hub and caused exception

Added

  • Added new channel middleware
  • Use timebased elastic indexing
candy-api - v0.2.0

Published by alecritson over 5 years ago

This release of GetCandy adds compatibility for Laravel 5.7 plus includes various fixes and improvements.

candy-api - Fixes to order line variant relation

Published by alecritson over 5 years ago

Specifies the foreign key on the relation in favour of having a shorter relation call.

candy-api - v0.1.5

Published by alecritson almost 6 years ago

This addresses an issue where there was a clash on order_lines with the column variant and the relationship of the same name.

Now the column variant has been changed to option and a new FK for product_variant_id has been added. Make you sure run migrations, also once done to update your existing order lines with variants you can run:

update order_lines 
	join product_variants
	on product_variants.sku = order_lines.sku
	set order_lines.product_variant_id = product_variants.id

as the migration doesn't attempt to do this for you.

candy-api - v0.1.4

Published by alecritson almost 6 years ago

Hotfixes

  • Added routes for updating inventory to prevent wiping tax on manual stock update.

This is related to an issue in the hub where changing the stock manually will wipe the tax set on a product variant. This release adds functionality to prevent this.

candy-api - v0.1.3

Published by alecritson almost 6 years ago

  • Apply style fixes from StyleCi
  • Add eager loading on categories
candy-api - v0.1.2

Published by alecritson almost 6 years ago

This release includes all current changes/fixes from the dev branch to begin the release lifecycle

candy-api - v0.1.1

Published by alecritson over 6 years ago