Created
January 30, 2014 21:39
-
-
Save zackkatz/8720458 to your computer and use it in GitHub Desktop.
Force Bigcommerce to use larger images for texture swatches
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
/** | |
* Convert tiny thumbnails to larger previews for product texture swatches | |
* @group Product | |
* | |
*/ | |
jQuery('.textureContainer .thumbnail').attr('style', function() { | |
return jQuery(this).attr('style').replace('.thumbnail.png', '.preview.png'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment