Dear @Abhijeet Kumar,
We hope this message finds you well.
We would like to share an alternative solution that you can try to resolve the issue you are experiencing. Please follow the steps below:
1. Add the following code to the functions.php file located in your child theme:
add_shortcode( 'do_hook', function( $atts = array(), $content = null, $tag = '' ) {
if ( isset( $atts['hook'] ) ) {
do_action( $atts['hook'] );
}
return;
});
2. Once the code is added, place two shortcode elements above the Cart Page (default) element, as shown in this screenshot: (https://tinyurl.com/2dhartbh).
– Shortcode 1:
[do_hook hook="woocommerce_check_cart_items"]
– Shortcode 2:
[do_hook hook="woocommerce_before_cart"]
We hope this solution proves helpful in addressing the issue. Should you have any further questions or require additional assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team