Home Forums WC Vendors Pro Support Variable products Reply To: Variable products

#11891
Global
Participant

Hi Ben,

I was referring to the post below.

Is Jamie’s solution possible currently?

Thank you for your advice.

Paul

hi ben,
I am looking for add product back end side. vendor click on add product button in front side that link go to backend
like
wp-admin/post-new.php?post_type=product
Thank you

REPLY

ben
October 8, 2015 at 5:38 pm
A list of all the templates and how to change them is in the Pro Setup Guide @ https://www.wcvendors.com/knowledgebase/wc-vendors-pro-setup-guide/

REPLY

suri
October 10, 2015 at 2:09 am
Hi Ben,
I con’t find out exactly how to change that code
Please give same more information or solve that problem code and file name
Thank you

REPLY

Jamie
October 10, 2015 at 2:20 am
Hello,
This can’t be done yet, but I’ve just added a filter to make this possible. When 1.0.2 is out you’ll be able to put this into your themes function.php
<?php
// Change the “Add Product” button url to the back end.
add_filter(‘wcv_add_product_url’, ‘new_add_product_url’);
function new_add_product_url(){
return admin_url(‘post-new.php?post_type=product’);
}
?>
view rawfunctions.php hosted with ❤ by GitHub
This won’t work until the next version of Pro is out.
cheers,
Jamie.