Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var textAdded;
- Ecwid.OnPageLoaded.add(function(page) {
- if (page.type == 'PRODUCT' && textAdded != 1) {
- $('.ecwid-AddToBagButton').append('<span>Add to bag</span>');
- textAdded = 1;
- }
- else {
- textAdded = 0;
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement