Liquid, JavaScript, themes, sales channels
Dear Shopify community,
Is it possible to change the checkout attributes, on checkout.liquid, under the following conditions:
<input type="text" name="checkout[attributes][field_name]" >
What I'm currently experiencing is that when the input is utilized, and the Complete Order button is clicked, I get an error that says the 'Your order total has changed. Refresh your cart and try again'. I'm assuming this is related to changing attributes on the checkout. I have tried various ways to get around this, but no luck after 3 hours. I am beginning to think this is a feature of the checkout systems that I can't get around, and I am either hoping to confirm this, or find a way to work around this problem.
To be clear, this is a checkout attribute on the very final form before the order is completed. I do not wish to put an input anywhere else. Additionally, whatever is in the input field is being shown on the resulting error page, so I'm think the saving part is working. This is more about preventing checkout from showing a 'refresh' error.
Any assistance would be greatly appreciated.
Thank you.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024