WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor 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!

Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Add custom fields to the vendor's settings form #37041
    Rami
    Participant

    Hi,
    1) saving field issue has been fixed when I fixed the Ajax issue which is related to another plugin called “Query Monitor”. and I am sorry, but I only added the hook to the functions.php file. Is there any additional code to add to save the field content? If yes, can you help with it please?

    2) I will attach a screen shot for the shortcode widget settings, but I wonder, does it work with wc-marketplace, which I use?

    3) solved by deactivating the “Query Monitor” plugin as mentioned in “1” above.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Add custom fields to the vendor's settings form #36704
    Rami
    Participant

    Hi again,
    I succeeded in adding the desired field in the vendor’s setting page using the following code:

    add_filter ( ‘wcfm_wcmarketplace_settings_fields_general’ , ‘add_teacher_topics’ ,20 );
    function add_teacher_topics($settings_fields_general){
    $settings_fields_general[‘teacher_topics’]= array(
    ‘title’ => __( ‘Topics I Teach’, ‘wc-frontend-manager’ ),
    ‘type’ => ‘text’,
    ‘priority’ => 50,
    ‘class’ => ‘wcfm-text wcfm_ele’,
    ‘label_class’ => ‘wcfm_title wcfm_ele’,
    );
    return $settings_fields_general;
    }

    but I have the following issues:
    1) When adding any data to the field and saving, it is not saved, i.e:the field remains blank after saving.
    2) how can the field content be displayed in the store (shop) page of the vendor as does the description field for example.
    3) I keep having an issue in saving or submitting anything in WCFM dashboard in general, which is the curser keeps spinning for infinity after clicking “save” button. The settings or fields are being saved but the only way to get rid of the spinning wheel is to refresh the page or go to another page. I have no errors in chrome console before saving, but after saving and appearance of the issue I have an error related to the wp admin ajax.

    I hope to have some help here.
    Thanks….

    in reply to: ACF fields not working anymore!!! #31812
    Rami
    Participant

    Hi,
    The answers are:
    1. Yes
    2. Yes
    3. NO

    But, that is for yesterday, because today I have updated ACF to the new version 5.7.6, and after that, the fields block disappeared from the page.
    the script path is as follows: https://my-domain/wp-includes/js/wp-embed.min.js?ver=52ce579fd308fbb625fa68415c28bf05, and I know nothing else about it.
    I hope that helps.
    Thanks

    in reply to: Insert shortcode in the new knowledgebase post #28919
    Rami
    Participant

    Thank you for your help, I have tried it and as you suspected it didn’t work.
    Anyway it deserved the shot. I hope this post to be useful for anyone have the same idea.
    Thanks.

    in reply to: Add Column to products table #28114
    Rami
    Participant

    Thank you for your reply and I appreciate your help, but I think I didn’t make my needs clear enough.
    The filters above are to add additional column to “vendors” table in the admin WCFM dashboard, but what I needed is to add the column to the “products” table in the vendor WCFM dashboard, where the vendor is the logged in user.
    Please see the attached image, and forgive me, the site is RTL and in Arabic.
    Thanks.

    in reply to: Show/Hide ACF fields based on product type #27416
    Rami
    Participant

    Thank you, you gave me a point to start with.
    I have played a little with the capabilities of the vendor related to customers, and the name of the customer appeared in the orders dashboard as I requested above, but indeed I got confused now, because what I need is to display the customer name only, but what happens is that all of the customer details are shown in the order page, including his e-mail and phone number and billing address, which I don’t need my vendors to see, I am running an online teaching and training courses, and I need to keep the contact details of each role to be hidden.
    I have deactivated the shipping address from woocommerce account page, because as I mentioned I have only virtual products, so shipping is not involved in my site workflow.
    Right now I have set all the customer settings in the capabilities dashboard to be “on” (except of the ability to view the shipping address), so what exactly the settings to turn off, in order to allow vendors to see customer’s name only, and hide the e-mail, phone number, and billing address? and that also when the vendor display the order not only in the orders page.
    Thank you.

    in reply to: Show/Hide ACF fields based on product type #27407
    Rami
    Participant

    Thank you very much, I appreciate your ELITE support.

    in reply to: Show/Hide ACF fields based on product type #27397
    Rami
    Participant

    Thank you very much for your response, I will try to do that.

    If you allow me I have another question:
    in the orders dashboard the vendor can see orders by (Guest) only and can’t see the name of the customer, where I can change this? I can see the name of the customer from the admin dashboard but not the vendor’s one.
    I use wc-marketplace, wc-appointments and WCFM ultimate.
    Thanks.

    Rami
    Participant

    Perfectly, as usual,
    Thank you very much for your help.

    Rami
    Participant

    Thank you for the reply,
    – Can you provide me with the code for the virtual radio button to be checked?
    – Where I can contact you for discussing the customization I need.

    in reply to: rtl styles issue #18419
    Rami
    Participant

    Hi again, during this post and the code things, I forgot about another thing to ask you about, which is how to hide some tabs in the dashboard from the vendors because they don’t need them, those tabs are :in wcfm-products-manage page when the new product is appointable , I like to get rid of the appointable and staff tabs, also in the wcfm-appointments-dashboard page, I don’t need the “manage staff” section in the middle of the page, and finally the small button at the top of the dashboard related to manage staff.
    I am thinking to use css (display:none) to hide those features, but is it the correct way to do this ? or do you suggest another way by hooks and filters?
    Thanks.

    in reply to: rtl styles issue #18371
    Rami
    Participant

    I appreciate your offer of help in the wc-marketplace links, I found a temporarily solution by editing their core file following leads from your code snippet and it worked , I know it is not the best solution ,but it will work until the next update of wc-marketplace where their support told me that this can be done easily in the next version by their plugin’s hooks and filters, so I don’t like to bother you by this issue anymore.
    I have already submitted my review in wordpress.org , and that is really less than you deserve.
    Thanks

    in reply to: rtl styles issue #18354
    Rami
    Participant

    YOU ARE THE BEST TEAM EVER …………..

    Thank you very much, the code has worked perfectly as I wish.
    Although it is not your plugin (wc-marketplace) , but I am surprised to know that you have tried to help me with that issue too.
    So, thank you again.

    Note: I have fixed the rtl style issue of the dashboard fields, it turned out that there is a conflict with the plugin “userpro” itself, I solved it by deactivating that plugin in wcfm dashboard and its child pages (I use “plugin organizer” for this), Just liked to share in case someone had the same issue.

    in reply to: rtl styles issue #18336
    Rami
    Participant

    Hi, Sorry for the delay , but really I believe that I have replied to the last comment, but apparently , I have done something wrong so it is not published,
    Anyway, Sorry for the wrong code I sent, I am trying to change both links, wcfm “shop” link and wcmp “sold by” link , so I am writing for both plugins developers, and I still in need for that code if you can help me to do it (sure for the shop link), and as I mentioned earlier I use wc-marketplace plugin as the vendors plugin.
    About the styles, I think I was doing well until I reached some area that I have some difficulties due to changes I have done earlier, right now I am working on it, and allow me to contact you again if it didn’t been solved.
    Regards.

    in reply to: rtl styles issue #18069
    Rami
    Participant

    Hi, Thank you for your help and really great guys you are all WC Lovers.
    * About the url redirect for userpro profiles , it is a dynamic url in the following form:
    https://classes.katateeb.online/profile/username/
    And I use wc-marketplace as my multivendor plugin, I have searched a little bit and I think the file that has to be modified is :
    dc-woocommerce-multi-vendor\classes\class-wcmp-capabilities.php
    I tried to replace the link there, but it didn’t work for me, If you allow me, let me share with you the original code and my edits:
    #The original code#
    /**
    * Add Sold by Vendor text
    *
    * @return void
    */
    public function wcmp_after_add_to_cart_form() {
    global $post;
    if ($this->vendor_frontend_settings(‘sold_by_catalog’)) {
    $vendor = get_wcmp_product_vendors($post->ID);
    $general_cap = isset($this->frontend_cap[‘sold_by_text’]) ? $this->frontend_cap[‘sold_by_text’] : ”;
    if (!$general_cap)
    $general_cap = __(‘Sold By’, ‘dc-woocommerce-multi-vendor’);
    if ($vendor) {
    echo ‘permalink . ‘”>’ . $general_cap . ‘ ‘ . $vendor->user_data->display_name . ‘‘;
    do_action(‘after_sold_by_text_shop_page’, $vendor);
    }
    }
    }

    #The edited copy#
    /**
    * Add Sold by Vendor text
    *
    * @return void
    */
    public function wcmp_after_add_to_cart_form() {
    global $post;
    if ($this->vendor_frontend_settings(‘sold_by_catalog’)) {
    $vendor = get_wcmp_product_vendors($post->ID);
    $general_cap = isset($this->frontend_cap[‘sold_by_text’]) ? $this->frontend_cap[‘sold_by_text’] : ”;
    global $userpro;
    $link=$userpro->permalink( get_wcmp_product_vendors($post->ID) );
    if (!$general_cap)
    $general_cap = __(‘Sold By’, ‘dc-woocommerce-multi-vendor’);
    if ($vendor) {
    echo ‘‘ . $general_cap . ‘ ‘ . $vendor->user_data->display_name . ‘‘;
    do_action(‘after_sold_by_text_shop_page’, $vendor);
    }
    }
    }

    ***About the rtl style , I tried the style you have sent, but it doesn’t take effect because I think the theme is overriding it, it is setting the max-width to 50px instead of 500px , and I tried to add !important to the style but didn’t work also, I will try to edit the theme style file or contact the theme support for that, I don’t like to bother you since it is not related to your plugin.
    Thank you very much.

    in reply to: rtl styles issue #18057
    Rami
    Participant

    Hi, Here is the error that appears when trying to manually add an appointment without attaching it with an order:

    Fatal error: Uncaught Error: Call to a member function get_order_number() on boolean in /home3/katateeb/public_html/wp-content/plugins/wc-frontend-manager-ultimate/views/wc_appointments/wcfmu-view-wcappointments-details.php:83 Stack trace: #0 /home3/katateeb/public_html/wp-content/plugins/wc-frontend-manager-ultimate/core/class-wcfmu-wcappointments.php(377): require_once() #1 /home3/katateeb/public_html/wp-includes/class-wp-hook.php(286): WCFMu_WCAppointments->wca_load_views(‘wcfm-appointmen…’) #2 /home3/katateeb/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home3/katateeb/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home3/katateeb/public_html/wp-content/plugins/wc-frontend-manager/core/class-wcfm-library.php(533): do_action(‘before_wcfm_loa…’, ‘wcfm-appointmen…’) #5 /home3/katateeb/public_html/wp-content/plugins/wc-frontend-manager/includes/shortcodes/class-wcfm-shortcode-wc-frontend-manager.php(38): WCFM_Library->load_views(‘wcfm-appointmen…’) # in /home3/katateeb/public_html/wp-content/plugins/wc-frontend-manager-ultimate/views/wc_appointments/wcfmu-view-wcappointments-details.php on line 83

    I tried to again to add the appointment from the backend and it is working good.
    Regards,

    in reply to: rtl styles issue #18036
    Rami
    Participant

    Thank you for your response, I am not a professional in coding, but I can manage some css and php , so if you have any snippets of code, then please send them over.

    in reply to: rtl styles issue #18011
    Rami
    Participant

    Sorry, But I forgot about two things above:
    # In issue number (2) above I tried to follow instructions mentioned in the following post:
    https://wclovers.com/forums/topic/how-can-i-edit-the-wcfm-appointments-dashboard-page/
    but it didn’t work, I don’t know the reason.

    # I have the same issue as in here:
    https://wclovers.com/forums/topic/get-a-error-during-manual-appointment/
    but didn’t solve after updating, I believe that I have wcfm 3.4.3 installed and still having the same error.
    Thanks,

    in reply to: rtl styles issue #18009
    Rami
    Participant
    This reply has been marked as private.
Viewing 19 posts - 1 through 19 (of 19 total)