Created
October 24, 2018 04:18
-
-
Save svaustin66/58b9f56174b6d9b0aee82ca9754b0fc6 to your computer and use it in GitHub Desktop.
Go to Cross-Sell page from Add to Cart
This file contains hidden or 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
<button type="submit" name="add" class="action_button add_to_cart {% if show_payment_button %} action_button--secondary {% endif %}" data-label={{ add_to_cart_label | json }}> | |
{% if product.tags contains 'Cross-Sell-A' %} | |
<input type="hidden" name="return_to" value="/pages/cross-sell-a" /> | |
{% endif %} | |
{% if product.tags contains 'Cross-Sell-B' %} | |
<input type="hidden" name="return_to" value="/pages/cross-sell-b" /> | |
{% endif %} | |
<span class="text">{{ add_to_cart_label }}</span> | |
<svg x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" class="checkmark"> | |
<path fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" d="M9,17l3.9,3.9c0.1,0.1,0.2,0.1,0.3,0L23,11"/> | |
</svg> | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment