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
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025