Tagged: x
-
AuthorPosts
-
March 16, 2017 at 1:50 pm #1410008
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
March 16, 2017 at 6:32 pm #1410290Hi there,
I replied to your other thread with same issue.
Thanks!
March 16, 2017 at 8:26 pm #1410483Thank 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
March 17, 2017 at 8:00 am #1410954Hi 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.
March 17, 2017 at 9:58 am #1411074If 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
March 17, 2017 at 10:41 am #1411141and for some reason on crome the view cart link is broken
theglassslipperllc.com
March 17, 2017 at 10:42 am #1411143but the link is only broken on crome
March 17, 2017 at 8:59 pm #1411738Hello 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.
March 18, 2017 at 10:26 am #1412146Do 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
March 19, 2017 at 3:36 am #1412578Hello 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.
March 20, 2017 at 2:15 pm #1414072worked thank you:)
March 20, 2017 at 9:21 pm #1414496You are most welcome. 🙂
-
AuthorPosts