Create file .liquid

Good
Shopify Partner
13 0 0

How to create a new file with extension .liquid?
And how can I update the layout / theme.liquid file to include the file I created earlier?

I searched and looked a lot at the API and found nothing explanatory or that I could have any results ...

I look forward to some help, thanks!

 

Using api..

Replies 3 (3)
oscprofessional
Shopify Partner
15649 2345 3025

Hello 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Good
Shopify Partner
13 0 0

@oscprofessional Yes, but I want to do this automatically using API .. thanks for your time.

Jason
Shopify Expert
11142 221 2050

Look into the assets API. There's examples in the docs that should point you in the right direction.

https://help.shopify.com/en/api/reference/online-store/asset#update-2019-07

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★