first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,32 @@
var $j = jQuery.noConflict();
$j( document ).ready( function() {
"use strict";
// Edd display cart
oceanwpEDDCartDetails();
} );
/* ==============================================
Easy Digital Downloads Cart Details
============================================== */
function oceanwpEDDCartDetails() {
"use strict"
/**
* EDD cart information in the header
*/
var cartTotalAmount = $j('.eddmenucart-details.total');
$j('body').on('edd_cart_item_added', function( event, response ) {
$j( '.edd-menu-icon' ).removeClass('edd-cart-empty');
cartTotalAmount.html( response.total );
});
$j('body').on('edd_cart_item_removed', function( event, response ) {
cartTotalAmount.html( response.total );
});
}