I want to add an “Add to Cart” or “Choose Option” button below the related products section on the product page of the Dawn theme, but I’m facing an issue when trying to modify the related products code. Specifically, when I add the quick Add**: ‘standard’** code to the related product section card-product snippet, it breaks the related product cards. I will attach some screenshots of the code and frontend for further clarification.
Topic summary
Goal: Add “Add to cart”/“Choose option” buttons under related products on a Dawn theme product page without breaking the related product cards.
Context: Store uses Dawn v15.2.0. Initial attempt to add quick add in the card-product snippet broke the related product cards.
Proposed implementation:
- In related-products.liquid, include:
- When rendering the card-product snippet, pass:
- quick_add: ‘standard’
- section_id: section.id
Result: Buttons appear, but “Choose option” opens the product form as content rendered below the section instead of a popup modal. Screenshots of code and frontend behavior are provided and are central to understanding the issue.
Status: Unresolved/ongoing. The contributor notes that debugging is required to fix the modal display behavior after enabling quick add in the related products context.
Key next step: Investigate and debug the quick add modal rendering (scripts loading, parameters, and related-products integration) to ensure it opens as a popup.
Will try this out and update you, since you are on dawn I could try this on my dev store as well. What version are you using??
I am using DAWN version 15.2.0
Man this was easy.
On your related-products.liquid file add these two lines at the top
And on that same file where card-product snippet is being called or rendered add these two input query to it,
quick_add: ‘standard’,
section_id: section.id,
This should add the choose options and add to cart buttons. There are bugs though, you may have to debug a bit for functionality
Best
Shadab
Hey, I have used your method for the pop up but still facing issue. When I click on choose option button, the pop up opens as shown in provided screenshot. You can also check the code; I have attached the screenshot of code. 
I told you, you need some debugging to do. It displays the modal but not as a popup but just renders down below.




