Skip to content

Commit

Permalink
fix(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 a86c360 commit f10d99d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/awooc-scripts.js
Expand Up @@ -412,6 +412,8 @@ jQuery( function ( $ ) {
if ( ! Object.keys( data ).includes( name ) ) data[ name ] = value;
} );

delete data['add-to-cart'];

AWOOC.xhr = $.ajax( {
url: awooc_scripts_ajax.url,
data: data,
Expand Down

0 comments on commit f10d99d

Please sign in to comment.