Change "Add Product" button on store vendor mobile dashboard

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!

Viewing 3 reply threads
  • Author
    Posts
    • #110343
      contatoapp
      Participant

      Right now the button to add a product on the store vendor mobile dashboard is a single gray button with a vector box. Some of my users have been reporting that it’s not quite intuitive, and they didn’t know that it was the add product button unless they clicked on it.

      Can I add another icon instead or just use text?

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

      Hello,

      You have override the template “wcfm-view-products.php” in your theme <your theme folder>/wcfm/views/products/wcfm-view-products.php then change icon replace with <span class="wcfmfa fa-cube"></span>.

      Thanks.

    • #110972
      contatoapp
      Participant

      What exactly should I replace this code with? An tag? Should I put it somewhere in between the span tag or replace it entirely?

    • #111137

      Hi,

      if( $has_new = apply_filters( 'wcfm_add_new_product_sub_menu', true ) ) {
      				echo '<a id="add_new_product_dashboard" class="add_new_wcfm_ele_dashboard text_tip" href="'.get_wcfm_edit_product_url().'" data-tip="' . __('Add New Product', 'wc-frontend-manager') . '"><span class="wcfmfa fa-cube"></span><span class="text">' . __( 'Add New', 'wc-frontend-manager') . '</span></a>';
      			}

      In this <span class="wcfmfa fa-cube"></span> replace with your text or icon.
      Example : <span class="wcfmfa fa-cube"></span> replace with <span class="wcfm-txt">' . __( 'Add New', 'wc-frontend-manager') . '</span>

      Thanks.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.