• Resolved John Webber

    (@bilion)


    Hi, hope you are doing great ??

    I’m using the free version of your plugin to test things out. But so far, it seems to be better than any other option. It’s smart and simple, with a good layout. And very importantly, it doesn’t bloat and slow down the website.
    But, since nothing is perfect, these are the issues I’ve seen so far.

    1)
    On the vendor store, tabs Products, Reviews and Policies are separate pages. Policies and Reviews are just text and do not need a full page reload. At least, load them with Ajax. But, it would be best to have just regular tabs and everything on the same page.

    2)
    On the product page, the Vendor Info tab only has the Vendor Name and Store Description.
    I would like to show a lot more, which I discuss in paragraph 3.
    But, for a quick fix, you can update the plugin to display everything that is on the vendor store: Profile Image, Name, Rating, Country, Social, Follow and Store Description.

    When adding this to the product page, please add tags and classes to these elements, so that they can be styled with CSS. Right now, the Vendor Description doesn’t have a tag or class. I assume that this should be set in the plugin’s php.
    Also, the vendor store description doesn’t have the html and css markup that was added in the MCE editor. Please, fix this so that the text formatting and styling is preserved.

    3)
    On the vendor store and in a product page sidebar I would like to have all of this as Vendor Info:
    – Logo (already exists) Should link to the vendor store
    – Name (already exists) Should link to the vendor store
    – Address (already exists) Would like to show only country
    – Short biography (this is the store description) Enable the admin to change the label of this for the vendor dashboard and frontend
    – Rating (already exists)
    – Number of sales
    – Date of registration
    – Social profiles (already exists)
    – Link to the seller’s website
    – Contact vendor form – This should be a global on/off setting for the admin and an optional setting for the vendor

    4)
    We need better support for stores that sell only digital products. Add options for the admin to add global rules and remove options for the seller.
    – Every product should be by default Digital and Variable. Remove this option for the vendor.
    – No shipping or return options for vendor
    – No Advanced product options for the vendor (Purchase note, Menu order, Enable reviews). These should be globally set by the admin
    – A refund policy should be global and set by the admin, not by the vendor
    – No store location, only country. No map option
    – No inventory, SKU
    – No Shipping policy
    – Download limit and download expiry should be global and set by the admin
    – The Store setup wizard is asking for an address of the store. We don’t need that with digital downloads
    – Coupons and sales should be set globally, not by the vendor. The vendor can only choose which products to include in the sale
    – Orders have options, such as: processing, on hold, completed, shipped.
    We don’t need any of those options, because the file is either paid for and downloaded or the payment or download failed.
    The options for payment should remain: request refund, refunded, pending, failed, completed.

    Your company sells digital products. You know what you don’t need as a seller. Reduce the options. Go through the options of your plugin and see what you can remove to optimize the process for stores that sell: software, audio clips, images, PDFs, ZIP files, video tutorials, eBooks…

    5)
    A question doesn’t appear on the product page, even after being approved.
    The Questions and Answers section is there, but it doesn’t display the questions.

    6)
    In addition to the Questions and Answers, each store should have a support forum that is only for verified customers or has a charge for each support ticket.

    7)
    I’m setting up a specific layout for the product page, by hooking and unhooking elements. So, I need shortcodes of the elements that your plugin adds to the product page:
    – Report Abuse
    – Vendor Info
    – Sold by
    – Questions and Answers
    – Related products
    Please, include anything that I didn’t see.

    8)
    We need to be able to edit the product page and the vendor dashboard. Please, create on your website a:
    – Visual guide of hooks on the dashboard
    – Shortcode snippet repository

    I apologize if you already have any of these options and functions and I didn’t see them.

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author MultiVendorX

    (@wcmp)

    Hi @bilion, thanks for the queries ??

    Our replies are inline :

    1) On the vendor store, tabs Products, Reviews and Policies are separate pages. Policies and Reviews are just text and do not need a full page reload. At least, load them with Ajax. But, it would be best to have just regular tabs and everything on the same page.
    2) On the product page, the Vendor Info tab only has the Vendor Name and Store Description.
    >> I would like to show a lot more, which I discuss in paragraph 3.
    But, for a quick fix, you can update the plugin to display everything that is on the vendor store: Profile Image, Name, Rating, Country, Social, Follow and Store Description.
    When adding this to the product page, please add tags and classes to these elements, so that they can be styled with CSS. Right now, the Vendor Description doesn’t have a tag or class. I assume that this should be set in the plugin’s php.
    Also, the vendor store description doesn’t have the html and css markup that was added in the MCE editor. Please, fix this so that the text formatting and styling is preserved.
    >> I have forwarded this to the Product enhancement team. Depending upon mass request and availability of resources, the team would be in a situation to proceed further.
    However we can give a filter, using this you can add any number of tabs and corresponding content by doing custom code.

    3) On the vendor store and in a product page sidebar I would like to have all of this as Vendor Info:
    – Logo (already exists) Should link to the vendor store
    – Name (already exists) Should link to the vendor store
    – Address (already exists) Would like to show only country
    – Short biography (this is the store description) Enable the admin to change the label of this for the vendor dashboard and frontend
    – Rating (already exists)
    – Number of sales
    – Date of registration
    – Social profiles (already exists)
    – Link to the seller’s website
    >> You need to use this code : add_filter('is_vendor_add_external_url_field', '__return_true');

    – Contact vendor form – This should be a global on/off setting for the admin and an optional setting for the vendor
    >> Can you please explain this

    4) We need better support for stores that sell only digital products. Add options for the admin to add global rules and remove options for the seller.
    – Every product should be by default Digital and Variable. Remove this option for the vendor.
    >> Use this code

    add_filter( 'wcmp_product_type_options', 'autocheck_vd');
     
    function autocheck_vd( $arr ){
        $arr['virtual']['default'] = "yes"; 
        $arr['downloadable']['default'] = "yes"; 
        return $arr;
    }

    Now only keep Variable product enabled via WCMp >> Settings >> Capability.
    – No shipping or return options for vendor
    >> Disable the “shipping” option via WCMp >> Settings >> General.
    – No Advanced product options for the vendor (Purchase note, Menu order, Enable reviews). These should be globally set by the admin
    >> Please do share a screenshot mentioning which part are you referring here.

    – A refund policy should be global and set by the admin, not by the vendor
    >> Admin can use WooCommerce’s flow of refunds here.

    – No store location, only country. No map option
    >> For this, don’t enable the map option via WCMp >> settings >> Vendor

    – No inventory, SKU
    – No Shipping policy
    – Download limit and download expiry should be global and set by the admin
    >> For this override the edit product page and remove those. You can have reference here https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/templates/vendor-dashboard/product-manager/edit-product.php
    – The Store setup wizard is asking for an address of the store. We don’t need that with digital downloads
    – Coupons and sales should be set globally, not by the vendor. The vendor can only choose which products to include in the sale
    >> Just remove the add coupon option via WCMp >> Settings >> Capability.

    – Orders have options, such as: processing, on hold, completed, shipped.
    We don’t need any of those options, because the file is either paid for and downloaded or the payment or download failed.
    The options for payment should remain: request refund, refunded, pending, failed, completed.
    >> Our plugin by default supports WooCommerce supported status. So in order to add this you need to do custom code.

    5) A question doesn’t appear on the product page, even after being approved.
    The Questions and Answers section is there, but it doesn’t display the questions.
    >> We have checked this on our end, as you can see this is working fine : https://watch.screencastify.com/v/RzGuDsqrhMIoBvrzrj5D

    6) In addition to the Questions and Answers, each store should have a support forum that is only for verified customers or has a charge for each support ticket.
    >> We have a widget called WCMp: Vendor’s Quick Info, this lets customer contact the vendor. For further information please check this doc : https://wc-marketplace.com/knowledgebase/setting-wcmp-widgets/#nav-5

    7) I’m setting up a specific layout for the product page, by hooking and unhooking elements. So, I need shortcodes of the elements that your plugin adds to the product page:
    – Report Abuse
    – Vendor Info
    – Sold by
    – Questions and Answers
    – Related products
    Please, include anything that I didn’t see.

    >> These are not shortcodes. You just need to check our codes on how we are displaying the fields and saving the same.

    8) We need to be able to edit the product page and the vendor dashboard. Please, create on your website a:
    – Visual guide of hooks on the dashboard
    – Shortcode snippet repository

    >> You can check our hooks here : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/classes/class-wcmp-vendor-hooks.php

    For the rest of the guidance you can also check our GitHub. for any specific help, please do let us know so our dev team can help you accordingly.`

    Thread Starter John Webber

    (@bilion)

    Thank you for answering this long post.
    You have helped me solve most of these.
    I will only repeat the ones I am still having trouble with.

    .

    ’’ I would like to show a lot more vendor info on the product page, like: Profile Image, Name, Rating, Country, Social, Follow and Store Description.
    When adding this to the product page, please add tags and classes to these elements, so that they can be styled with CSS. Right now, the Vendor Description doesn’t have a tag or class. I assume that this should be set in the plugin’s PHP.
    Also, the vendor store description doesn’t have the html and CSS markup that was added in the MCE editor. Please, fix this so that the text formatting and styling is preserved. ’’
    >> I have forwarded this to the Product enhancement team. Depending upon mass request and availability of resources, the team would be in a situation to proceed further.
    However we can give a filter, using this you can add any number of tabs and corresponding content by doing custom code. <<
    ** That would be great!
    But, I am not using tabs on the page. It makes no sense to hide Reviews, QnA or other info behind a tab. Woocommerce needs to change this.
    Please write a code snippet that adds a new tab / section, that has all of the vendor information located on the store page.
    If possible, make the name and image as links to the store. **

    .

    ’’ – Link to the seller’s website ’’
    >> You need to use this code : add_filter(‘is_vendor_add_external_url_field’, ‘__return_true’); <<
    ** I assume that it should add a link to the vendor’s website. But, the link doesn’t appear on the vendor store or the product page. **

    .

    ’’ – Contact vendor form – This should be a global on/off setting for the admin and an optional setting for the vendor ’’
    >> Can you please explain this <<
    ** I have found the widget that adds a contact from to the vendor store.
    But, some vendors may not want to be contacted. They should have an option to disable the form for their store.
    The contact should be there, if the seller wants to do private work. If they only want to sell digital products through the store, buyers can ask questions through the QnA. **

    .

    ’’ – No shipping or return options for vendor ’’
    >> Disable the “shipping” option via WCMp >> Settings >> General.
    ** There are still a few unnecessary options available: https://postimg.cc/kBNJXQfj
    Also on Store Settings > Policies there are Shipping Policy and Cancellation/Return/Exchange Policy **

    .

    ’’ – Remove Advanced product options for the vendor (Purchase note, Menu order, Enable reviews). These should be globally set by the admin ’’
    >> Please do share a screenshot mentioning which part are you referring here. <<
    ** https://i.postimg.cc/c6yGgKKP/Advanced.jpg

    .

    ’’ – Download limit and download expiry should be globally and set by the admin ’’
    >> For this override the edit product page and remove those. You can have reference here https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/templates/vendor-dashboard/product-manager/edit-product.php <<
    ** I don’t know PHP. All I can do is copy/paste snippets.
    If I remove elements from a PHP file, they will be paced again, after a plugin update. **

    .

    ’’ I’m setting up a specific layout for the product page… ’’
    >> You just need to check our codes on how we are displaying the fields and saving the same. <<
    ** I found the PHP files for Questions and Answers and for Vendor Info.
    I was unable to find a code snippet example for calling the template from its URL.
    I’m using the function wc_get_template but if only looks for files inside of WooCommerce.
    Can you please tell me how to do it? **

    Plugin Author MultiVendorX

    (@wcmp)

    Hi @bilion, our replies are inline :

    ’’ I would like to show a lot more vendor info on the product page, like: Profile Image, Name, Rating, Country, Social, Follow and Store Description.
    When adding this to the product page, please add tags and classes to these elements, so that they can be styled with CSS. Right now, the Vendor Description doesn’t have a tag or class. I assume that this should be set in the plugin’s PHP.
    Also, the vendor store description doesn’t have the html and CSS markup that was added in the MCE editor. Please, fix this so that the text formatting and styling is preserved. ’’
    >> I have forwarded this to the Product enhancement team. Depending upon mass request and availability of resources, the team would be in a situation to proceed further.
    However we can give a filter, using this you can add any number of tabs and corresponding content by doing custom code. <<
    ** That would be great!
    But, I am not using tabs on the page. It makes no sense to hide Reviews, QnA or other info behind a tab. Woocommerce needs to change this.
    Please write a code snippet that adds a new tab / section, that has all of the vendor information located on the store page.
    If possible, make the name and image as links to the store. **

    >>> Generally we love to share coding help with our users, but if that requires small codes.

    Your requirements need good amount of custom codes. Do you have any developers with you, so we can guide them with the hook/filter?

    =======================================================================================

    ’’ – Link to the seller’s website ’’
    >> You need to use this code : add_filter(‘is_vendor_add_external_url_field’, ‘__return_true’); <<
    ** I assume that it should add a link to the vendor’s website. But, the link doesn’t appear on the vendor store or the product page. **

    >>> Once you will add this code, vendor can add their shop url.
    This url will be displayed in their shop page

    =======================================================================================

    ’’ – Contact vendor form – This should be a global on/off setting for the admin and an optional setting for the vendor ’’
    >> Can you please explain this <<
    ** I have found the widget that adds a contact from to the vendor store.
    But, some vendors may not want to be contacted. They should have an option to disable the form for their store.
    The contact should be there, if the seller wants to do private work. If they only want to sell digital products through the store, buyers can ask questions through the QnA. **

    >>> Currently we don’t have such settings.
    I will share this with our dev team. They will take further deceision on this.

    =======================================================================================

    ’’ – No shipping or return options for vendor ’’
    >> Disable the “shipping” option via WCMp >> Settings >> General.
    ** There are still a few unnecessary options available: https://postimg.cc/kBNJXQfj
    Also on Store Settings > Policies there are Shipping Policy and Cancellation/Return/Exchange Policy **
    ’’ – Remove Advanced product options for the vendor (Purchase note, Menu order, Enable reviews). These should be globally set by the admin ’’
    >> Please do share a screenshot mentioning which part are you referring here. <<
    ** https://i.postimg.cc/c6yGgKKP/Advanced.jpg

    >>> Use this code :

    function remove_linked_products($tabs)
    { 
    unset($tabs['inventory']); 
    unset($tabs['advanced']); 
    return($tabs); 
    } 
    add_filter('wcmp_product_data_tabs', 'remove_linked_products', 10, 1);

    To disable policies, goto WCMp >> Settings >> General and disable the “Policy”..

    =======================================================================================

    ’’ – Download limit and download expiry should be globally and set by the admin ’’
    >> For this override the edit product page and remove those. You can have reference here https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/templates/vendor-dashboard/product-manager/edit-product.php <<
    ** I don’t know PHP. All I can do is copy/paste snippets.
    If I remove elements from a PHP file, they will be paced again, after a plugin update. **

    >>> If you override a template, then when you will update the plugin, it won’t affect the modifictaion.

    This link might assist you better https://www.ibenic.com/include-or-override-wordpress-templates/

    =======================================================================================

    ’’ I’m setting up a specific layout for the product page… ’’
    >> You just need to check our codes on how we are displaying the fields and saving the same. <<
    ** I found the PHP files for Questions and Answers and for Vendor Info.
    I was unable to find a code snippet example for calling the template from its URL.
    I’m using the function wc_get_template but if only looks for files inside of WooCommerce.
    Can you please tell me how to do it? **

    >>> Our team will get back to you on this.

    p.s. you can track your enhancement request here: https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/1019
    Just to keep you posted, we can’t share any ETA on this`

    Thread Starter John Webber

    (@bilion)

    Hi

    Thank you for all of the help. This is really great support.
    One thing is still unclear.

    “To disable policies, go to WCMp >> Settings >> General and disable the “Policy”..”

    I am not able to enable or disable the Policy. There is no checkbox.
    https://postimg.cc/Yj23wSHP

    Plugin Author MultiVendorX

    (@wcmp)

    @bilion, as you can see this setting is working fine on our end: https://www.loom.com/share/cd2baaa765c84d70884888d8e8c476e4

    Now can you refresh the page and check again.
    If the issue is still there, then please do contact us over our forum so we can guide you accordingly : https://wc-marketplace.com/support-forum

    Thread Starter John Webber

    (@bilion)

    Hi

    The checkbox has inline css properties:

    display: none!important;
        visibility: hidden!important;
        opacity: 0!important;
        height: 0!important;
        width: 0!important;
        pointer-events: none!important;

    Is it a pro only feature?
    Maybe that’s why I can’t use it.

    Plugin Author MultiVendorX

    (@wcmp)

    @bilion, we don’t have any pro version. This feature itself is added to our core plugin.

    So we are not sure why did you face this issue.

    Rajsekhar Chatterjee

    (@rajsekharchatterjee11)

    Hi,
    For your question no 7, you have to follow our https://github.com/wcmarketplace/wcmpreact/blob/main/classes/class-wcmp-product.php this file. All the codes are included in this file. As an example, you can check Questions and Answers fields here https://github.com/wcmarketplace/wcmpreact/blob/main/classes/class-wcmp-product.php#L1497
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Optimization for digital downloads’ is closed to new replies.