Home Forums WC Vendors Free Support Custom Field Problem

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!

 

  • This topic has 2 replies, 2 voices, and was last updated 7 years ago by Anna.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58011
    Mihai Costi
    Participant

    Hello. For the past day I’ve been struggling to implement a custom field for settings and it’s working weird. On front-end(/vendor_dashboard/shop_settings) it’s working fine, but on back-end(wp-admin -> Store settings) I can only see the values, but they won’t change when I save.

    These are the functions. Can you please help me? Also, how do I enqueue a script for the shop settings front-end page?
    Thank you.

    The code tag is acting weird here, so here is the link of a pastebin.

    #58075
    Mihai Costi
    Participant

    Up(is that allowed?)

    #58165
    Anna
    Member

    Hello,
    From what I can tell the code looks fine.
    If the vendor has entered the value for the field using the front end store settings, then the value will be shown int he admin store settings– it does not need to be filled in. If the vendor needs to edit it, they can visit the front end form to do so…

    You can use the template page to place the script needed to show on that page:
    wp content/plugins/wcvendors/templates/dashboard/settings/settings.php

    There are also hooks available on that page to use for placing actions you have written, such as:
    wcvendors_settings_after_paypal
    wcvendors_settings_before_paypal
    wcvendors_settings_after_shop_name
    and more..

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