Add to cart button

Topic summary

A user modified their theme code to reposition the “add to cart” button next to the quantity selector on individual product pages. However, this change caused the button to display incorrectly on collection pages and other locations where products appear.

Current situation:

  • The button works correctly on individual product pages
  • It appears in the wrong position on collection/catalog pages

Goal: Keep the new button position on product pages while reverting to the default layout elsewhere.

Resolution status: Another user confirmed the issue requires theme code adjustments to fix. After the store URL (vientodelvino.com) and password were shared, they verified the problem can be resolved through code modifications, but no specific solution has been provided yet. The discussion remains open with the technical fix pending.

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

I have a bit of a difficult question. I changed something in my code so that the add to cart button would be positioned next to amount/quantity selector instead of underneath it.

The problem is now that on my collection pages (with all of my products) or on other pages where a product is mentioned. The add to cart button is on appears on a totally wrong position.

So I want the position of the add to cart button on the individual pages to remain where they are now. But on the other positions and pages I want it back to ‘normal’

This can be fixed by adjusting the code in theme

Can you maybe help me? I am not good at coding so I have no clue what I should change. Because I want to be able to keep the position in the individual product pages.

What’s your store url ?

1 Like

https://vientodelvino.com/

Your store is password protected so i can’t visit
Also the issue can be fixed by modifying your theme code

pasword is meulot

Hope it works :slightly_smiling_face:

I checked it but to fix this issue we need to adjust code in theme files