Created
June 25, 2012 19:02
-
-
Save leewillis77/2990546 to your computer and use it in GitHub Desktop.
Patch to resolve image swap issues with SP themes and Simple Product Options plugin
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
--- old/theme.js 2012-06-25 20:00:45.389783955 +0100 | |
+++ new/theme.js 2012-06-25 19:59:43.805786530 +0100 | |
@@ -667,7 +667,7 @@ | |
var i = 0; //counter | |
// loops through all selections and check if all has been selected to proceed (also captures all variation ids) | |
- jQuery("select", parent_form).each(function() { | |
+ jQuery("select.wpsc_select_variation_ajax", parent_form).each(function() { | |
if (jQuery("option:selected",this).val() == 0) { | |
allSelected = false; | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment