FROM LOAD - en_header

Shopify Tip Customization for checkout.lua

Jordan_Hall
New Member
1 0 0

I could not find any documentation that shows how to customize the native shopify tip code in a custom checkout.lua for shopify plus users. Is there a way to access and customize the tip? I was hoping to set the tip to default to a certain amount, and only display when Delivery is selected via the Zapiet app, which would trigger via the code below 

 {% if checkout.attributes['Checkout-Method'] == "delivery" %}

>>Insert code to Show shopify tip options, and default to first selection rather than None

 

 
Reply 1 (1)
Ronan-Zapiet
Shopify Partner
2 0 0

Hey Joradan,

Ronan here from Zapiet support. I also couldn't find anything in Shopify's documentation regarding tip code in checkout.liquid. If you would like to send me your store URL I would be happy to look into this for you. My email is ronan@zapiet.com.