Implement own JS in product edit page

Home Forums WC Vendors Free Support Implement own JS in product edit 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.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #77136
    Anton
    Participant

    Hello WCVendors community. Is it possible to add custom js code in the edit page -> ../wp-admin/post.php?post=xxxxx&action=edit

    For example, I want to implement that the user must set a price higher than $5, else the publish/submit for review button will be disabled.

    I need to know where I can put the code. I tried it in my functions.php, but it wont work for me.

    I also checked the forum and knowledgebase, but also didnt found what i am searching for.

    #77204
    Anna
    Keymaster

    Hello,
    Javascript needs it’s own functions(that you would put in the functions.php) but also its own file.
    You’ll need to hire outside support for javascript support. 🙁

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.

This website uses cookies to ensure you get the best experience on our website.