Accepting credit cards, warehouses, and shipping and fulfilling orders
Hi there!
I've been trying to add a URL in the order confirmation email but the links remain unclickable when sent in the email. Is there a way to make the URL work and redirect properly?
here is the code i added:
{% if fulfillment.item_count == item_count %}
{% capture email_title %}Your new ootd is on the way! {% endcapture %}
{% capture email_body %}
{% if fulfillment.tracking_numbers.size > 0 %}
{% if fulfillment.tracking_numbers.size == 1 %}
Tracking number: <a href="{{ fulfillment.tracking_url }}">{{ fulfillment.tracking_numbers.first }}</a>
{% elsif fulfillment.tracking_numbers.size == 1 %}
Tracking number: {{ fulfillment.tracking_numbers.first }}
{% else %}
Tracking numbers:<br />
{% for tracking_number in fulfillment.tracking_numbers %}
{{ tracking_number }}<br />
{% endfor %}
{% endif %}
{% endif %}
<br/><br/>You can track your orders here: <br/>
Metro Manila || <a href=“https://fifthexpress.com/tracking”>fifthexpress.com/tracking</a> <br/>
Provincial || <a href=“https://app.gogoxpress.com/track/ ”>app.gogoxpress.com/track</a><br/><br/> {% endcapture %}
I would suggest you look at the quotes you have around the order tracking urls. Compare yours to the one further up for the tracking number. See the difference?
You'd want to use these:
"
not smart quotes like:
“”
Small but important difference.
If that still fails once you've adjusted that, post again.
Ohh I see! I didn't notice that. Thank so much! It works properly now 🙂 Appreciate the response!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024