We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello-
I used to be able to add customAttributes to a product like:
customAttributes
const product = { id: this.shopifyId, node: this.$refs.shopifyTarget, customAttributes: [ { key: zip_attr_name, value: null }, { key: promo_attr_name, value: promo_url === undefined ? '' : promo_url }, ], moneyFormat: '${{amount_no_decimals}}', options: product_options, }
const product = {
id: this.shopifyId,
node: this.$refs.shopifyTarget,
customAttributes: [
{ key: zip_attr_name, value: null },
{ key: promo_attr_name, value: promo_url === undefined ? '' : promo_url },
],
moneyFormat: '${{amount_no_decimals}}',
options: product_options,
}
return this.$shopifyBuyUI.createComponent('product', product)
Then reference them in a template like:
{{#data.customAttributes.0}} {{value}} {{/data.customAttributes.0}}
{{#data.customAttributes.0}}
{{value}}
{{/data.customAttributes.0}}
This appears to no longer be working. Was this feature removed? Is there a new alternative? Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello-
I used to be able to add
customAttributes
to a product like:const product = {
id: this.shopifyId,
node: this.$refs.shopifyTarget,
customAttributes: [
{ key: zip_attr_name, value: null },
{ key: promo_attr_name, value: promo_url === undefined ? '' : promo_url },
],
moneyFormat: '${{amount_no_decimals}}',
options: product_options,
}
return this.$shopifyBuyUI.createComponent('product', product)
Then reference them in a template like:
{{#data.customAttributes.0}}
{{value}}
{{/data.customAttributes.0}}
This appears to no longer be working. Was this feature removed? Is there a new alternative? Thank you!
The text was updated successfully, but these errors were encountered: