Created
November 1, 2012 22:46
-
-
Save msmithstubbs/3997215 to your computer and use it in GitHub Desktop.
Customise 'yakında tekrar stokta' button
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
// Find this in product.liquid: | |
} else { | |
var message = variant ? "Yakında tekrar stoklarımızda..." : "Yakında tekrar stoklarımızda..."; | |
$('#add-to-cart', $product).addClass('disabled').attr('disabled', 'disabled').val(message); | |
} | |
// and change it to: | |
} else { | |
var message = variant ? "Yakında tekrar stoklarımızda..." : "Yakında tekrar stoklarımızda..."; | |
$('#add-to-cart', $product).addClass('disabled').attr('onclick', 'BISPopover.form.show(); return false;').val(message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment