Skip to content

Commit

Permalink
upd(awooc 3.0.0rc6): удаление логов
Browse files Browse the repository at this point in the history
  • Loading branch information
artikus11 committed Dec 1, 2023
1 parent f10d99d commit a51b24b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/js/awooc-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ jQuery( function ( $ ) {
if ( thisForm.attr( 'data-cfvsw-catalog' ) ) {
return;
}
console.log( thisForm );

thisForm.on( 'found_variation', function ( e, variation ) {
console.log( variation );
AWOOC.updateButtonData( thisForm, variation );
} );
}
Expand All @@ -99,7 +98,7 @@ jQuery( function ( $ ) {
select.each( function () {
const attributeName =
$( this ).data( 'attribute_name' ) || $( this ).attr( 'name' );
console.log( attributeName );

data[ attributeName ] = $( this ).val() || '';
} );

Expand Down Expand Up @@ -150,7 +149,7 @@ jQuery( function ( $ ) {
},

wc_variation_form: function ( e ) {
console.log( e );

if ( awooc_scripts_settings.mode === 'in_stock_add_to_card' ) {
//AWOOC.hideAwoocButton();
}
Expand Down

0 comments on commit a51b24b

Please sign in to comment.