Shopify themes, liquid, logos, and UX
Hi folks, I hope everyone is well.
We've got an on-site checkout function where customers can input their card details and pay for their orders without leaving our store.
I'm trying to implement a feature where the button that the customer will press to be charged will show the amount we will charge them, but I can't for the life of me figure out how to pull the data across.
The page where the customer enters their card details is immediately after pressing "Complete order" in the built in Shopify checkout.
Any help would be much appreciated - I've created an image below to help describe what I'm trying to do.
Thank you all!
If you have access to cart object there then you can access total like this
{{cart.total_price | money}}
Thanks!
Unfortunately this just produces the subtotal and I have tried this before - this does not include the shipping rate selected by the customer.
If we were to use that field in the "Charge (cart.total_price)" then they would see a button that says "charge £3.98" but in truth we'd be taking £8.98.
Any other ideas?
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025