Your account expired support, please renew to get your support.

HomePage Forums Themes Support Shopic – Multipurpose WooCommerce WordPress Theme Unable to change upsells products tab title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20852
    admin_dlv
    Support 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.

    code extract
    code extract

    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 ?

    pop up

    Thanks !

    #20882

    Hi 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
    	}
    #21222
    admin_dlv
    Support Expired

    Hi,

    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 !

    #21237

    Looks 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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.