Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- require(["jquery"], function(jQuery) {
- jQuery(".product-options-wrapper select[id^='attribute']").last().on('change', function() {
- setTimeout(function (){
- simpleId=jQuery("input[name=selected_configurable_option]").val();
- alert(simpleId);
- }, 500);
- }); }); </script>
Add Comment
Please, Sign In to add comment