Variation Support for Wish/Wait-List
-
Hi,
could you please consider to add variation support? I added it myself but it falls short regarding displaying that the current item is on the list already:
(function($){ $(document).ready(function () { //ToDo: Function is missing "Child added to List successful" $( "li.variable-item" ).click( function(){ clickedItem = $(this); //Wait a short time for updates setTimeout( function() { parent_id = $( "input[type=hidden][name=product_id]" ).val(); variation_id = $( "input[type=hidden][name=variation_id]" ).val(); title = clickedItem.data("title"); if(variation_id && variation_id != "0"){ //set data to variation $( ".br_wish_wait_block").attr("data-id",String(variation_id)); }else{ //set data to parent again $( ".br_wish_wait_block").attr("data-id",String(parent_id)); } }, 250); } ); }); })(jQuery);
Thank you for your reply.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Variation Support for Wish/Wait-List’ is closed to new replies.