How to add script tag using shopify php api?

692 views
Skip to first unread message

w3engineers

unread,
Aug 15, 2011, 12:25:24 PM8/15/11
to shopify-api
Hi

Can any one share any example about script tag using shopify php api?
I tried a lot. But could not figure it out.

Any advice will be helpful.

wik

unread,
Aug 16, 2011, 8:38:44 PM8/16/11
to shopi...@googlegroups.com
Hello,

try this https://github.com/yeevgen/shopify_php_api/tree/script_tag_sample

See script_tag.php and the commit log for difference with original wrapper.

The list of list of all script tags for your shop:
http://localhost:8000/script_tag.php

Create a new ScriptTag(http://localhost:8000/js/hello.js):
http://localhost:8000/script_tag.php?create=1

## Bonus

See etc/ directory ;)
Reply all
Reply to author
Forward
0 new messages