Shopify themes, liquid, logos, and UX
Hi there,
I am building a shopify app using Laravel. I wanted to add a button on product page under add to cart or sold out button like shown in theme below:
Now the issue is every themes product page structured differently so what's the best way to achieve this result that can work on all themes.
Also what if I wanted to achieve the same on collections page?
Any help would be appreciated, Thanks
Solved! Go to the solution
This is an accepted solution.
@Shahzaib342 - this is the correct approach and all the apps use this same approach.
@Shahzaib342 - shopify changes are theme specific , therefore there is no solution that can work for all themes as with each theme change you will need to add code in each theme as per your need.
@suyash1 thanks for the answer.
So whats the best way to achieve this within my app? Should I register a snippet on app install and provide user documentation to render that snippet anywhere where he wants to display that button? or is there any other approach?
This is an accepted solution.
@Shahzaib342 - this is the correct approach and all the apps use this same approach.
Okay Thanks
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025