Skip to main content

prepend

string | prepend: string
returns string

Adds a given string to the beginning of a string.

{%- assign origin = request.origin -%}

{{ product.url | prepend: origin }}

Output

https://polinas-potent-potions.myshopify.com/products/health-potion
Was this page helpful?