Home Forums WC Vendors Pro Support Minor CSS Issues with my WC Vendor Pro Dash

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 1 reply, 2 voices, and was last updated 7 years ago by Anna.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60445
    ryan taber
    Participant

    Hey! Minor CSS issues here and a few questions.
    On the product add page a few of the text fields are white text on a white background so you cant see what you are typing. Anyway i can fix this? Im sure this is because of my theme and not the plugin.

    Also how can i change the labels within the product add page? For example if i wanted to change “product short description” to “top description” how would i go about doing that?

    Is there anyway i can add some text instructions to the product add page? I would like to give some more details to my vendors so that they can more easily understand how to submit and where to put what information.

    And finally do you guys have a 30 day money back policy in case the plugin just isn’t enough for me? If not that’s fine ill live 🙂

    PS. i have included vendor login info so you can see what i mean

    #60460
    Anna
    Member

    Hello,
    For the text that is white (this is due to your designing of the site being dark/black/charcoal), try this in your style.css:

    input[type="text"], input[type="number"], input[type="email"], input[type="search"], input[type="password"], input[type="tel"], textarea, textarea.form-control {
    color:#333;
    }

    If that doesn’t work, ask the theme author how this should be handled, please, so that your text areas and input areas do not show white text.

    TO change the product form labels, you can use the filter for that area.
    You’ll have to go through the core code file to find the proper filter; filters look like this:
    apply_filters( 'wcv_product_title'
    For the product form filters, you’ll look in this core file (do not modify the core file): wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-product-form.php

    So, if you want to change the label for those, you have to first find the right filter, then change the label by writing a new filter and adding it to your theme/child theme functions.php. This makes the change upgrade-safe.
    Here’s an example of a filter used for changing the product short description:
    https://gist.github.com/fervous/340513bebbea0dfe18fba4603105a678

    For descriptions- you can either 1. change the label and add the label AND the description/instructions to that area like I have shown above…. or 2. Use the action hooks built into the forms (better option).

    Action hooks look like this: <?php do_action( 'wcv_after_media', $object_id ); ?>
    SO if you wanted to add some instructions to appear on the front-end product form after the media uploader (featured and gallery images), you’d add the action like this (this would also go in your theme/child theme functions.php file):
    https://gist.github.com/fervous/571e43e0f0b92d3cfbb71c935ddc6c3d

    See.. you’re using wcv_after_media

    If you look through our templates, there are quite a lot of action hooks- so these modifications can also be upgrade safe, whereas if you modified the template directly, it would need to be updated each time we update the templates.
    The template for the product add/edit front end form for vendors is here: wp-content/plugins/wc-vendors-pro/templates/dashboard/product-edit.php

    That should get you started 😉

    No refunds– https://www.wcvendors.com/termsofservice/

    Let me know if I can help with anything else.

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