Home › Forums › WC Vendors Pro Support › Product Add Page
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.
Thank you to all of our customers!
- This topic has 28 replies, 7 voices, and was last updated 7 years, 10 months ago by WC Vendors Support.
-
AuthorPosts
-
October 12, 2015 at 8:36 pm #10709KevinParticipant
I noticed the hide features are not working for the pro version of WC Vendors. Will this become an option again in the future? Is it possible to hide or set some of these options for vendors by default?
Thanks
October 12, 2015 at 9:08 pm #10712WC Vendors SupportParticipantHi Kevin,
What “hide features” do you mean, and how are they not working?
Ben
October 12, 2015 at 10:42 pm #10718Karen ThomasParticipantHiya Ben,
Was just about to raise this one myself.
I think Kevin is referring to the facility we have in the free version to hide certain fields from vendors on their add product pages.
The option to hide product fields can be found here:
wp-admin > Woocommerce > WCVendors > Products
‘Configure what to hide from all vendors when adding a product’It’s fab as you can tick boxes for anything you want to hide from vendors add product screens.
So for example, in free, I had ‘Variable’ options ticked, as I felt these would only confuse my vendors and also ‘Virtual’ and ‘Downloadable’ products as we are a craft website and don’t have these types of products.
I have tested by ticking various things to hide, but any I have tried have still displayed on the product add forms.
Many thanks,
Karen
October 12, 2015 at 10:47 pm #10719WC Vendors SupportParticipantHi guys/gals,
This is now all template based. If we added admin options for every aspect of the product page, it’d probably be 70 or 80 options long. It’d be quite confusing!
Now, with the templates, it’s as easy as just removing a line of code if you don’t want certain things shown.
/templates/dashboard/product-edit.php
Everything is well commented so you know what to remove. And of course, you can add anything you want, too! 🙂
Remember, copy the template to your themes folder as outline in the Knowledgebase article that talks about how to change the dashboard templates.
October 12, 2015 at 10:52 pm #10720Karen ThomasParticipantThanks Ben,
I’d normally shy away from delving into any code but you’ve made it sound so easy – I can’t wait to have a play around 🙂 Sounds like it could be really flexible this way.
It’s almost 4am so I’d better go to sleep but will let you know how I get on tomorrow..
October 12, 2015 at 10:53 pm #10721WC Vendors SupportParticipantIt really is easy! Give it a try, just read the template file. It’s so incredibly simple. 🙂
October 12, 2015 at 11:25 pm #10724Karen ThomasParticipantTHANK YOU – I’m a simple girl 🙂
I’ve read the the template guide here:
https://www.wcvendors.com/knowledgebase/changing-vendor-templates/So before making any changes I should copy this:
wp-content/plugins/wc-vendors-pro/templates/dashboard/product-edit.phpto this folder:
/wp-content/themes/YOURTHEME/wc-vendors/However, I don’t have a file called wc-vendors in my theme folder 🙁
MY theme folder only contains files and the following 2 folders:
Images
Inc.Do I need to create a new folder for wc-vendors in my theme folder?
Ta v much,
K
October 12, 2015 at 11:28 pm #10725WC Vendors SupportParticipantwp-content/plugins/wc-vendors-pro/templates/dashboard/product-edit.php
gets copied into
wp-content/themes/yourtheme/wc-vendors/dashboard/product-edit.php
If the directories don’t exist, simply create them. 🙂
I’ll be making a video tutorial on how to edit the templates in the near future after 1.0.2 comes out that way everyone sees it with the most current templates.
October 13, 2015 at 5:11 am #10733Donna AndersonParticipantThanks for this – Makes me want to take a look at all the templates now and see just how much I can customize this whole thing for our site 🙂
October 13, 2015 at 11:12 am #10751WC Vendors SupportParticipantDon’t forget, there’s a list of all the templates and what they actually do here:
https://www.wcvendors.com/knowledgebase/wc-vendors-pro-setup-guide/
….all the way at the bottom. 🙂 You can customize *everything*.
October 13, 2015 at 11:57 am #10768Karen ThomasParticipantI’m loving it!
Thank you for giving us soooo much freedom and keeping things nice and simple.
You’re both totally awesome!!! 😀 x
October 13, 2015 at 8:52 pm #10808Karen ThomasParticipantHiya Ben,
I’ve removed a few things from the Vendor product pages and feeling proud of myself for actually looking at code 🙂 – even if all I did was press delete lol!
One thing I’m struggling with is removing some product types.
I want to keep Simple and obviously will want to have Variable when that’s ready, but all the rest I don’t want to show on the Vendor product screens as they’re not needed (grouped, external/affiliate, virtual, downloadable)
I did try removing the code after ‘Simple product’ but it also removed the price fields as they seem to be bundled in to the product type section.
Do you know how I am able to remove them?
Many thanks,
Karen
October 13, 2015 at 10:49 pm #10816WC Vendors SupportParticipantHere ya go! Those are changed via filters. So, check out this fresh new KB article written just for you. It will work as you want by just copy/pasting it into your functions.php, of course if you want to tweak it in any way feel free. 🙂
October 13, 2015 at 10:58 pm #10819Karen ThomasParticipantYou are the Bee’s Knees! Thank you so much!
Can’t get over your incredible support, means the world, thank you! x
October 17, 2015 at 9:10 am #11080Karen ThomasParticipantHiya Ben,
I’ve had a little go at also removing ‘Allow back orders’ but getting muddled. Can you help?
Thanks a million.
Karen
October 17, 2015 at 12:36 pm #11088WC Vendors SupportParticipantSure! Here you go:
October 17, 2015 at 12:41 pm #11090Karen ThomasParticipantYou’re a superstar!!! Thank u Ben!
🙂
October 21, 2015 at 9:40 am #11824oluwasolaParticipantHi ben
Im still having troubles with my short description in my product add page.
Ive placed WC_Meta_Box_Product_Short_Description::output( $post )in my product-edit.php template file which renders the description box no problem. but any data inputed does not save.
Can you give me any ideas, or am I totally off track?
Many thanks man
October 21, 2015 at 11:51 am #11838WC Vendors SupportParticipantHi Oluwasola,
Always better to start a new topic rather than bumping an existing one when it’s for something different. 🙂
The Short Description is *rarely* if ever used by WooCommerce and their respective themes. There isnt native support for that field within WC Vendors Pro yet.
However, I think it’s a good idea to add it for situations like yours. I’ve created a ticket for this (Ticket # 76) that way Jamie can add it in. It won’t be in the template by default, however we’ll have a KnowledgeBase article on the line of code to add to the add/edit product form to do so.
Ben
October 21, 2015 at 3:36 pm #11868oluwasolaParticipantHi ben, ah ok sorry bout that man:)
And thanks I’ll keep a Look out for it!!
Again thanks for your hard work and support guys;)
October 28, 2015 at 11:55 am #12529KevinParticipantThanks for all the info Ben as it has helped a bunch!
I was able to remove the different fields with success, but am wondering if there is a way to add these fields (such as product name/ description etc.) to another existing page. I currently have a page requesting info through various for new vendors (Listify listing page). My question is can I somehow hook these fields in the functions.php file and make them required so that they would show up on the listing page before the anything else on the page?
October 28, 2015 at 11:59 am #12531WC Vendors SupportParticipantEek, that I’m not sure of. You can see the code that pulls each of the form fields down, but it’s saving it at the bottom that does all the hard work. Adding your own fields is certainly possible of course, just add them to the template and save them after the product updates with the filters:
wcv_save_product
and
wcv_save_product_metaBoth actions here use the product ID as an argument so it knows where to save the data to for each product.
October 28, 2015 at 12:03 pm #12532KevinParticipantHmmm. I will have to mess around with this. Thanks for the quick response.
November 11, 2015 at 4:51 pm #15135Arvid ViderbergParticipantSorry to bump the thread but the link is broken, Ben. 🙂
November 11, 2015 at 4:55 pm #15136WC Vendors SupportParticipantBroken intentionally! This is a dated thread, its info is outdated. With Pro 1.0.5, you can use the Product options in wp-admin > Woocommerce > WC Vendors > Products to remove things from the add/edit product page. The templates now inherit those settings automatically. 🙂
November 12, 2015 at 4:30 am #15182Arvid ViderbergParticipantOh, why am I still on 1.0.2 then 😉
Thanks Ben!November 12, 2015 at 12:37 pm #15230WC Vendors SupportParticipantGrab the latest from wcvendors.com/my-account/ 🙂 You should get an email with every update, the auto updater doesnt work yet (we’re working on that).
June 22, 2016 at 6:21 am #35323Pavol JurikParticipantHi, i have one question related to this. id like to hide almost all options from vendors, but “preselect” defaults for them – e.g. all their products (in my case) are going to be virtual. so i dont want to make them to select it, just hide it and keep it selected as default. do i need to do this via template? btw im using pro.
thanks.June 22, 2016 at 3:59 pm #35381WC Vendors SupportParticipantAdding in defaults would be a bit more complex, you’d probably want to use the filters for the function that the pro template is calling.
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.