Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Edit add product page
- This topic has 1 reply, 2 voices, and was last updated 7 years ago by WCFM Forum.
- AuthorPosts
- December 14, 2017 at 8:32 am #16871ElhamGuest
Hi, I need to edit add product page.
I want to add custom fields and save it without plugins.I have edited wcfm-view-products-manage.php file in path wc-frontend-manager/views/products-manager
but it causing error when I click on submit product.Is there another way to edit a template and put it in my theme directory ?
another question , how can I get the URL of the vendor dashboard without write it (ex. /wcfm/).
Is there a function will get the URL ? like get_wcmf_ul().Thank you guys.
- December 14, 2017 at 8:22 pm #16882WCFM ForumMember
Hi,
Thanks for get in touch with us and asking all this.
First of all, please don’t edit any WCFM core files. Believe me WCFM is already quite powerful to accept any customization from outside. WCFM Ultimate is just a add-on of that and totally works from outside. WCFM already comes with 1000+ hooks and filters, if required more we will definitely add for you but please don’t edit core files and block yourself from normal updates.
For custom fields – please use WCFM custom field, it’s quite powerful and self dependent – no other add-on required.
Take a look – https://wclovers.com/knowledgebase/wcfm-custom-fields/Just relax, there is function for all this –
is_wcfm_page() – to check whether it’s WCFM dashboard or not?
get_wcfm_url() – get WCFM dashboard URL
wcfm_is_vendor() – will tell you whether a logged in user vendor or not?Please know me if you want any further assistance from me.
Thank You
Shhiv
- AuthorPosts
- The topic ‘Edit add product page’ is closed to new replies.