Hi all,
Can someone please help me edit my abandoned cart email. I would like to remove the sentence ’ Welcome to our shop, hope you enjoyed the experience’ but it does not appear in the code anywhere. Please let me know if you would like me to share the code?
Your assistance is appreciated.
Hi @EBOOST ,
Thank you for your response. I know where to edit the code and have already customized it but my issue is removing this one particular sentence as it does not appear in the code anywhere. Do you need me to share the code, or part of the code?
Hi,
Yes. Could you share code? I will help to update it.
{% capture email_title %}You’ve got good taste, complete your purchase now before they sell out.{% endcapture %}
{{ email_title }}
.button__cell { background: {{ shop.email_accent_color }}; }
a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
{%- if shop.email_logo_url %}
{%- else %}
{%- endif %}
{% for line in subtotal_line_items %}
{% endfor %}
{% assign expand_bundles = false %}
{% if expand_bundles and line.bundle_parent? %}
{% else %}
{% endif %}
{% if expand_bundles and line.bundle_parent? %}
{% if line.image %}
{% else %}
{% endif %}
{% if line.image %}
{% else %}
{% endif %}
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %}
{% capture line_display %}
{{ line.quantity }} of {{ line.quantity }}
{% endcapture %}
{% else %}
{% assign line_display = line.quantity %}
{% endif %}
{{ line_title }} × {{ line_display }}
{% if line.variant.title != ‘Default Title’ and line.bundle_parent? == false %}
{{ line.variant.title }}
{% elsif line.variant.title != ‘Default Title’ and line.bundle_parent? and expand_bundles == false %}
{{ line.variant.title }}
{% endif %}
{% if expand_bundles %}
{% for component in line.bundle_components %}
{% if component.image %}
{% else %}
{% endif %}
{% if component.product.title %}
{% assign component_title = component.product.title %}
{% else %}
{% assign component_title = component.title %}
{% endif %}
{% assign component_display = component.quantity %}
{{ component_title }} × {{ component_display }}
{% if component.variant.title != ‘Default Title’%}
{{ component.variant.title }}
{% endif %}
{% endfor %}
{% else %}
{% for group in line.groups %}
Part of: {{ group.display_title }}
{% endfor %}
{% endif %}
{% if line.selling_plan_allocation %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != ‘all’ %}
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% endif %}
{% if line.original_line_price != line.final_line_price %}
{{ line.original_line_price | money }}
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Free
{% endif %}
{% assign order_discount_count = 0 %}
{% assign total_order_discount_amount = 0 %}
{% assign has_shipping_discount = false %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == ‘all’ and discount_application.target_type == ‘line_item’ %}
{% assign order_discount_count = order_discount_count | plus: 1 %}
{% assign total_order_discount_amount = total_order_discount_amount | plus: discount_application.total_allocated_amount %}
{% endif %}
{% if discount_application.target_type == ‘shipping_line’ %}
{% assign has_shipping_discount = true %}
{% assign shipping_discount = discount_application.title %}
{% assign shipping_amount = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% if order_discount_count > 0 %}
{% if order_discount_count == 1 %}
{% endif %}
{% if order_discount_count > 1 %}
{% endif %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == ‘all’ and discount_application.target_type != ‘shipping_line’ %}
{% endif %}
{% endfor %}
{% endif %}
{% if delivery_method == ‘pick-up’ %}
{% else %}
{% if has_shipping_discount %}
{% else %}
{% endif %}
{% endif %}
{% if total_duties %}
{% endif %}
{% if total_tip and total_tip > 0 %}
{% endif %}
Subtotal
{{ subtotal_price | plus: total_order_discount_amount | money }}
Order discount
-{{ total_order_discount_amount | money }}
Order discounts
-{{ total_order_discount_amount | money }}
{{ discount_application.title }} (-{{ discount_application.total_allocated_amount | money }})
Pickup
{{ shipping_price | money }}
Shipping
Free
{{ shipping_discount }} (-{{ shipping_amount | money }})
Shipping
{{ shipping_price | money }}
Duties
{{ total_duties | money }}
Taxes
{{ tax_price | money }}
Tip
{{ total_tip | money }}
{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% if transaction.status == “success” %}
{% if transaction.kind == “sale” or transaction.kind == “capture” %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% elsif transaction.kind == “refund” or transaction.kind == “change” %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | minus: transaction.amount %}
{% endif %}
{% endif %}
{% endfor %}
{% if payment_terms and payment_terms.automatic_capture_at_fulfillment == false or b2b?%}
{% assign due_at_date = payment_terms.next_payment.due_at | date: "%b %d, %Y" %}
{% else %}
{% if transaction_amount != total_price and payment_terms == nil%}
{% endif %}
{% endif %}
Total paid today
{{ transaction_amount | money_with_currency }}
Total due {{ due_at_date }}
{{ payment_terms.next_payment.amount_due | money_with_currency }}
Total
{{ total_price | money_with_currency }}
Total paid today
{{ transaction_amount | money_with_currency }}
{% if total_discounts > 0 %}
You saved {{ total_discounts | money }}
{% endif %}
{% unless payment_terms %}
{% if transaction_size > 1 or transaction_amount < total_price %}
{% for transaction in transactions %}
{% if transaction.status == “success” and transaction.kind == “capture” or transaction.kind == “sale” %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% capture transaction_name %}Gift card (ending with {{ transaction.payment_details.gift_card_last_four_digits }}){% endcapture %}
{% elsif transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}
{% endif %}
{% if transaction.kind == ‘refund’ %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% assign refund_method_title = transaction.payment_details.type %}
{% elsif transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}
{% endif %}
{% endfor %}
{{transaction_name}}
{{ transaction.amount | money }}
Refund
{{ refund_method_title | replace: '_', ' ' | capitalize }}
- {{ transaction.amount | money }}
{% endif %}
{% endunless %}
{% if shipping_address or billing_address or shipping_method %}
{% if shipping_address %}
{% endif %}
{% if billing_address %}
{% endif %}
Shipping address
{{ shipping_address | format_address }}
Billing address
{{ billing_address | format_address }}
{% if shipping_method %}
Shipping method
{{ shipping_method.title }} {{ shipping_method.price | money }}
{% endif %}
{% endif %}
{% if shop.url %}
{% endif %}
If you have any questions, reply to this email or contact us at {{ shop.email }}
EBOOST
June 5, 2024, 12:09am
6
Hi,
May I suggest code below:
{% capture email_title %}You've got good taste, complete your purchase now before they sell out.{% endcapture %}
<table>
<table>
<table>
<table>
<tr>
<td>
{%- if shop.email_logo_url %}
{%- else %}
#
{{ shop.name }}
{%- endif %}
</td>
</tr>
</table>
</table>
</table>
<table>
<table>
## {{ email_title }}
<table>
<table>
<tr>
<td>
Complete your purchase
</td>
</tr>
</table>
</table>
Need help? Contact us at [{{ shop.email }}](mailto:{{ shop.email }})
[
](mailto:{{ shop.email }})
</table>
</table>
<table>
<table>
<tr>
<td>
### Order summary
</td>
</tr>
</table>
<table>
{% for line in subtotal_line_items %}
{% endfor %}
<table>
{% assign expand_bundles = false %}
{% if expand_bundles and line.bundle_parent? %}
{% else %}
{% endif %}
{% if expand_bundles and line.bundle_parent? %}
<table>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display=line.quantity %} {% endif %} {{ line_title }} × {{ line_display }}
{% if line.variant.title != 'Default Title' and line.bundle_parent? == false %}
{{ line.variant.title }}
{% elsif line.variant.title != 'Default Title' and line.bundle_parent? and expand_bundles == false %}
{{ line.variant.title }}
{% endif %}
{% if expand_bundles %}
{% for component in line.bundle_components %}
<table>
<table>
<tr>
<td>
{% if component.image %}
{% else %}
{% endif %}
</td>
<td>
{% if component.product.title %}
{% assign component_title = component.product.title %}
{% else %}
{% assign component_title = component.title %}
{% endif %}
{% assign component_display = component.quantity %}
{{ component_title }} × {{ component_display }}
{% if component.variant.title != 'Default Title'%}
{{ component.variant.title }}
{% endif %}
</td>
</tr>
</table>
</table>
{% endfor %}
{% else %}
{% for group in line.groups %}
Part of: {{ group.display_title }}
{% endfor %}
{% endif %}
{% if line.selling_plan_allocation %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% endif %}
{% if line.original_line_price != line.final_line_price %}
<del>{{ line.original_line_price | money }}</del>
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Free
{% endif %}
</table>
</table>
<table>
<td>
</td>
{% assign order_discount_count = 0 %}
{% assign total_order_discount_amount = 0 %}
{% assign has_shipping_discount = false %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type == 'line_item' %}
{% assign order_discount_count = order_discount_count | plus: 1 %}
{% assign total_order_discount_amount = total_order_discount_amount | plus: discount_application.total_allocated_amount %}
{% endif %}
{% if discount_application.target_type == 'shipping_line' %}
{% assign has_shipping_discount = true %}
{% assign shipping_discount = discount_application.title %}
{% assign shipping_amount = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% if order_discount_count > 0 %}
{% if order_discount_count == 1 %}
{% endif %}
{% if order_discount_count > 1 %}
{% endif %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type != 'shipping_line' %}
{% endif %}
{% endfor %}
{% endif %}
{% if delivery_method == 'pick-up' %}
{% else %}
{% if has_shipping_discount %}
{% else %}
{% endif %}
{% endif %}
{% if total_duties %}
{% endif %}
{% if total_tip and total_tip > 0 %}
{% endif %}
<table>
<tr>
<td>
Subtotal
</td>
<td>
**{{ subtotal_price | plus: total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discount
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discounts
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
{{ discount_application.title }} (-{{ discount_application.total_allocated_amount | money }})
</td>
</tr>
<tr>
<td>
Pickup
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**Free**
</td>
</tr>
<tr>
<td>
{{ shipping_discount }} (-{{ shipping_amount | money }})
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Duties
</td>
<td>
**{{ total_duties | money }}**
</td>
</tr>
<tr>
<td>
Taxes
</td>
<td>
**{{ tax_price | money }}**
</td>
</tr>
<tr>
<td>
Tip
</td>
<td>
**{{ total_tip | money }}**
</td>
</tr>
</table>
{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% if transaction.status == "success" %}
{% if transaction.kind == "sale" or transaction.kind == "capture" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% elsif transaction.kind == "refund" or transaction.kind == "change" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | minus: transaction.amount %}
{% endif %}
{% endif %}
{% endfor %}
{% if payment_terms and payment_terms.automatic_capture_at_fulfillment == false or b2b?%}
{% assign due_at_date = payment_terms.next_payment.due_at | date: "%b %d, %Y" %}
{% else %}
{% if transaction_amount != total_price and payment_terms == nil%}
{% endif %}
{% endif %}
<table>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total due {{ due_at_date }}
</td>
<td>
**{{ payment_terms.next_payment.amount_due | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total
</td>
<td>
**{{ total_price | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
</table>
{% if total_discounts > 0 %}
You saved {{ total_discounts | money }}
{% endif %}
{% unless payment_terms %}
{% if transaction_size > 1 or transaction_amount < total_price %}
{% for transaction in transactions %}
{% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% capture transaction_name %}Gift card (ending with {{ transaction.payment_details.gift_card_last_four_digits }}){% endcapture %}
{% elsif transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}
{% endif %}
{% if transaction.kind == 'refund' %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% assign refund_method_title = transaction.payment_details.type %}
{% elsif transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}
{% endif %}
{% endfor %}
<table>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
{{transaction_name}}
</td>
<td>
**{{ transaction.amount | money }}**
</td>
</tr>
Refund
<small>{{ refund_method_title | replace: '_', ' ' | capitalize }}</small>
**- {{ transaction.amount | money }}**
</table>
{% endif %}
{% endunless %}
</table>
</table>
</table>
{% if shipping_address or billing_address or shipping_method %}
<table>
<table>
<tr>
<td>
### Customer information
</td>
</tr>
</table>
<table>
{% if shipping_address %}
{% endif %}
{% if billing_address %}
{% endif %}
<table>
<tr>
<td>
#### Shipping address
{{ shipping_address | format_address }}
</td>
<td>
#### Billing address
{{ billing_address | format_address }}
</td>
</tr>
</table>
{% if shipping_method %}
<table>
<tr>
<td>
#### Shipping method
{{ shipping_method.title }}
{{ shipping_method.price | money }}
</td>
</tr>
</table>
{% endif %}
</table>
</table>
{% endif %}
{% if shop.url %}
<table>
<table>
<tr>
<td>
Come back or visit our online store.
</td>
</tr>
</table>
</table>
{% endif %}
<table>
<table>
<tr>
<td>
If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})
</td>
</tr>
</table>
</table>
</table>
Hi,
Unfortunately this comes up as error.
Hi,
You try code below:
{% capture email_title %}You've got good taste, complete your purchase now before they sell out.{% endcapture %}
{% capture custom_message %}
Need help? Contact us at [{{ shop.email }}](mailto:{{ shop.email }})
[{% endcapture %}
<table>
<table>
<table>
<table>
<tr>
<td>
{%- if shop.email_logo_url %}
{%- else %}
#
{{ shop.name }}
{%- endif %}
</td>
</tr>
</table>
</table>
</table>
<table>
<table>
## {{ email_title }}
<table>
<table>
<tr>
<td>
Complete your purchase
</td>
</tr>
</table>
</table>
{% if custom_message != blank %}
{{ custom_message }}
{% endif %}
</table>
</table>
<table>
<table>
<tr>
<td>
### Order summary
</td>
</tr>
</table>
<table>
{% for line in subtotal_line_items %}
{% endfor %}
<table>
{% assign expand_bundles = false %}
{% if expand_bundles and line.bundle_parent? %}
{% else %}
{% endif %}
{% if expand_bundles and line.bundle_parent? %}
<table>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display=line.quantity %} {% endif %} {{ line_title }} × {{ line_display }}
{% if line.variant.title != 'Default Title' and line.bundle_parent? == false %}
{{ line.variant.title }}
{% elsif line.variant.title != 'Default Title' and line.bundle_parent? and expand_bundles == false %}
{{ line.variant.title }}
{% endif %}
{% if expand_bundles %}
{% for component in line.bundle_components %}
<table>
<table>
<tr>
<td>
{% if component.image %}
{% else %}
{% endif %}
</td>
<td>
{% if component.product.title %}
{% assign component_title = component.product.title %}
{% else %}
{% assign component_title = component.title %}
{% endif %}
{% assign component_display = component.quantity %}
{{ component_title }} × {{ component_display }}
{% if component.variant.title != 'Default Title'%}
{{ component.variant.title }}
{% endif %}
</td>
</tr>
</table>
</table>
{% endfor %}
{% else %}
{% for group in line.groups %}
Part of: {{ group.display_title }}
{% endfor %}
{% endif %}
{% if line.selling_plan_allocation %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% endif %}
{% if line.original_line_price != line.final_line_price %}
<del>{{ line.original_line_price | money }}</del>
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Free
{% endif %}
</table>
</table>
<table>
<td>
</td>
{% assign order_discount_count = 0 %}
{% assign total_order_discount_amount = 0 %}
{% assign has_shipping_discount = false %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type == 'line_item' %}
{% assign order_discount_count = order_discount_count | plus: 1 %}
{% assign total_order_discount_amount = total_order_discount_amount | plus: discount_application.total_allocated_amount %}
{% endif %}
{% if discount_application.target_type == 'shipping_line' %}
{% assign has_shipping_discount = true %}
{% assign shipping_discount = discount_application.title %}
{% assign shipping_amount = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% if order_discount_count > 0 %}
{% if order_discount_count == 1 %}
{% endif %}
{% if order_discount_count > 1 %}
{% endif %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type != 'shipping_line' %}
{% endif %}
{% endfor %}
{% endif %}
{% if delivery_method == 'pick-up' %}
{% else %}
{% if has_shipping_discount %}
{% else %}
{% endif %}
{% endif %}
{% if total_duties %}
{% endif %}
{% if total_tip and total_tip > 0 %}
{% endif %}
<table>
<tr>
<td>
Subtotal
</td>
<td>
**{{ subtotal_price | plus: total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discount
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discounts
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
{{ discount_application.title }} (-{{ discount_application.total_allocated_amount | money }})
</td>
</tr>
<tr>
<td>
Pickup
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**Free**
</td>
</tr>
<tr>
<td>
{{ shipping_discount }} (-{{ shipping_amount | money }})
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Duties
</td>
<td>
**{{ total_duties | money }}**
</td>
</tr>
<tr>
<td>
Taxes
</td>
<td>
**{{ tax_price | money }}**
</td>
</tr>
<tr>
<td>
Tip
</td>
<td>
**{{ total_tip | money }}**
</td>
</tr>
</table>
{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% if transaction.status == "success" %}
{% if transaction.kind == "sale" or transaction.kind == "capture" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% elsif transaction.kind == "refund" or transaction.kind == "change" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | minus: transaction.amount %}
{% endif %}
{% endif %}
{% endfor %}
{% if payment_terms and payment_terms.automatic_capture_at_fulfillment == false or b2b?%}
{% assign due_at_date = payment_terms.next_payment.due_at | date: "%b %d, %Y" %}
{% else %}
{% if transaction_amount != total_price and payment_terms == nil%}
{% endif %}
{% endif %}
<table>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total due {{ due_at_date }}
</td>
<td>
**{{ payment_terms.next_payment.amount_due | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total
</td>
<td>
**{{ total_price | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
</table>
{% if total_discounts > 0 %}
You saved {{ total_discounts | money }}
{% endif %}
{% unless payment_terms %}
{% if transaction_size > 1 or transaction_amount < total_price %}
{% for transaction in transactions %}
{% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% capture transaction_name %}Gift card (ending with {{ transaction.payment_details.gift_card_last_four_digits }}){% endcapture %}
{% elsif transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}
{% endif %}
{% if transaction.kind == 'refund' %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% assign refund_method_title = transaction.payment_details.type %}
{% elsif transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}
{% endif %}
{% endfor %}
<table>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
{{transaction_name}}
</td>
<td>
**{{ transaction.amount | money }}**
</td>
</tr>
Refund
<small>{{ refund_method_title | replace: '_', ' ' | capitalize }}</small>
**- {{ transaction.amount | money }}**
</table>
{% endif %}
{% endunless %}
</table>
</table>
</table>
{% if shipping_address or billing_address or shipping_method %}
<table>
<table>
<tr>
<td>
### Customer information
</td>
</tr>
</table>
<table>
{% if shipping_address %}
{% endif %}
{% if billing_address %}
{% endif %}
<table>
<tr>
<td>
#### Shipping address
{{ shipping_address | format_address }}
</td>
<td>
#### Billing address
{{ billing_address | format_address }}
</td>
</tr>
</table>
{% if shipping_method %}
<table>
<tr>
<td>
#### Shipping method
{{ shipping_method.title }}
{{ shipping_method.price | money }}
</td>
</tr>
</table>
{% endif %}
</table>
</table>
{% endif %}
{% if shop.url %}
<table>
<table>
<tr>
<td>
Come back or visit our online store.
</td>
</tr>
</table>
</table>
{% endif %}
<table>
<table>
<tr>
<td>
If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})
</td>
</tr>
</table>
</table>
</table>
](mailto:{{ shop.email }})
Hi,
The line has now been removed but so has the ‘Complete your purchase’ button.
EBOOST
June 5, 2024, 6:59am
10
Hi,
We have a wrong format here
{% capture email_title %}You've got good taste, complete your purchase now before they sell out.{% endcapture %}
{% capture custom_message %}
Need help? Contact us at [{{ shop.email }}](mailto:{{ shop.email }})
{% endcapture %}
<table>
<table>
<table>
<table>
<tr>
<td>
{%- if shop.email_logo_url %}
{%- else %}
#
{{ shop.name }}
{%- endif %}
</td>
</tr>
</table>
</table>
</table>
<table>
<table>
## {{ email_title }}
<table>
<table>
<tr>
<td>
Complete your purchase
</td>
</tr>
</table>
</table>
{% if custom_message != blank %}
{{ custom_message }}
{% endif %}
</table>
</table>
<table>
<table>
<tr>
<td>
### Order summary
</td>
</tr>
</table>
<table>
{% for line in subtotal_line_items %}
{% endfor %}
<table>
{% assign expand_bundles = false %}
{% if expand_bundles and line.bundle_parent? %}
{% else %}
{% endif %}
{% if expand_bundles and line.bundle_parent? %}
<table>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display=line.quantity %} {% endif %} {{ line_title }} × {{ line_display }}
{% if line.variant.title != 'Default Title' and line.bundle_parent? == false %}
{{ line.variant.title }}
{% elsif line.variant.title != 'Default Title' and line.bundle_parent? and expand_bundles == false %}
{{ line.variant.title }}
{% endif %}
{% if expand_bundles %}
{% for component in line.bundle_components %}
<table>
<table>
<tr>
<td>
{% if component.image %}
{% else %}
{% endif %}
</td>
<td>
{% if component.product.title %}
{% assign component_title = component.product.title %}
{% else %}
{% assign component_title = component.title %}
{% endif %}
{% assign component_display = component.quantity %}
{{ component_title }} × {{ component_display }}
{% if component.variant.title != 'Default Title'%}
{{ component.variant.title }}
{% endif %}
</td>
</tr>
</table>
</table>
{% endfor %}
{% else %}
{% for group in line.groups %}
Part of: {{ group.display_title }}
{% endfor %}
{% endif %}
{% if line.selling_plan_allocation %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% endif %}
{% if line.original_line_price != line.final_line_price %}
<del>{{ line.original_line_price | money }}</del>
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Free
{% endif %}
</table>
</table>
<table>
<td>
</td>
{% assign order_discount_count = 0 %}
{% assign total_order_discount_amount = 0 %}
{% assign has_shipping_discount = false %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type == 'line_item' %}
{% assign order_discount_count = order_discount_count | plus: 1 %}
{% assign total_order_discount_amount = total_order_discount_amount | plus: discount_application.total_allocated_amount %}
{% endif %}
{% if discount_application.target_type == 'shipping_line' %}
{% assign has_shipping_discount = true %}
{% assign shipping_discount = discount_application.title %}
{% assign shipping_amount = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% if order_discount_count > 0 %}
{% if order_discount_count == 1 %}
{% endif %}
{% if order_discount_count > 1 %}
{% endif %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type != 'shipping_line' %}
{% endif %}
{% endfor %}
{% endif %}
{% if delivery_method == 'pick-up' %}
{% else %}
{% if has_shipping_discount %}
{% else %}
{% endif %}
{% endif %}
{% if total_duties %}
{% endif %}
{% if total_tip and total_tip > 0 %}
{% endif %}
<table>
<tr>
<td>
Subtotal
</td>
<td>
**{{ subtotal_price | plus: total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discount
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discounts
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
{{ discount_application.title }} (-{{ discount_application.total_allocated_amount | money }})
</td>
</tr>
<tr>
<td>
Pickup
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**Free**
</td>
</tr>
<tr>
<td>
{{ shipping_discount }} (-{{ shipping_amount | money }})
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Duties
</td>
<td>
**{{ total_duties | money }}**
</td>
</tr>
<tr>
<td>
Taxes
</td>
<td>
**{{ tax_price | money }}**
</td>
</tr>
<tr>
<td>
Tip
</td>
<td>
**{{ total_tip | money }}**
</td>
</tr>
</table>
{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% if transaction.status == "success" %}
{% if transaction.kind == "sale" or transaction.kind == "capture" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% elsif transaction.kind == "refund" or transaction.kind == "change" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | minus: transaction.amount %}
{% endif %}
{% endif %}
{% endfor %}
{% if payment_terms and payment_terms.automatic_capture_at_fulfillment == false or b2b?%}
{% assign due_at_date = payment_terms.next_payment.due_at | date: "%b %d, %Y" %}
{% else %}
{% if transaction_amount != total_price and payment_terms == nil%}
{% endif %}
{% endif %}
<table>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total due {{ due_at_date }}
</td>
<td>
**{{ payment_terms.next_payment.amount_due | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total
</td>
<td>
**{{ total_price | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
</table>
{% if total_discounts > 0 %}
You saved {{ total_discounts | money }}
{% endif %}
{% unless payment_terms %}
{% if transaction_size > 1 or transaction_amount < total_price %}
{% for transaction in transactions %}
{% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% capture transaction_name %}Gift card (ending with {{ transaction.payment_details.gift_card_last_four_digits }}){% endcapture %}
{% elsif transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}
{% endif %}
{% if transaction.kind == 'refund' %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% assign refund_method_title = transaction.payment_details.type %}
{% elsif transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}
{% endif %}
{% endfor %}
<table>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
{{transaction_name}}
</td>
<td>
**{{ transaction.amount | money }}**
</td>
</tr>
Refund
<small>{{ refund_method_title | replace: '_', ' ' | capitalize }}</small>
**- {{ transaction.amount | money }}**
</table>
{% endif %}
{% endunless %}
</table>
</table>
</table>
{% if shipping_address or billing_address or shipping_method %}
<table>
<table>
<tr>
<td>
### Customer information
</td>
</tr>
</table>
<table>
{% if shipping_address %}
{% endif %}
{% if billing_address %}
{% endif %}
<table>
<tr>
<td>
#### Shipping address
{{ shipping_address | format_address }}
</td>
<td>
#### Billing address
{{ billing_address | format_address }}
</td>
</tr>
</table>
{% if shipping_method %}
<table>
<tr>
<td>
#### Shipping method
{{ shipping_method.title }}
{{ shipping_method.price | money }}
</td>
</tr>
</table>
{% endif %}
</table>
</table>
{% endif %}
{% if shop.url %}
<table>
<table>
<tr>
<td>
Come back or visit our online store.
</td>
</tr>
</table>
</table>
{% endif %}
<table>
<table>
<tr>
<td>
If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})
</td>
</tr>
</table>
</table>
</table>
Ư
EBOOST
June 5, 2024, 7:00am
11
Hi,
We have a wrong format here
{% capture email_title %}You've got good taste, complete your purchase now before they sell out.{% endcapture %}
{% capture custom_message %}
Need help? Contact us at [{{ shop.email }}](mailto:{{ shop.email }})
{% endcapture %}
<table>
<table>
<table>
<table>
<tr>
<td>
{%- if shop.email_logo_url %}
{%- else %}
#
{{ shop.name }}
{%- endif %}
</td>
</tr>
</table>
</table>
</table>
<table>
<table>
## {{ email_title }}
<table>
<table>
<tr>
<td>
Complete your purchase
</td>
</tr>
</table>
</table>
{% if custom_message != blank %}
{{ custom_message }}
{% endif %}
</table>
</table>
<table>
<table>
<tr>
<td>
### Order summary
</td>
</tr>
</table>
<table>
{% for line in subtotal_line_items %}
{% endfor %}
<table>
{% assign expand_bundles = false %}
{% if expand_bundles and line.bundle_parent? %}
{% else %}
{% endif %}
{% if expand_bundles and line.bundle_parent? %}
<table>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
<td>
{% if line.image %}
{% else %}
{% endif %}
</td>
{% if line.product.title %}
{% assign line_title = line.product.title %}
{% else %}
{% assign line_title = line.title %}
{% endif %}
{% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display=line.quantity %} {% endif %} {{ line_title }} × {{ line_display }}
{% if line.variant.title != 'Default Title' and line.bundle_parent? == false %}
{{ line.variant.title }}
{% elsif line.variant.title != 'Default Title' and line.bundle_parent? and expand_bundles == false %}
{{ line.variant.title }}
{% endif %}
{% if expand_bundles %}
{% for component in line.bundle_components %}
<table>
<table>
<tr>
<td>
{% if component.image %}
{% else %}
{% endif %}
</td>
<td>
{% if component.product.title %}
{% assign component_title = component.product.title %}
{% else %}
{% assign component_title = component.title %}
{% endif %}
{% assign component_display = component.quantity %}
{{ component_title }} × {{ component_display }}
{% if component.variant.title != 'Default Title'%}
{{ component.variant.title }}
{% endif %}
</td>
</tr>
</table>
</table>
{% endfor %}
{% else %}
{% for group in line.groups %}
Part of: {{ group.display_title }}
{% endfor %}
{% endif %}
{% if line.selling_plan_allocation %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.refunded_quantity > 0 %}
Refunded
{% endif %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
{{ discount_allocation.discount_application.title | upcase }}
(-{{ discount_allocation.amount | money }})
{% endif %}
{% endfor %}
{% endif %}
{% else %}
{% endif %}
{% if line.original_line_price != line.final_line_price %}
<del>{{ line.original_line_price | money }}</del>
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Free
{% endif %}
</table>
</table>
<table>
<td>
</td>
{% assign order_discount_count = 0 %}
{% assign total_order_discount_amount = 0 %}
{% assign has_shipping_discount = false %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type == 'line_item' %}
{% assign order_discount_count = order_discount_count | plus: 1 %}
{% assign total_order_discount_amount = total_order_discount_amount | plus: discount_application.total_allocated_amount %}
{% endif %}
{% if discount_application.target_type == 'shipping_line' %}
{% assign has_shipping_discount = true %}
{% assign shipping_discount = discount_application.title %}
{% assign shipping_amount = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% if order_discount_count > 0 %}
{% if order_discount_count == 1 %}
{% endif %}
{% if order_discount_count > 1 %}
{% endif %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' and discount_application.target_type != 'shipping_line' %}
{% endif %}
{% endfor %}
{% endif %}
{% if delivery_method == 'pick-up' %}
{% else %}
{% if has_shipping_discount %}
{% else %}
{% endif %}
{% endif %}
{% if total_duties %}
{% endif %}
{% if total_tip and total_tip > 0 %}
{% endif %}
<table>
<tr>
<td>
Subtotal
</td>
<td>
**{{ subtotal_price | plus: total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discount
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
Order discounts
</td>
<td>
**-{{ total_order_discount_amount | money }}**
</td>
</tr>
<tr>
<td>
{{ discount_application.title }} (-{{ discount_application.total_allocated_amount | money }})
</td>
</tr>
<tr>
<td>
Pickup
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**Free**
</td>
</tr>
<tr>
<td>
{{ shipping_discount }} (-{{ shipping_amount | money }})
</td>
</tr>
<tr>
<td>
Shipping
</td>
<td>
**{{ shipping_price | money }}**
</td>
</tr>
<tr>
<td>
Duties
</td>
<td>
**{{ total_duties | money }}**
</td>
</tr>
<tr>
<td>
Taxes
</td>
<td>
**{{ tax_price | money }}**
</td>
</tr>
<tr>
<td>
Tip
</td>
<td>
**{{ total_tip | money }}**
</td>
</tr>
</table>
{% assign transaction_size = 0 %}
{% assign transaction_amount = 0 %}
{% for transaction in transactions %}
{% if transaction.status == "success" %}
{% if transaction.kind == "sale" or transaction.kind == "capture" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | plus: transaction.amount %}
{% elsif transaction.kind == "refund" or transaction.kind == "change" %}
{% assign transaction_size = transaction_size | plus: 1 %}
{% assign transaction_amount = transaction_amount | minus: transaction.amount %}
{% endif %}
{% endif %}
{% endfor %}
{% if payment_terms and payment_terms.automatic_capture_at_fulfillment == false or b2b?%}
{% assign due_at_date = payment_terms.next_payment.due_at | date: "%b %d, %Y" %}
{% else %}
{% if transaction_amount != total_price and payment_terms == nil%}
{% endif %}
{% endif %}
<table>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total due {{ due_at_date }}
</td>
<td>
**{{ payment_terms.next_payment.amount_due | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total
</td>
<td>
**{{ total_price | money_with_currency }}**
</td>
</tr>
<tr>
<td>
Total paid today
</td>
<td>
**{{ transaction_amount | money_with_currency }}**
</td>
</tr>
</table>
{% if total_discounts > 0 %}
You saved {{ total_discounts | money }}
{% endif %}
{% unless payment_terms %}
{% if transaction_size > 1 or transaction_amount < total_price %}
{% for transaction in transactions %}
{% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% capture transaction_name %}Gift card (ending with {{ transaction.payment_details.gift_card_last_four_digits }}){% endcapture %}
{% elsif transaction.payment_details.credit_card_company %}
{% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %}
{% endif %}
{% if transaction.kind == 'refund' %}
{% if transaction.payment_details.gift_card_last_four_digits %}
{% assign refund_method_title = transaction.payment_details.type %}
{% elsif transaction.payment_details.credit_card_company %}
{% assign refund_method_title = transaction.payment_details.credit_card_company %}
{% else %}
{% assign refund_method_title = transaction.gateway %}
{% endif %}
{% endif %}
{% endfor %}
<table>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td>
{{transaction_name}}
</td>
<td>
**{{ transaction.amount | money }}**
</td>
</tr>
Refund
<small>{{ refund_method_title | replace: '_', ' ' | capitalize }}</small>
**- {{ transaction.amount | money }}**
</table>
{% endif %}
{% endunless %}
</table>
</table>
</table>
{% if shipping_address or billing_address or shipping_method %}
<table>
<table>
<tr>
<td>
### Customer information
</td>
</tr>
</table>
<table>
{% if shipping_address %}
{% endif %}
{% if billing_address %}
{% endif %}
<table>
<tr>
<td>
#### Shipping address
{{ shipping_address | format_address }}
</td>
<td>
#### Billing address
{{ billing_address | format_address }}
</td>
</tr>
</table>
{% if shipping_method %}
<table>
<tr>
<td>
#### Shipping method
{{ shipping_method.title }}
{{ shipping_method.price | money }}
</td>
</tr>
</table>
{% endif %}
</table>
</table>
{% endif %}
{% if shop.url %}
<table>
<table>
<tr>
<td>
Come back or visit our online store.
</td>
</tr>
</table>
</table>
{% endif %}
<table>
<table>
<tr>
<td>
If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})
</td>
</tr>
</table>
</table>
</table>
Ư