Hosted File
Hosted file filters return URLs for assets hosted on the Shoplazza CDN, including files uploaded in the Shoplazza admin.
shoplaza_asset_url
string |
shoplaza_asset_url
returns string
Returns the CDN URL for a file in the assets directory of a theme.
{{ 'theme.css' | shoplaza_asset_url }}
//static.staticdj.com/themes/theme-589f053bba.css
add_root_url
string |
add_root_url
returns string
Return the URL with a language prefix. It is valid only if the current store is a language store.
{{ '/api/cart' | add_root_url }}
/kr/api/cart
delete_root_url
string |
delete_root_url
returns string
Return the URL without a language prefix.
{{ '/kr/api/cart' | delete_root_url }}
/api/cart
Updated over 1 year ago