add to cart /qty pick functionality

Topic summary

A developer is building a custom product detail page (PDP) using custom code in Shopify sections and needs help implementing add-to-cart functionality. Specifically, they want to ensure that when customers click the add-to-cart button, the selected variant and quantity are properly reflected on the checkout page.

Response provided:

  • Another user shared a tutorial link with step-by-step instructions for implementing this functionality.

Status: The question appears answered with a resource, though no confirmation of resolution has been posted yet.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

I am creating custom pdp by custom code in section so how to add add to cart functionality there. When we will click on atc so variant and qty reflect to checkout page accordingly

1 Like

Hi @satyam_gupta ,

Follow the steps in this tutorial.

Thanks!