• Resolved Ahmed Imran

    (@ahmedimran)


    Hello,

    I am currently facing an issue with WooCommerce hooks not displaying the intended content on the cart page, specifically when using the WooCommerce block editor. Despite implementing the following code:

    function my_custom_function() {
        echo '<p>My custom text here......</p>';
    }
    
    add_action('woocommerce_cart_totals_after_order_total', 'my_custom_function');

    I expected the custom text or anything to be displayed, but unfortunately, it does not appear as intended on the Cart page in the WooCommerce 8.4 plugin. However, this code works in the classic mode of the WooCommerce Cart page.

    I would appreciate it if you could guide me in resolving this issue. If there are any specific changes or alternative approaches needed for the latest WooCommerce version of Block Editor, please advise.

    Best regards,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Issue with WooCommerce Hooks Not Displaying Content in Cart/Checkout Page’ is closed to new replies.