Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey everyone!
I want to showcase the following information on the THank you page and order confirmation email.
Shopify Chatbot gave me the following code to copy into order.liquid and notification code, but it is not working:
Status: {{ transaction.status }}
Order ID: {{ order.id }}
Amount: {{ order.total_price | money }}
Card Type: {{ transaction.payment_method | slice: 0, 4 }}****{{ transaction.payment_method | slice: -4 }}
Bank Code: {{ transaction.bank_code }}
Timestamp: {{ transaction.created_at }}
I'm using Narrative theme. Also the chatbot mentioned a {{ order.payment_details }} variable. I cant seem to find it in my theme. Could that be the issue? Please see below how I implemented the snippet in the screenshots.