New Shopify Certification now available: Liquid Storefronts for Theme Developers

How to add custom elements to cart page and blend it with the current theme?

priosshrsth
Visitor
1 0 0

I am trying to create shopify app with rails. I want to add functionality in the cart page, to select different store location, to set custom shipping address. My questions are:
1. What is the best way to do so? script tags or writing to template file in theme?? Or are there other preferred way to do so?

2. How do I make my elements blend in with their theme?

Reply 1 (1)
vix
Shopify Staff
Shopify Staff
540 103 121

Hi @priosshrsth 

 

It depends if your functionality needs an app. Will you be utilizing the Admin API? If so, this would be through an app. If not - you may just be able to make theme changes as authenticated would not be an issue. 

 

In regards to blending with the theme, matching CSS and theme elements in the same way you would develop a theme. 

To learn more visit the Shopify Help Center or the Community Blog.