Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1410008

    mollyb2121
    Participant

    Hi, for my product and cart and check out pages they are running in to the head line as you can see in the attached image. How can I fix this?

    theglassslipperllc.com

    #1410290

    Rad
    Moderator

    Hi there,

    I replied to your other thread with same issue.

    Thanks!

    #1410483

    mollyb2121
    Participant

    Thank you so much! you really saved me answering that question!

    Do you have any idea how to link the shop page to my princess page instead of the shop page that woo commerce defaults to?

    theglassslipperllc.com

    #1410954

    Jade
    Moderator

    Hi there,

    Would you mind clarifying which link to the shop page you are referring about?

    If it is a menu item, you can simply change the link in the menu settings.

    #1411074

    mollyb2121
    Participant

    If I add something to the cart and go to the cart page and delete that item it has a button or link that says “return to shop” If you click this it takes you to a page woo commerce created. I would rather it take you back to a product page I created.

    I tried doing this in woo commerce settings, products, disply, and shop link, but it didn’t work

    theglasslipperllc.com

    #1411141

    mollyb2121
    Participant

    and for some reason on crome the view cart link is broken

    theglassslipperllc.com

    #1411143

    mollyb2121
    Participant

    but the link is only broken on crome

    #1411738

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! This issue is happening because you do not have a shop page. Though you have a Book a princess page, this page were not being assigned as your shop page. To resolve this issue and have the “return to shop” button to link to your “Book a Princess” page, please insert this following code in your child theme’s functions.php file.

    // Return to the "Book a Princess" page instead of shop archive
    // =============================================================================
    function return_to_princesses(){
      return 'http://theglassslipperllc.com/princesses-2/';
    }
    add_filter('woocommerce_return_to_shop_redirect', 'return_to_princesses');
    // =============================================================================

    Please let us know if this works out for you.

    #1412146

    mollyb2121
    Participant

    Do I insert that code at the bottom of the file or the top? I have never done edits through cpanel and don’t want to mess anything up

    #1412578

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! You should be adding the code in your child theme’s functions.php file just like this:

    <?php
    
    // =============================================================================
    // FUNCTIONS.PHP
    // -----------------------------------------------------------------------------
    // Overwrite or add your own custom functions to X in this file.
    // =============================================================================
    
    // =============================================================================
    // TABLE OF CONTENTS
    // -----------------------------------------------------------------------------
    //   01. Enqueue Parent Stylesheet
    //   02. Additional Functions
    // =============================================================================
    
    // Enqueue Parent Stylesheet
    // =============================================================================
    
    add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );
    
    // Additional Functions
    // =============================================================================
    
    // Return to the "Book a Princess" page instead of shop archive
    // =============================================================================
    function return_to_princesses(){
      return 'http://theglassslipperllc.com/princesses-2/';
    }
    add_filter('woocommerce_return_to_shop_redirect', 'return_to_princesses');
    // =============================================================================

    Hope this helps. Please let us know how it goes.

    #1414072

    mollyb2121
    Participant

    worked thank you:)

    #1414496

    Prasant Rai
    Moderator

    You are most welcome. 🙂