jQuery(document).ready(function($) {
// Ensure the DOM is fully loaded and the cart table is present// Change "Product" to "Event" in Cart Table Header
$('th.product-name').text('Event');// Change "Quantity" to "Participants" in Cart Table Header
$('th.product-quantity').text('Participants');// Also, check for any divi-specific classes that might render after page load
setTimeout(function() {
// Apply the changes again after 500ms to ensure Divi has loaded
$('th.product-name').text('Event');
$('th.product-quantity').text('Participants');
}, 500);
});
Recent Comments