Home Forums WC Vendors Pro Support Mandatory Shipping Time field for vendors

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #66038
    Yasa
    Participant

    Hi,
    I would like to add a mandatory shipping time field on a product settings page, any ideas to do that?

    #66046
    Anna
    Member

    @canyasa
    I have a few examples of how to add either a text or a select2 fields to the product-edit.php template.
    I am not sure how to do a date/time picker without further tinkering, if that’s what your goal is..
    But here are two to look at and see if they will meet your needs.
    Select2
    https://gist.github.com/fervous/048b04a4a73cde43fd77b34405917f54

    Text
    https://gist.github.com/fervous/ce8059e2144f05b813c5932fbd1d3c6d

    Let me know if these are helpful

    #66052
    Yasa
    Participant

    Thank you Anna for the codes, it is only going to say like “Shipping Time: 5 days” and vendor just enter the number of days in the field that is it, I think I can do this with the text option but how can I show it under Shipping tab of the product page?

    Which .php should I copy and where should I put it under the marketplace child theme?

    Thank you

    • This reply was modified 5 years, 8 months ago by Yasa.
    #66113
    Anna
    Member

    @canyasa
    Are you asking to have the Shipping Time value show up on the product page (customer view) under the Shipping tab where to shows the shipping rates for the customers? Or are you wanting the field for vendors to show up in the shipping tab on the product-edit.php product add/edit form in Pro?

    For BuddyBoss this template likely within the bb-marketplace folder.. find it in the bb-marketplace files, copy, and then to override in your child theme, you’d use this path:
    wp-content/themes/onesocial-child/bb-marketplace/wc-vendors/dashboard/product-edit.php

    Place the first portion of the code where you’d like the field to show for the vendors when they fill it in on the product page.

    The second piece of code goes in your functions.php file in your child theme.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.