Create file .liquid

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..

0 Likes

Hello 

Want to modify or custom changes on store hire us .
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
0 Likes
Shopify Partner
13 0 0

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

0 Likes
Highlighted
Shopify Expert
9965 84 1469

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

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes