How can I add multiple ‘Buy Now’ buttons on a single page in my Shopify store (Checkout) without affecting the page’s layout or functionality? Are there specific steps or code snippets to achieve this?
Topic summary
A user seeks guidance on implementing multiple ‘Buy Now’ buttons on a single Shopify page without disrupting layout or functionality.
Current Status:
- Question remains open with preliminary responses
- No definitive solution confirmed yet
Suggested Approaches:
Code-based solution:
- Navigate to theme code editor
- Locate
main-product.liquidfile - Find the existing buy button render code:
{% render 'buy-button' %} - Copy and paste this snippet wherever additional buttons are needed
Clarification needed:
- One responder requested a screenshot to better understand the desired button placement
- Specific page location and layout context would help provide more targeted guidance
The discussion awaits further details from the original poster to refine the implementation approach.
Hi @jamesmike2
Where would you like to add the buy buttons on the page? Please provide a screenshot.
Hi,
Go to edit code, go to main-product.liquid
find buy-button
similar like
{% render ‘buy-button’ %}
copy this where you want.