Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #943854

    Help!

    For some reason, the “Return to shop” button, in an empty cart woocommerce page, does not display

    Thanks for you time guys!

    #943939

    Hey Phet,

    It’s displaying fine on my end using Chrome, how can we reproduce the problem?

    Best regards,
    Rikard

    #944119

    Hey Rikard,

    I had to add this piece of code into my child theme’s functions.php :

    //add back to store button in empty cart
    add_action('woocommerce_cart_is_empty', 'manual_back_to_store_cart_empty');
    function manual_back_to_store_cart_empty() { ?>
    <a class="button wc-backward" href="/boutique"><?php _e( 'Return to shop', 'woocommerce' ) ?></a>
    <?php
    }

    For some reason, it was not integrating it with out it…

    Thanks,
    Phet

    #944460

    Hi Phet,

    I have not heard about that happening before, but I’m glad you found a solution and thanks a lot for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #946363

    We can close this topic.

    Thanks Rikard,
    Phet

    #946414

    Hi Phet,

    Please feel free to comeback if you need further assistance.
    Thanks for using Enfold and have a great day :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘"Return to shop" button not showing in cart page’ is closed to new replies.