Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Change "Add Product" button on store vendor mobile dashboard
Tagged: add, add new product, box, button, change, dashboard, icon, mobile, product, store, vector, vendor
- This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by Sarmistha Chakraborty.
- AuthorPosts
- March 7, 2020 at 1:23 am #110343contatoappParticipant
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. - March 10, 2020 at 4:46 pm #110936Sarmistha ChakrabortyMember
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.
- March 10, 2020 at 8:02 pm #110972contatoappParticipant
What exactly should I replace this code with? An tag? Should I put it somewhere in between the span tag or replace it entirely?
- March 11, 2020 at 12:24 pm #111137Sarmistha ChakrabortyMember
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.
- AuthorPosts
- You must be logged in to reply to this topic.