Home Forums WoodMart support forum How to change?

How to change?

Viewing 30 posts - 1 through 30 (of 33 total)
  • Author
    Posts
  • #29393

    koystrubvs
    Participant

    How do I rename a Vendor dashboard and add it to the panel?

    Attachments:
    You must be logged in to view attached files.
    #29416

    Artem Temos
    Keymaster

    Hello,

    We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.

    You can translate all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3

    Try to add the following PHP code snippet to the child theme functions.php file to do add this link to the dashboard

    	function woodmart_my_account_links() {
    		if ( !woodmart_get_opt( 'my_account_links' ) ) return;
    		?>
    		<div class="woodmart-my-account-links">
    			<?php foreach ( wc_get_account_menu_items() as $endpoint => $label ) : ?>
    				<div class="<?php echo $endpoint; ?>-link">
    					<a href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a>
    				</div>
    			<?php endforeach; ?>
    			<?php if ( class_exists( 'YITH_WCWL' ) && woodmart_get_opt( 'my_account_wishlist' ) ): ?>
    				<?php $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) ); ?>
    				<div class="wishlist-link">
    					<a href="<?php echo YITH_WCWL()->get_wishlist_url(); ?>"><?php echo get_the_title( $wishlist_page_id ); ?></a></li>
    				</div>
    			<?php endif; ?>
    			<?php if ( class_exists( 'WeDevs_Dokan' ) && apply_filters( 'woodmart_dokan_link', true ) ): ?>
    				<div class="dokan-link">
    					<a href="<?php echo dokan_get_navigation_url(); ?>"><?php echo esc_html__( 'Vendor dashboard', 'woodmart' ); ?></a></li>
    				</div>
    			<?php endif; ?>
    			<div class="logout-link">
    				<a href="<?php echo wc_get_endpoint_url( 'customer-logout' ); ?>"><?php echo esc_html__( 'Logout', 'woodmart' ); ?></a>
    			</div>
    		</div>
    		<?php
    	}
    	add_action( 'woocommerce_account_dashboard', 'woodmart_my_account_links', 10 );

    Kind Regards
    Xtemos

    #29423

    koystrubvs
    Participant

    Thank you! But this line is not translated into LocoTranslate.
    Also, can I change the icons?

    #29430

    Artem Temos
    Keymaster

    Try to click on “Sync” button while editing the PO file with Loco Translate.
    The icon can be changed with additional CSS only. What icon do you want to place there?

    #29443

    koystrubvs
    Participant

    Ok, I can change the icon with css. I pressed sync, but it did not help.

    Attachments:
    You must be logged in to view attached files.
    #29448

    Artem Temos
    Keymaster

    Please, provide us your admin access so we can test it.

    #29450

    koystrubvs
    Participant

    ok

    #29452

    Artem Temos
    Keymaster

    We clicked “Sync” and now you can translate this word. Currently, we changed it to “ะขะตัั‚”.

    #29455

    koystrubvs
    Participant

    I apologize. I searched for this line and tried to translate it into the Dokan Lite plugin

    #29456

    Artem Temos
    Keymaster

    No problem, we are glad that you found it ๐Ÿ™‚

    Regards

    #29457

    koystrubvs
    Participant

    I ask you to check one more mistake. When you press “Partnership”, “Favorites” changes equally. This should not be.

    Attachments:
    You must be logged in to view attached files.
    #29478

    Artem Temos
    Keymaster

    Could you please provide us your FTP access so we can check why it doesn’t work correctly?

    #29492

    koystrubvs
    Participant

    ok my friend!

    #29493

    koystrubvs
    Participant

    retry

    #29503

    Artem Temos
    Keymaster

    We can’t connect with this data. It seems to be incorrect.

    #29508

    koystrubvs
    Participant

    hm… one sec

    Attachments:
    You must be logged in to view attached files.
    #29530

    Artem Temos
    Keymaster

    OK, we have fixed this issue in the child theme.

    #29587

    koystrubvs
    Participant

    Wow! You very good support! Many thanks!

    #29588

    koystrubvs
    Participant

    The last question, how to remove the number 6?))

    Attachments:
    You must be logged in to view attached files.
    #29608

    koystrubvs
    Participant

    how this translate?)

    Attachments:
    You must be logged in to view attached files.
    #29623

    Artem Temos
    Keymaster

    Sorry, we removed this number ๐Ÿ™‚ The message should be translated via WooCommerce pot files.

    #29629

    koystrubvs
    Participant

    ok! thanks!! ๐Ÿ™‚

    #29631

    koystrubvs
    Participant

    I hope you are not tired of me. I could not find and translate this record.))

    #29641

    Artem Temos
    Keymaster

    Could you please leave only actual translation for the WooCommerce plugin https://gyazo.com/3a8db49e97acac81e71725850a51ba64 ?

    #29656

    koystrubvs
    Participant

    I deleted another translation. But the problem remained. I can not find this line in the plugins.

    #29657

    koystrubvs
    Participant

    Its really rename?

    Attachments:
    You must be logged in to view attached files.
    #29667

    Artem Temos
    Keymaster

    Sorry, we noticed that this message is not translatable in our theme. We will fix it in our next theme update. Or we can give you a path of the file where you can change it manually.

    As for My account link you can enable username display there in Theme Settings -> Header -> Other.

    Regards

    #29670

    koystrubvs
    Participant

    Ok! Very good!

    #29685

    Artem Temos
    Keymaster

    Contact us if you have any additional questions or concerns.

    #35089

    koystrubvs
    Participant

    hi! How i change?

    Attachments:
    You must be logged in to view attached files.
Viewing 30 posts - 1 through 30 (of 33 total)