Home Forums Themes Support Gecko Modify the link

Viewing 5 reply threads
  • Author
    Posts
    • #1867

      I want to change the link that appears when you delete something from the cart so that it goes to the home page and not to best sellers

    • #1869

      Hi,

      You can copy file from wp-content > plugins > woocommerce > templates > cart > cart-empty.php to gecko-child > woocommerce > cart > cart-empty.php

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #1876

      I have done the steps that indicated me and the link keeps sending me the best seller.

    • #1877

      Hi,

      you have to change code

       
      href="<?php echo esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ); ?>"

      with

      href="<?php echo esc_url( home_url( '/' ) ); ?>"

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #1878
      This reply has been marked as private.
    • #1879

      You can modify code in cart-empty.php.
      I checked your ftp but don’t see you install gecko-child.
      – You need install child theme and active child theme.
      – After activate child theme you need rearrange widget

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 5 reply threads

You must be logged in to reply to this topic.