Site logo

[Resolved] Woocommerce – send all "shop" links to landing page instead of default shop page

Home Forums Support [Resolved] Woocommerce – send all "shop" links to landing page instead of default shop page

Home Forums Support Woocommerce – send all "shop" links to landing page instead of default shop page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #512077
    Bob

    Hello,

    I am using Generatepress with Woocommerce and would like to send all “shop” links including those that appear on default woocommerce pages for example, the button that appears when your cart is empty, to the page I created instead of the woocommerce shop page that’s automatically populated with content.

    The link below seems to have some information and I’ve found other articles online that indicate a change to the functions.php is necessary, but I’m looking for the least intrusive way to do this, and one that if possible, I don’t have to modify core files that will be overwritten during upgrades.

    https://generatepress.com/forums/topic/redirection-for-default-woocommerce-shop-page/

    How would you recommend I accomplish this?

    Thank you!

    #512092
    John

    You could redirect the shop page to any page you want to really. I use the Redirection plugin to do all my wordpress redirects. https://wordpress.org/plugins/redirection/

    If you want to use the functions.php code and not lose all of your modifications then you would need to use a child theme.

    #512181
    Leo
    Staff
    Customer Support

    Using the method here will save your changes through updates: https://docs.generatepress.com/article/adding-php/

    #512279
    Bob

    Much appreciated! I’ve decided to stick with the simple, clean look of the stock woo product pages but the code snippets plugin looks very cool.

    #512368
    Leo
    Staff
    Customer Support

    Glad we could help!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.