Created
February 5, 2018 18:27
-
-
Save essmahr/d03abd55f2b1a3ddc2b71b0cc05274d7 to your computer and use it in GitHub Desktop.
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
Replace {{ item.title }} | |
with | |
{{ item.title | |
| remove: 'Default Title / ' | remove: ' - Default' | remove: ' / Default' | remove: 'Default' | remove: ' / Title' | remove: 'Title' | |
}} | |
For JavaScript cart popups: | |
title.replace(' - Default', '').replace(' / Default', '').replace('Default', '').replace(' / Title', '').replace('Title', '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment