absolute url tag

Hi forum!
How can I get the absolute url of a certain page (Ressource) into the template ? Like {url_absolute} ? Thanks in advance !
Hi forum!
How can I get the absolute url of a certain page (Ressource) into the template ? Like {url_absolute} ? Thanks in advance !
2 comments
Hello @sspind ,
Here is a link to our developers documentation: https://developers.lightspeedhq.com/themes/draft/rain-filters/
The 'url' filter transforms a relative URL into an absolute URL.
{{ product.url | url }}
Output:
http://www.your-domain.com/product.html
Hope this is the answer you were looking for!
eCom Support
Lightspeed HQ
Hmm this maybe only works for product pages.
I need that on a blog page by editing the "fixed.rain" and get only absolute url of the shop instead of the complete url of single pages.
If not possible I'll try it via jquery ..