diff --git a/example-templates/dist/shop/_private/address/list.twig b/example-templates/dist/shop/_private/address/list.twig index 0acd99c1f6..77cc2cd8bd 100644 --- a/example-templates/dist/shop/_private/address/list.twig +++ b/example-templates/dist/shop/_private/address/list.twig @@ -4,12 +4,12 @@ {% set primaryShippingAddressId = primaryShippingAddressId ?? null %} {% set showDelete = showDelete ?? false %} {% set showAdd = showAdd ?? false %} -{% set addUrl = '/shop/customer/addresses/edit?redirect=' ~ craft.app.request.fullPath %} +{% set addUrl = siteUrl('shop/customer/addresses/edit?redirect=' ~ craft.app.request.pathInfo) %} {% if currentUser %}
{{ 'Empty cart. Add items on the {link} page.'|t({ - link: tag('a', { href: url('/shop/products'), text: 'products', class: 'underline' }) + link: tag('a', { href: url('shop/products'), text: 'products', class: 'underline' }) })|raw }}
{% endif %} {% endblock %} diff --git a/example-templates/dist/shop/cart/load.twig b/example-templates/dist/shop/cart/load.twig index ff95d1c12e..dfe8d144d9 100644 --- a/example-templates/dist/shop/cart/load.twig +++ b/example-templates/dist/shop/cart/load.twig @@ -7,7 +7,7 @@ Outputs form for collecting a cart number to be loaded.