Created
December 2, 2021 04:05
-
-
Save basilkhan05/b5a06db9cbdf0d75b8a1f069a1b69542 to your computer and use it in GitHub Desktop.
Hide Simple bundles contents in Shopify notification emails for Orders and Local pickup emails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign show_line_item = true %} | |
{% if line.discount_allocations %} | |
{% for discount_allocation in line.discount_allocations %} | |
{% if discount_allocation.discount_application.title contains "Simple Bundles:" %} | |
{% assign show_line_item = false %} | |
{% endif %} | |
{% endfor %} | |
{% endif %} | |
{% unless show_line_item %} | |
{% continue %} | |
{% endunless %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment