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
@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?
@Shahzaib342 - this is the correct approach and all the apps use this same approach.