Open vendor dashboard in a new tab

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #135414
      wiz.sas.project
      Participant

      Hi,

      Is it possible to configure the dashboard so that it opens in a new tab?
      thanks in advance !

    • #135440

      Hello,

      Sorry, your requirement is not so clear. Can you explain little more about your requirement(if possible with screenshot)

      Thanks.

    • #135659
      wiz.sas.project
      Participant

      hi Sarmistha,

      Sorry, it was not very clear.
      I would like that when a seller clicks on store manager from the “my account” page, rather than redirecting him to the page while staying in the same browser tab, I would prefer that the store manager opens automatically in a new tab .

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

      Hello,

      For this you need to override “navigation.php” file in your theme’s folder(yourtheme/woocommerce/myaccount/navigation.php) from “\wp-content\plugins\woocommerce\templates\myaccount”
      And modify the code –

      <li class="<?php echo wc_get_account_menu_item_classes( $endpoint ); ?>">
      				<?php if( $endpoint == 'wcfm-store-manager') { ?>
      					<a target="_blank" href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a>
      					<?php
      				} else {
      					?>
      					<a href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a>
      					<?php
      				} ?>
      				
      			</li>

      Thanks.

      Attachments:
      You must be logged in to view attached files.
    • #136178
      wiz.sas.project
      Participant

      Hi,

      Thank you very much it works well for me !

      have a nice day

Viewing 4 reply threads
  • The topic ‘Open vendor dashboard in a new tab’ is closed to new replies.