--- title: "Liquid filters: prepend" description: Adds a given string to the beginning of a string. api_name: liquid source_url: html: https://shopify.dev/docs/api/liquid/filters/prepend md: https://shopify.dev/docs/api/liquid/filters/prepend.md --- # prepend ```oobleck string | prepend: string ``` returns [string](https://shopify.dev/docs/api/liquid/basics#string) Adds a given string to the beginning of a string. ```liquid {%- assign origin = request.origin -%} {{ product.url | prepend: origin }} ``` ## Output ```html https://polinas-potent-potions.myshopify.com/products/health-potion ```