How can I display products in the checkout using API or code?

How can I display products in the checkout using API or code?

ColombiaDev
Shopify Partner
35 2 2

In the checkout how can I show again the products that are inside in the checkout with API or with code?

 

I have had Shopify Plus.

 

Example-Shopify-Checkout-page.png

 

Front-end Developer | Shopify | Liquid | Ruby | Javascript | API Rest | SEO | Optimización
Replies 3 (3)

MastersHub
Shopify Partner
215 20 38

I didn't understand what you wanted to do. You can use Checkout UI or Cart Transform. The relevant documents are below.

 

https://shopify.dev/docs/api/checkout-ui-extensions

 

https://shopify.dev/docs/api/functions/reference/cart-transform

Helpful ? Like and Accept Solution
Buy me a Coffee
Need a Shopify Developer?
Send Email or Chat on WhatsApp
ColombiaDev
Shopify Partner
35 2 2

That is, I want to show again the products that are inside the cart. Something like this...Example-Shopify-Checkout-page.png

Front-end Developer | Shopify | Liquid | Ruby | Javascript | API Rest | SEO | Optimización
MastersHub
Shopify Partner
215 20 38

You specifically need the Checkout UI. You can utilize the Cart Lines API. You may find a Shopify developer. Additionally, I am providing you with the documents below that will guide you.

 

https://shopify.dev/docs/api/checkout-ui-extensions

https://shopify.dev/docs/api/checkout-ui-extensions/2024-01/extension-targets-overview

https://shopify.dev/docs/api/checkout-ui-extensions/2024-01/apis/cart-lines

 

Helpful ? Like and Accept Solution
Buy me a Coffee
Need a Shopify Developer?
Send Email or Chat on WhatsApp