Created
August 23, 2013 10:38
-
-
Save makfruit/6317898 to your computer and use it in GitHub Desktop.
An HTML/Javascript code snippet for Ecwid to move the pagination bar to the top of product listing
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
| <!-- An HTML/Javascript code snippet for Ecwid to redirect continue shopping buttons to a custom page --> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
| <script> | |
| if (typeof(Ecwid) == 'object') { | |
| Ecwid.OnAPILoaded.add(function() { | |
| Ecwid.OnPageLoaded.add(function(page) { | |
| jQuery('.ecwid-pager').removeClass('ecwid-pager-hasTopSeparator').insertAfter('div.ecwid-results-topPanel-itemsCountLabel'); | |
| }); | |
| }); | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment