HEX
Server: Apache
System: Linux webm005.cluster114.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: epubdjye (129326)
PHP: 8.5.7
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/e/p/u/epubdjye/www17/wp-content/themes/oceanwp/assets/js/third/edd/edd-cart-ajax.js
var $j = jQuery.noConflict();

$j( document ).on( '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 );
	});

}