5.3.0
April 25th, 2025
π New
- Add product-price hook @ryanmitchell (#286)
π Fixed
- Publish date should be lt not gt @ryanmitchell (#284)
- Document setting of ENV Variables @anditopping (#273)
5.2.0
January 29th, 2025
π New
- Remove hardcoded API version from JS client @ryanmitchell (#272)
- Use storage facade to get real path @ryanmitchell (#271)
5.1.0
January 3rd, 2025
π New
- Update address forms to support precognition @ryanmitchell (#269)
π Fixed
- Only show Nav group if user has some access @ryanmitchell (#268)
- Pass Alpine instance to createStore and createData @ryanmitchell (#267)
5.0.7
December 3rd, 2024
π Fixed
- Update quantities correctly @ryanmitchell (#265)
5.0.6
November 29th, 2024
π Fixed
- Fix created_at on order create @ryanmitchell (#263)
5.0.5
November 29th, 2024
π Fixed
- Fix how we set publish status on products @ryanmitchell (#261)
5.0.4
November 28th, 2024
π Fixed
- Update publishable views to Alpine @ryanmitchell (#260)
- Handle empty images in import @ryanmitchell (#259)
5.0.3
November 22nd, 2024
π Fixed
- Installing blueprint should use YAML file, not YAML parse @ryanmitchell (#257)
5.0.2
November 14th, 2024
π Fixed
- Fix incorrect variable name on order create @ryanmitchell (#255)
5.0.1
November 4th, 2024
Fix bad release
Full Changelog: https://github.com/statamic-rad-pack/shopify/compare/v5.0.0...v5.0.1
5.0.0
November 4th, 2024
π New
- Move to shopfront-api checkouts, provide agnostic JS and alpine helper @ryanmitchell (#241)
Fixed
- Types needs renamed to type in the product template @sunscreem (#246)
4.0.6
October 27th, 2024
What's Changed
- Prevent current timestamp being added to draft products by @sunscreem in https://github.com/statamic-rad-pack/shopify/pull/245
New Contributors
- @sunscreem made their first contribution in https://github.com/statamic-rad-pack/shopify/pull/245
Full Changelog: https://github.com/statamic-rad-pack/shopify/compare/v4.0.5...v4.0.6
4.0.5
October 17th, 2024
π Fixed
- Mirror pagination change to fetchCollections @ryanmitchell (#244)
π§° Maintenance
- We don't need Product Create on setup @ryanmitchell (#243)
4.0.4
October 3rd, 2024
π Fixed
- Ensure future dated products get marked a published @ryanmitchell (#240)
4.0.3
September 18th, 2024
What's Changed
- Error on Collection Create/Update Webhook by @anditopping in https://github.com/statamic-rad-pack/shopify/pull/238
New Contributors
- @anditopping made their first contribution in https://github.com/statamic-rad-pack/shopify/pull/238
Full Changelog: https://github.com/statamic-rad-pack/shopify/compare/v4.0.2...v4.0.3
4.0.2
September 13th, 2024
π Fixed
- Fix nextPage being null @ryanmitchell (#237)
4.0.1
September 13th, 2024
π Fixed
- Fix installation errors @ryanmitchell (#235)
4.0.0
September 11th, 2024
π New
- Final v4 changes @ryanmitchell (#231)
- Remove
respect_shopify_publish_status_and_dates
config @ryanmitchell (#230) - Move collection create/update/delete to its own webhook and job @ryanmitchell (#229)
- Create collections, taxonomies and asset containers programatically @ryanmitchell (#233)
3.6.0
September 9th, 2024
What's new
- https://github.com/statamic-rad-pack/shopify/pull/227 @ryanmitchell (#227)
3.5.1
September 5th, 2024
π Fixed
- Don't download an image unless we need it @ryanmitchell (#226)
3.5.0
September 4th, 2024
Whats new
- Set default roles and groups from Statamic when making users @ryanmitchell (#225)
3.4.2
August 6th, 2024
- Fix bug in customer orders tag when no customer exists @ryanmitchell (#223)
π Fixed
- Fix icon in dark mode @ryanmitchell (#224)
3.4.1
July 25th, 2024
- Fix bugs in product webhook update @ryanmitchell (#222)
3.4.0
May 24th, 2024
- Fix Add shopify prefix to tags requiring it @haugen86 (#219)
π New
- Add session_storage_path config @ryanmitchell (#221)
3.3.1
May 14th, 2024
- Support pagination on customer orders tag @ryanmitchell (#216)
π Fixed
- Don't set shopify context if a key isnt set @ryanmitchell (#218)
3.3.0
May 2nd, 2024
- Support Statamic 5 @ryanmitchell (#208)
π New
- Add helper for parsing Shopify Rich Text metafields @ryanmitchell (#215)
3.2.3
May 1st, 2024
- Add correct site handle for translations @JonKaric (#212)
π Fixed
- Select default site for variants @ryanmitchell (#214)
3.2.2
April 10th, 2024
π Fixed
- Hide blueprints so they cant be added through CP @ryanmitchell (#207)
3.2.1
March 17th, 2024
What's Changed
- Update ImportSingleProductJob.php by @dwainscheeren in https://github.com/statamic-rad-pack/shopify/pull/205
New Contributors
- @dwainscheeren made their first contribution in https://github.com/statamic-rad-pack/shopify/pull/205
Full Changelog: https://github.com/statamic-rad-pack/shopify/compare/v3.2.0...v3.2.1
3.2.0
March 11th, 2024
π New
- Add
last_purchased
andtotal_purchased
to product variants @ryanmitchell (#191)
π Fixed
- Default all Shopify managed fields to readonly @ryanmitchell (#204)
3.1.1
January 17th, 2024
π Fixed
- Use getNextPageQuery correctly @ryanmitchell (#200)
3.1.0
January 12th, 2024
π New
- Use new nav methods to build custom navigation @ryanmitchell (#193)
π Fixed
- Fix variant form styling @ryanmitchell (#197)
3.0.3
November 10th, 2023
π Fixed
- Fix user creation job always throwing an error @ryanmitchell (#195)
3.0.2
October 28th, 2023
π Fixed
- Fix connection defaulting to private app and make it configurable @ryanmitchell (#192)
3.0.1
October 23rd, 2023
Bundle assets
3.0.0
October 23rd, 2023
- Update setup.md @JonKaric (#186)
π New
- Get customer information from Shopify @ryanmitchell (#185)
- Support multi-site / Shopify translated fields @ryanmitchell (#184)
π§° Maintenance
- Add 2.x -> 3.x upgrading docs @ryanmitchell (#190)
- Target Shopify PHP 5.1+ @ryanmitchell (#189)
- Move webhook validation to middleware @ryanmitchell (#188)
- Use Shopify's official PHP library @ryanmitchell (#183)
2.0
September 20th, 2023
π New
- Customise nav to bring it all under a
Shopify
section @ryanmitchell (#181) - Add scope for
variant_is_on_sale
@ryanmitchell (#180) - Fire events on webhook receive to allow for additional logic to be performed @ryanmitchell (#178)
- Attach variant images and add alt tags on initial asset creation @ryanmitchell (#158)
- Save metafields and images for collections @ryanmitchell (#172)
- Render form fields with a view not hardcoded HTML @ryanmitchell (#173)
- Create deploy demo store workflow @ryanmitchell (#169)
- Get metafields for products and variants @ryanmitchell (#163)
- Add test coverage @ryanmitchell (#170)
- Namespace tags behind shopify: @ryanmitchell (#157)
- Create docs to vercel action @ryanmitchell (#168)
- Change namespace @edalzell (#150)
π Fixed
- site.js fixes - they arent classes, so dont use
new
. @ryanmitchell (#179) - Check collection has an image @ryanmitchell (#177)
- Fix changelog @edalzell (#175)
- remove funding @edalzell (#174)
- Hide unnecessary stuff from the Marketplace, update Github links @jackmcdade (#165)
- Add GH Action @edalzell (#149)
- Allow lang strings to be translated @ryanmitchell (#171)
- Use checkoutId instead of localstorage @ryanmitchell (#162)
- Fix bug in storefront_url definition and usage @ryanmitchell (#166)
- Publish views according to conventions @ryanmitchell (#159)
- Allow a custom storefront url to be specified @ryanmitchell (#161)
- Add statamic/cms .editorconfig @ryanmitchell (#160)
- Change composer package name to statamic-rad-pack/shopify, and fix bug introduced with duplicate route name @ryanmitchell (#156)
- Upload assets on release @edalzell (#155)
- Cleanup files @edalzell (#154)
- Use term query builder instead of findBySlug @ryanmitchell (#152)
- Don't clear cache after import @ryanmitchell (#153)
- Use Laravel 10 conventions for routes @ryanmitchell (#151)
1.7.8
October 21st, 2022
Fixed
- Fixed an issue with redundancies made in #111. This should fix cart checkout removal issues and quantities. (#136).
1.7.7
October 21st, 2022
Changed
- Products now re-import off the
product_id
rather than the slug. This is to prevent duplications and changes whenever the product is changed in the Shopify Admin. NOTE: we do not overwrite the slug again in Statamic in case it has been changed here for SEO purposes. (#135)
1.7.6
July 21st, 2022
Changed
- Loosened methods on
ProductVariant.php
tag so that they can be overwritten by extension. (#126)
Fixed
- Fixed an issue with storefront_id, inventory_policy, and inventory_management being missing from variant (#122).
- Fixed an issue with the example js not invalidating carts if they were completed. (#123)
1.7.5
March 8th, 2022
1.7.4
March 3rd, 2022
New
- Adds support for new apps generated via Shopify, these require the use of an Admin API Token rather than the Auth/Password combo. You can add this option by specifying
SHOPIFY_ADMIN_TOKEN
in your.env
file.
1.7.3
February 3rd, 2022
Fixed
- Fixed an issue with the localStorage values returning null on initial load of products. Please publish assets again. If you've modified the JS files, Please review PR #111 for changes you may need to make.
1.7.2
January 17th, 2022
Fixed
- Remove an issue with the
async
andawait
causing issues with the cart.
1.7.1
January 17th, 2022
- N/A Changelog not available.
1.7.0
January 17th, 2022
Fixed
- Changed the way the checkout ID gets intitalised to prevent errors if the ID is cleared/not intialised properly. To get this change on an existing site, you'll need to update your JS or republish the JS. (See #103).
- Fixed an issue with the delete webhook not properly removing files. (See #104).
New
- Added the option to define a queue for the Shopify jobs. Defaults to
default
. If you'd like to set a unique process you can set a env variable ofSHOPIFY_JOB_QUEUE
. (See #95).
1.6.1
November 5th, 2021
- N/A Changelog not available.
1.6.0
September 19th, 2021
New
- Potentially Breaking:: Now imports
inventory_management
option for each variant to check if the product is out of stock. This allows for sale of products which aren't out of stock and only denies if the "track inventory" option is checked within Shopify. If, it's unchecked the system will believe that there is either "unlimited stock" or "you have manually adjusted". (See #89)
1.5.2
August 16th, 2021
Fixed
- Out of stock flag in
product_variants
now works if stock is negative/0 rather than just 0 (#81)
1.5.1
August 12th, 2021
Fixed
- Removing debugs and dumps (#78)
1.5.0
August 11th, 2021
New
- Product variants that are out of stock are disabled by default in the option. You can manually control this by looping around variants and changing the output. (#70).
- Products imported which are drafts or unpublished, are no longer marked as published in Statamic and will be set to draft. (#75).
1.4.3
June 2nd, 2021
Fixed:
- Products assigned to more than 250 collections would overwrite on pagination.
- Smart collections now import alongside custom assigned collections. See #64.
1.4.2
June 2nd, 2021
- N/A Changelog not available.
1.4.1
June 2nd, 2021
- N/A Changelog not available.
1.3.6
May 17th, 2021
New
- Adding
compare_at_price
for variants to check if on sale - you'll need to add this to your blueprint to be visible in the admin. #55
Fixed
1.3.4
April 14th, 2021
New
You can now override the taxonomies used in the CMS.
1.3.3
April 14th, 2021
- N/A Changelog not available.
1.3.1
April 8th, 2021
New
- ProductVariant tag has been updated to give you multiple ways to interact with them.
product_variant:generate
- outputs the html prerendered (default)product_variant:loop
- gives you access to variant data to use however you wish.product_variant:by_title
- lets you grab one variant by it's title.product_variant:by_index
- lets you grab one variant by index.
Updated
- InStock, ProductVariant, and ProductPrice tag updated so you no longer need to define
:product="slug"
each time. - Updated theme files to reflect the tag changes.
1.3.0
April 5th, 2021
- [New] Adds the ability to pull options names into an array field. (See Upgrade Guide). Ref #31.
- [Update] Default variant now has the title 'Default' for single products rather than 'Default Title'
- [Bug] Now removes old variants that are no longer present in Shopify. Fixes #32.
- [Bug] Additional fields are no longer being overwritten on Products. Fixes #30.
- [Bug] Fixes the way product tags/type/vendors import. No longer a mismatch.
- [Bug] Fixes variant data would be overwritten if extended.
Upgrade Guide
If you want to display options/handle them on the site you need to update your Product.yaml
blueprint in resources/blueprints/collections/products
with the options field. Append the following. You're then free to hide it.
#89DDFF;">- handle#89DDFF;">: options field#89DDFF;">: mode#89DDFF;">: dynamic display#89DDFF;">: Options type#89DDFF;">: array icon#89DDFF;">: array listable#89DDFF;">: hidden
1.2.0
March 26th, 2021
The one about webhooks
- [New] All webhooks have been given a name.
- [New] Added a webhook for when a product is created in Shopify.
- [New] Added a webhook for when a product is updated in Shopify
these two webhooks if utilised, should mean you don't have to run full imports after the first one.
- [Fix] Incorrect name on Product Delete Webhook.
- [Update] Product delete webhook now has a new path. See potentially breaking below.
Potentially breaking
WebHook endpoint for Product Deletion has changed from /!/statamic-shopify/webhook/product-deletion
to /!/statamic-shopify/webhook/product/delete
1.1.3
March 22nd, 2021
- [Fix] Fixing error with
cart.js
when variants didn't have images.
1.1.2
March 17th, 2021
- [Fix] Fixing error when no image is found for a product
1.1.1
March 15th, 2021
- [New] Added lang array to config to overwrite some of the default text used in tags.
- [New] Added option to
product_variants
tag to show out of stock in the select. - [New] Appends
data-in-stock
to each option in the variant loop to show if in/out of stock.
1.1.0
March 15th, 2021
- [New] Added
{{ in_stock :product="slug" }}
tag to check if a product is in stock. - [New] Pulls in
inventory_policy
from the Shopify API for variants (You will need to sync again). - [New] Displays out of stock on
{{ product_price }}
tag if a policy exists and there is no stock. - [Update] Moved the Shopify Settings into Tools and branded it with the Shopify Bag icon.
- [Fix] Product Price tag had been accidentally removed.
1.0.3
March 15th, 2021
- [Fix] Fixing create a new product in Statamic throwing error.
- [Fix] Styling on no variants found for products.
- [Fix] Invalid namespace on Variant Action
1.0.2
March 13th, 2021
- [Fix] Fixing tag foreach on null
- [Fix] Fixing quick start link in placeholder
1.0.1
March 8th, 2021
Updated
- Added a debounce handler and implemented it around the cart quantity JS.
1.0.0
March 6th, 2021
Public Release !
1.0.0-beta1
March 5th, 2021
- N/A Changelog not available.
0.2.5
March 4th, 2021
- N/A Changelog not available.
0.2.4
March 4th, 2021
- N/A Changelog not available.
0.2.3
March 4th, 2021
- N/A Changelog not available.
0.2.2
March 4th, 2021
- N/A Changelog not available.
0.2.1
March 4th, 2021
- N/A Changelog not available.