Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix the total calculation in Divi, when using the Cart Products module
<?php
add_action( 'woocommerce_before_cart', function() {
WC()->cart->calculate_totals();
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment