Home Forums WoodMart support forum The link in the button goes to the product page instead of the front page

The link in the button goes to the product page instead of the front page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #483267

    baejune9
    Participant

    https://www.erlk.shop/cart/ << Empty cart page

    The link in the button goes to the product page instead of the front page
    I want to change it to go to the front page

    #483316

    Hello,

    Sorry there is no such option available to change the links of those buttons. It requires customizations and this is beyond our limitations and support policy.

    Best Regards.

    #483344

    baejune9
    Participant

    I just want it to go to the front page when I press the button
    Can’t you just tell me the css way?

    #483421

    Hello,

    Please add this code to the function.php of the child theme:

    function wc_empty_cart_redirect_url() {
    
    	return 'https://www.mywebsite.com/'; 
    }
    add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );

    Best Regards.

    #483445

    baejune9
    Participant

    Thank you, the issue with that button has been resolved.
    However, the mobile shop button has the same issue.

    How can I make that button go to the http://www.erlk.shop domain?
    I’ve attached a photo

    Attachments:
    You must be logged in to view attached files.
    #483470

    Hello,

    Go to Theme Setting > General > Mobile bottom navbar > Use the custom button for the shop page and insert your own url.

    Best Regards.

    #483499

    baejune9
    Participant

    don’t have an icon that matches my theme.

    Can you tell me how to change the button link with a CSS modification?

    #483664

    Hello,

    Sorry to say it is not possible with Custom CSS code. So the functionality you want requires Customization and I am sorry this is beyond our limitations.

    Best Regards.

Viewing 8 posts - 1 through 8 (of 8 total)