Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi Everyone,
I would like to know if there is an option to store data in custom attributes. For example, in the storefront, we enter some value in a custom attribute and then try to store it when an event is performed. Will this action store the value in the Shopify admin?
Hi @Khasim ,
This is Theodore from PageFly - Shopify Page Builder App.
While Shopify doesn't directly store data from custom storefront attributes, you can achieve a similar effect through a combined approach:
Metafields: Utilize these custom fields to store additional information associated with products, orders, or other resources.
Event-Triggered Actions: Capture user input or specific events (form submissions, button clicks) using JavaScript in the storefront.
Server-Side Script: Employ a server-side script (ideally within a Shopify app) to interact with the Shopify Admin API. This script:
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Could you please share any document you are aware of which I can go through for this. I already created metafield (input field) and wanted to store the value entered by users in the customer object metafield when they type in there and hit submit. Any help is highly appreciated.
Thanks
Khasim
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025