-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use store-info resource #72
Conversation
a497634
to
5f89747
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping update the Brisk! I looked up the mise repo and found that it doesn't use square.store.* anywhere.
5f89747
to
89cf20c
Compare
@@ -47,7 +47,7 @@ | |||
{% endblock %} | |||
</head> | |||
|
|||
{% set defaultFulfillment = (square.store.default_item_fulfillment|split(',')[0])|default('SHIPMENT') %} | |||
{% set defaultFulfillment = (store_info.default_item_fulfillment|split(',')[0])|default('SHIPMENT') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here where do we actually get the store-info schema reference from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that i can get it to resolve now let me test it out, I think it works because the "parent" template has access to this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, as long as the parent who is extending this file pulls it in, it should be able to access it. i had to update my PR to add store-info
to all pages since all pages extend this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks!
89cf20c
to
6b57130
Compare
@@ -47,7 +47,7 @@ | |||
{% endblock %} | |||
</head> | |||
|
|||
{% set defaultFulfillment = (square.store.default_item_fulfillment|split(',')[0])|default('SHIPMENT') %} | |||
{% set defaultFulfillment = (store_info.default_item_fulfillment|split(',')[0])|default('SHIPMENT') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks!
🎉 This PR is included in version 1.0.0-alpha.15 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
* alpha: fix: use `seller_preferred_fulfillment` for default fulfillment (#73) feat: use store-info resource (#72) fix: Item filters not working and resolve the filter name mismatch (#70) fix: fix integrity missing cross origin anonymous (#69) build(dependencies): update vulnerable packages (#68) fix: add integrity to cdn scripts and remove unused (#67) chore: add integrity to cdn scripts and remove unused (#66) ci(github-actions): use specific semantic-release version (#63)
The
square.store
info global is deprecated and will be removed in favor thestore-info
resource. Thestore-info
resource should improve cacheabilitySee breaking changes documentation
Changes
store-info
resource