HomePage › Forums › Themes Support › Shopic – Multipurpose WooCommerce WordPress Theme › Unable to change upsells products tab title
Tagged: Additional product tab
- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by Billy Nguyen.
-
AuthorPosts
-
March 8, 2022 at 9:16 am #20852admin_dlvSupport Expired
Hi Pavoteam,
I am currently trying to change my upsells tab title, as showed in the images below, but the title never change… I have tried several solutions but nothing worked.
I am also trying to change the link on the login pop up to redirect users to the contact page instead of the register page. Can I do it via the theme or do I need a plugin to access the link ?
Thanks !
March 8, 2022 at 2:02 pm #20882Hi you,
#1. Change upsells section heading: please use this code
add_filter('woocommerce_product_upsells_products_heading', 'shopic_fnc_custom_heading'); function shopic_fnc_custom_heading(){ return 'Your title'; }
#2. Please copy this function to file functions.php ( child-theme):
function shopic_header_account() { if (!shopic_get_theme_option('show_header_account', true)) { return; } $account_link = 'your link'; ?> <div class="site-header-account"> <a href="<?php echo esc_html($account_link); ?>"> <i class="shopic-icon-user"></i> <span class="account-content"> <?php if (!is_user_logged_in()) { esc_attr_e('Sign in', 'shopic'); } else { $user = wp_get_current_user(); echo esc_html($user->display_name); } ?> </span> </a> </div> <?php }
March 15, 2022 at 10:10 pm #21222admin_dlvSupport ExpiredHi,
Thanks for your answer ! I tried to implement it but when I used the code to edit the dropdown, it doesn’t show up anymore when I click on the user icon…
Also, I have removed the download page on my account menu but it is still displayed in the dropdown menu. Is there a solution to remove it from everywhere ?
Thanks in advance !
March 16, 2022 at 9:42 am #21237Looks like you did something wrong, please upload your website to hosting and send Admin web account for me, I will check and try to help you.
-
AuthorPosts
You must be logged in to reply to this topic.