Home Forums Plugin or Theme Compatibility Simple Auction – Pro Features Theme Integration

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 35 posts - 1 through 35 (of 35 total)
  • Author
    Posts
  • #45059
    Carin
    Participant

    Hello Guys,

    Great plugin! A few simple auction specific questions here.

    1. I’d like to allow users to track/view bids in their dashboard on a per auction basis. Is this possible?
    2. What will happen with my existing auctions? Can I assign the current auctions (products) to a new vendor/user after installing? I’d like to make sure it’s compatible and that someone from your team is available to help if issues arise.
    3. Can vendors bulk upload multiple auctions?

    Tons more questions, but I’ll dig more into your forum/knowledgebase as necessary.

    Thank you,

    Joel

    #45073
    WC Vendors Support
    Participant

    1.) Doesnt it already do that? 🙂 Show the list of products, shows you in table format there

    2.) Sure! All you have to do is edit the current auction product, and change the vendor to the new vendor name. Then, the product is now owned by that vendor. The auction continues as scheduled.

    3.) You wont want this as an admin. Admins cant even get a csv for bulk uploads formatted right let alone technically inept vendors. You’d just find your site was populated with a bunch of broken products from vendors who just cant figure it out. Dont do it. 🙂

    There’s not too much else in the KB about auctions, it’s pretty straight forward. As long as the SA settings are set as outlined in the integration plugins screenshots your good to go most of the time. 🙂

    #45105
    Carin
    Participant

    Thanks Ben, I’ve installed the free version, pro version, and SA plugin. I activated all of them and updated/saved the permalinks. I added the vendor dashboard to the top menu also.

    The pro vendor account pages linked are now showing shortcodes, yet I believe I followed the install guidelines and have set the pages correctly.

    I created a vendor account to test it and when clicked they link to the attached page displaying the shortcode only (see attached).

    Any ideas?

    #45133
    WC Vendors Support
    Participant

    The screenshot is for your Dokan dashboard. Presumably, like many, you installed Dokan and hated it and went with Pro instead….. Pro uses the Pro Dashboard page on /dashboard/ for its vendor dashboard. 🙂

    To set your pages and check which is which go to wp-admin > Woo > WC Vendors > Pro and check those pages and their shortcodes are the same as instructed on that page… Check the other tabs too since there’s a few others with more pages on them such as feedback etc…

    #45262
    Carin
    Participant

    Thanks BEN,

    This project came to me from another developer, not sure what Dokan is. Is that the free version of WC Vendors?

    I only see one page on the Pro tab for the [wcv_pro_dashboard] shortcode and I’ve got that set up and working. I set the other pages on the “Page” configuration tab but am having trouble getting the links to work right. On those page settings I’ve set the parent page to the vendor dashboard so links should be working, but its not loading the orders or products pages.

    Also the nav menu goes away when the settings tab is selected.

    Do you have documentation anywhere of all the pages the pro version should use and what the correct shortcodes should be?

    #45263
    Carin
    Participant

    Also, the products set to a vendor aren’t showing under the vendors store page. They were already created before installing, but I assigned them to the test vendor account.

    #45264
    Carin
    Participant

    Screenshots of the assigned products, but they aren’t showing.

    #45304
    Anna
    Member

    Joel,
    You’ll need to be sure that the vendor role you are using is for WC Vendors, and not left over form the Dokan install. Dokan is also a multi-vendor plugin for WooCommerce and WordPress. Left over roles or information form Dokan can interfere with WC Vendors, so be sure that the Dokan roles and pages are completely gone.

    In addition, try going to wp admin > WooCommerce > System Status > Tools .. scroll down to “Reset WC Vendors Roles”. Do this, and see if the vendor pages are showing correctly after resetting the vendor and pending vendor roles.

    #45525
    Carin
    Participant

    Anna,

    I found and deleted two dokan pages. I also reset the user roles but that didn’t correct the issue with no products displaying on the demo vendor page.

    I’m thinking there may have been a page for products that had an error on install. “Do you have documentation anywhere of all the pages the pro version should use and what the correct shortcodes should be?”

    I can manually create the products page, correct?

    Also, I attached a screenshot of all the user profiles on our site, is there a page you have that shows the profiles I should keep?

    I’m willing to hire someone to help on this and have posted about it two times on codeable but am not getting anywhere… We’re under a time cruch as we have a trip with the team schedule early next week and was planning to demonstrate a working vendor page! Any help would be appreciated!!

    Thank you,

    Joel

    #45568
    Anna
    Member

    User Auctions? You do not need a special role for the Simple Auctions to work with WC Vendors.

    Anyone actively selling on your site with WC Vendors should be a VENDOR role. Pending Vendor is also from us, WC Vendors.

    Seller role is from Dokan. I do not know where User Auctions is from. The other roles are fine- they are from wp and Woo.

    If you want me to login and check your settings, I can do so. I can check pages, roles, shortcodes, settings, etc.

    Please reply (private reply) with your site URL, an admin login and password.. I’ll take a look and let you know if you need custom work – but it is likely that you just need some settings adjusted and checked.

    #45620
    Anna
    Member

    Hello!
    1. I corrected some of your WC Vendors pages, as the pages were set as children of the Pro dashboard, but they should remain children of the WC Vendors FREE dashboard page which you did not have set. I corrected that and set a WC Vendors FREE dashboard page for you. You will still direct your vendors to the WC Vendors Pro dashboard page /vendor_dashboard/

    2. The Pro vendor dashboard cannot be a child of the /my-account/. That messes up the links to the settings, products, orders, etc. It is a parent page only.

    3. You will likely want to work in a link in the menu or elsewhere, or a button… to the Vendor Dashboard, as there currently is not an easy way to reach the vendor dashboard for your vendors. Only the text link that is in the /my-account/ page greeting.

    4. The reason why the assigned listings were not showing up on the vendor store pages is because they were auctions, and your auctions settings were such that auctions would ONLY show on the auctions page. I have changed this so that you can see the auctions on the vendor store pages; however, if you wish to adjust this then you just need to go to: WooCommerce > Settings > Auctions and tick the box that says, “Do Not Show Auctions on Shop Page”. This prevents the auctions from showing on the archive-product page, which is the page we hook into to show the vendor store page.

    5. Just making sure that you WANT your commissions set to 0. If so, no worries. But I just wanted to point that out in case you were not aware that you currently have it configured so that your vendors receive no commissions from a sale.

    Let me know if you have any other questions.
    Feel free to delete my vendor account (AnnaWCVendors)and my test listings.. I was only testing the store pages and to make sure I could both list and assign a product.

    #45621
    Carin
    Participant

    That’s perfect, thank you!

    1. Thank you, That makes sense.

    2. Note taken, thanks

    3. Ok, I’ll do this and set it now.

    4. I had the products separated because I was attempting to have a listing credit users could purchase, but abandoned that method. Do you know a way to charge vendors to list an auction? either with credits or on a per listing basis?

    5. For now, we are planning to do this manually, at least until we have more test auctions completed and the merchant account finalized.

    Do you know where the css styling is located for the menu? It’s currently appearing black and was wanting it to match or be close the themes button menu styling.

    Anna, you’re awesome, thank you!!

    Joel

    #45628
    Anna
    Member

    Styling of the dashboard: This creates a nearly identical style to your main menu. Put this in your child theme style.css:

    .wcv-navigation ul.menu.black {
        background: #005077;
    }
    .wcv-navigation ul.menu.black li a {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 13px;
    }
    .wcv-navigation ul.menu.horizontal li a {
        padding: .75em 1.1em;
        border: none;
    }
    .wcv-navigation ul.menu.black li.active, .wcv-navigation ul.menu.horizontal > li:first-child a:hover , .wcv-navigation ul.menu.horizontal li a:hover {
        background: #004161;
    }

    4. I do not know how to do a per listing fee, no. There may also be a way you can block access to the Auction category (until a fee is paid) using a membership plugin or a Groups + WooCommerce Groups combination- but , again, you’d have to do some research and there would likely be some coding required, but this is feasible, and likely a bit more streamlined than the per listing option.
    Do some searching here, too, because I know in the past some users have looked into a per listing option or credits option. I cannot recall if they were able to implement this with some custom work or not.

    #45712
    Carin
    Participant

    Thank you, that was it! I’ve done some research in the past and will share what I find for the per listing fees. I’m assuming we can set it up similar to the “pay to post” plugin here: https://wordpress.org/plugins/pay-to-post/. If I install this one I’ll report back.

    I have a style on the gravity forms I’d like to match on the product submission form. How would I target the product submission form or even all WCV forms?

    I’ll read more into the knowledgebase now, but is there a quick way to rename menu items? We wanted to rename a few tabs on the pro dashboard menu and change some of the product submission language.

    Thanks Anna and Jamie, A+++

    Joel

    #45717
    Carin
    Participant

    OK, I renamed the dashboard menu items using the code you’ve provided in the past on another thread. I added the below to functions.php and it worked on the menu item under the dashboard tab. How can I change it under the products tab also? It’s still showing “Add Product”.

    /* WC Vendors Pro Rename Quick Links in Dashboard . Change the labels to your own title. */

    add_filter(‘wcv_dashboard_quick_links’, ‘rename_wcv_dashboard_quick_links’);

    function rename_wcv_dashboard_quick_links( $quick_links ){
    if ( array_key_exists(‘product’, $quick_links ) ) $quick_links[ ‘product’ ][ ‘label’ ] = ‘List A New Item’;
    if ( array_key_exists(‘shop_coupon’, $quick_links ) )$quick_links[ ‘shop_coupon’ ][ ‘label’ ] = ‘Create A Coupon’;
    return $quick_links;
    }

    #45724
    Carin
    Participant

    Ok, I’ve read through a lot of the knowledge base and forum trying to find a way to rename the “products” and “orders” dashboard menu items. I found one thread that discussed this and tried to follow and it broke the site.

    Do you have a way to rename the second “add product” quick link and the pro menu’s “products” and “orders” text display?

    Thank you,

    Joel

    #45761
    Anna
    Member

    Joel,
    Ahh I am looking for how to change the “ADD PRODUCT” link/button on the Products Tab. I thought that the code for the “quick links” would have changed that, but I will see where the different code may be for the product tab content specifically.

    As for the dashboard links being changeable, this code can be modified to the link label you prefer (‘Mah Products’ ,etc.), and remove the ones that you do not wish to change. child theme functions.php. :
    https://gist.github.com/fervous/29670e4f5a68ef5cc9e099b42fa9a349

    #45855
    Carin
    Participant

    Thank you, I had included the <.php …> from the other thread which likely caused the issue but this worked perfect. you’re awesome!

    Any luck with the code to rename the “Add Product” link under the products tab?

    #45856
    Carin
    Participant

    Anna,

    The other thing I’d like to accomplish is customizing the product submission form fields to match names applicable to our auctions. Is that form under WC Vendors or part of woocommerce? I’m sure it’s more complex and would be willing to hire you to customize the submission form and to assist in displaying it within the auctions. We have between one and 8 documents users upload with each auction and would like to change some of the text for product descriptions etc. Then, the short description for each auction could be broke down into 4-5 fields on submission, but displayed under the short description area.

    Thank you,

    Joel

    #45910
    Anna
    Member

    Joel,
    I haven’t found the appropriate way to change the “add product” for the dashboard/products page yet, but I will. Sorry I have bookmarked this now and will look again in the morning.

    As for the field alterations in the submission form…. I am not quite following you enough to understand exactly how much it is that you wish to alter.
    If it is a matter of changing the labels and such, we can do that with filters and that won’t be custom work.

    If you want alteration done to the forms themselves or the page- that’s either work you will need to do or custom work that will require a custom development quote and order/payment. When you say 4-5 fields… you want there to be additional fields on the product submission form? But these will all still be part of the product description?

    #46264
    Carin
    Participant

    Hi Anna,

    We just got back from our company trip and have several people who’d like to manage adding auctions themselves. I can create a gravity form that could be used to post a product, if you know how to integrate it with new fields and also know how to display those new product details on the front end (would they be custom attributes?). I could also create a form field spreadsheet and send it to you if we can’t integrate gravity forms. My thoughts on gravity forms are that it may be easier for me to set up the conditional logic and there are payment processes that may be easier to integrate w/ woo-commerce.

    There are a fair amount of fields and customizations needed on the submission form. Probably 10 conditional logic fields and 40-50 regular fields. They’d need to be able to be integrated with the back end approval process and it is necessary to display them as links in the product details section.

    How should I proceed?

    Thank you,

    Joel

    #46275
    Carin
    Participant

    So one option for front end display of products, if we go with gravity forms could be this plugin https://gravityview.co/. It’d help us because we are also currently manually coding a directory page with reviews for third party providers. Could this plugin also be used to integrate the product submission form?

    #46367
    Anna
    Member

    Joel,
    I’d like to help- but this is moving quite far away from some of the core workings of WC Vendors. I am not sure without further investigation into these needs and the gravity forms how these could be used to obtain the custom needs from the fields and also work in tandem or as expected with WC Vendors.

    If your need is to collect additional information form the vendors, there are likely ways this can be custom coded without using the separate system that would be necessary with gravity forms (don’t get me wrong- gravity forms is awesome…).

    I will look into this a bit and see if this is a project that I could reasonably take on, or if it would be best to refer you to someone who would be better versed in working with gravity forms. I am not all that experienced with working with gravity forms.
    If you are in a time crunch, you may wish to go ahead and see if you can get a quote and some help from one of the devs at codeable.io. They are great for working with WooCommerce custom development, and your site has some very specific needs: https://codeable.io

    #47625
    Allan Hendriks
    Participant

    Hi Anna, I’m Allan and Joel has hired me on to help integrate a lot of these additional form elements for his products. I was wondering if I could ask some assistance with some of the filter functionality for the vendor input.

    Since the list of form fields is so large, I am trying to minimize the amount of space and i feel like the details about price/increment/reserve/buyitnow can be reduced. You can see in the image below that it stacks them one on top of each other no matter what size the screen is.

    css reductions?

    now WCV has some great CSS rules that I would like to pop in to have them stack side by side and I was hoping there might be a filter of some kind to tap in there and modify the output to add some CSS *like* this
    <div class=”xlarge-25 large-25 medium-50 small-100 tiny-100″>

    any help would be greatly appreciated!
    Allan

    #47631
    Allan Hendriks
    Participant

    I can see in the class-wcv-simple-auctions.php is public function auctions_form( $post_id ) but there isn’t a filter to add onto that..

    am i on the right track?
    A

    #47637
    Allan Hendriks
    Participant

    LOL, i was on the right track – i found some filters in there to change the surrounding <div>’s for the prices & increment.
    That should do it for that part. But since Joel does not have ‘new’ or ‘used’ horses, they are actually living creatures, that field is unnecessary. Same goes with the auction type, he will never use the ‘reverse’ bidding type. Nor do we want to show those fields.

    I can add some filters to the auction type and reverse bidding to ‘wrapper start’ style those as display:none so those are hidden from the vendor, but since proxy bidding does not have the wrapper start argument, I can’t actually hide it

    // Proxy Options
    WCVendors_Pro_Form_Helper::input( apply_filters( ‘wcv_simple_auctions_proxy_bidding’, array(
    ‘post_id’=> $post_id,
    ‘id’ => ‘_auction_proxy’,
    ‘label’ => __( ‘Enable proxy bidding’, ‘wc_simple_auctions’ ),
    ‘type’ => ‘checkbox’
    ) )
    );

    I don’t want to remove this function from the plugin directly, but I’d love a way to remove it from the vendor entry page so it remains future compatible.. Any tips (and sorry for the multiple messages!)

    Allan

    #47653
    Anna
    Member

    Hello Allan,
    I’ll need to dig into the Simple Auctions Plugin…

    Perhaps you could you hide it with a filter in the functions.php like this? Or are you looking for something different?

    add_filter('wcv_simple_auctions_proxy_bidding', 'wcv_simple_auctions_proxy_bidding_hidden');
      function wcv_simple_auctions_proxy_bidding_hidden( $args ){
        return array();
    }

    If not, in the morning I will certainly look into this and try to get you a better answer to your question, as well as your other questions above if you are still working with those.

    #47654
    Jamie
    Keymaster

    Hello,

    FYI you can define/redefine your own wrapper start class and wrapper end and the form builder will pick it up.

    cheers,

    Jamie.

    #47724
    Allan Hendriks
    Participant

    Thanks Anna & Jamie.
    So I’ve implemented the following function and filter..

    // ——————————————————————————
    function custom_wcv_proxy_bidding( $args ) {
    $args[‘wrapper_start’] = ‘<div class=”all-100″ style=”display:none;”>’;
    return $args ;
    // return array();
    }
    add_filter(‘wcv_simple_auctions_proxy_bidding’, ‘custom_wcv_proxy_bidding’ );
    // ——————————————————————————

    using either the “return $args”, and “return array();” both have problems. From what I can tell the checkbox form item does not process the wrapper_start and wrapper_end variables so I can’t hide the checkbox using that CSS method, and when it comes to returning an empty array it just ends up displaying a blank text entry with no title etc. So either way it displays something.. Any ideas?

    On a separate note,
    I’m also having a problem uploading images in the gallery & featured image media upload. Since many of the horses being auctioned have a lot of veterinary documentation, we are utilizing a number of upload fields – which all came back with the same error. After uploading the image, WP will come back with an error that I don’t have the correct permissions to do upload. I’ve reverted back to the original template of the ‘product-edit.php’ template, as well as removed all the filter functions in the functions.php file and it still has the same problem. I know this will be a hard one to case out, but do you have any tips on how I can test this a little more to find the issue?

    (and I just want to say thank your for your prompt response!)
    Cheers, Allan

    #47743
    Anna
    Member

    Allan,
    I’ll check with Jamie later to see if he can assist any with some of your questions.
    Regarding the permissions error- a quick check would be to reset the WC Vendors roles (woocommerce > system status > tools > reset wc vendors roles) in case the proper permissions are not being given for the vendor role.
    In the past I have seen this error also due to:
    1. a conflicting plugin (deactivate and test). We’ve found that some of the Visual Composer add-on plugins and also WP smush/image optimizers sometimes cause this issue. or
    2. SSL inconsistencies on the site. Is all of the site and content forced SSL?

    #47756
    Allan Hendriks
    Participant

    FILE UPLOADS
    Tried resetting the permissions, no luck
    Is it possible that my testing it on a development server might be causing wc-vendor-pro to fail? Obviously the account that Joel would have registered it to is not connected to the dev server and I am getting a warning message on the plugin page.

    PROXY BIDDING
    Any tips to help hide this check box form element would be greatly appreciated!

    SAVING NEW META FIELDS and OTHER VALUES
    I’m also having troubles saving the price/increment/reserve/buyitnow values sometimes, and then other times the new meta values I’ve created. I’ve referenced this page to create the function to save the new values but it seems to work intermittently. The most recent iteration saves the meta values, but not the bidding details (price/increment/reserve/buyitnow). Have I tapped into the save function incorrectly?

    add_action(‘save_post’, ‘tbred_save_my_custom_fields_admin’, 10, 3);
    function tbred_save_my_custom_fields_admin( $product_id, $post, $update ) {
    // do some testing to make sure its a valid submission
    if (defined(‘DOING_AUTOSAVE’) && DOING_AUTOSAVE) return;
    if ( $post->post_type != ‘product’ ) return;

    // ________________________________________________________________________________
    $wcv_custom_horse_locate_country_NEW = sanitize_text_field( $_POST[‘wcv_custom_horse_locate_country’] );
    $wcv_custom_horse_locate_country_OLD = get_post_meta($product_id, ‘wcv_custom_horse_locate_country’, true);

    if ($wcv_custom_horse_locate_country_NEW != $wcv_custom_horse_locate_country_OLD)
    update_post_meta($product_id, ‘wcv_custom_horse_locate_country’, $wcv_custom_horse_locate_country_NEW);

    // there are about 50 values altogether and i won’t bother
    // repeating here for brevity’s sake
    }

    Sincere thanks, Allan

    #47836
    Allan Hendriks
    Participant

    IMAGE UPLOADS
    Joel has more than 30 plugins activated on the site, seems that one of them is conflicting with the permissions. I’ve disabled most and the uploads is working, have to determine which was giving it trouble.

    PROXY BIDDING
    This form element should be hidden. I guess its possible we had just hide the checkbox and its corresponding label however, the [ul] and outer [div] are still there and the spacing is a little funky. Ideally I’d like to nab its ‘wrapper_start’ to display:none; but if not possible, as a last resort we can hide the label and checkbox with CSS.

    SAVING NEW META FIELDS and OTHER VALUES
    So its either one problem or the other. When I remove my custom template for product-edit.php and let it pull from the plugins template, it saves the price/increment/reserve/buyitnow fields properly, obviously no custom meta values get saved though. Case in point, when I upload my custom template on the same listing and refresh the page, those custom values are not shown any more. Is there something going at save to check for existing $_POST values to remove those meta values?
    I feel like I can rule out it being a registration issue on my dev server but of course can’t confirm that as it DOES save the price/increment/reserve/buyitnow when I use the standard plugins template
    I’m really getting hung up on this part and would appreciate any help. I’d be happy to provide the functions.php or the product-edit.php files here, or even grant you access to the back end of my development server too!

    Sincere thanks, Allan

    #47839
    Allan Hendriks
    Participant

    Having the same trouble with the auction start & end date as well in regards to the SAVING NEW META FIELDS and OTHER VALUES… A

    #47867
    Anna
    Member

    Allan,
    IMAGE UPLOADS
    I am glad you were able to figure out that it is a plugin conflict happening with the permissions error. As I mentioned above, I have seen that error occur when some of the visual composer extensions are used, as well as some of the image optimizing plugins… but I am not sure in this case.

    PROXY BIDDING
    Rather than using css, please use the filter to hide this:
    https://gist.github.com/digitalchild/1706b569f9cc49703d9a890e4a1dd168#file-functions-php

    The input text, hidden & checkbox are all defined in the same function and use the wrapper class if defined… see function input in the form helper class.

    META FIELDS & VALUES

    When I remove my custom template for product-edit.php and let it pull from the plugins template, it saves the price/increment/reserve/buyitnow fields properly

    If the values are working properly in the template… this is the point where I have to bow out. I wish to assist always, but there is a point with custom work that I reasonably need to stick to our site terms & conditions and what I’m being employed to do. I am not certain why your custom work in this area is not properly saving the fields & values. This auction plugin/extension to our WC Vendors Pro product is a free extensions and further customization is not supported– I hope you understand that I have reached my limit in support regarding the custom work .

    I hope you are able to continue to customize his site to his needs- and if you find something in the Pro plugin that you need assistance with- or if I can guide you to something, I certainly will. I just cannot help the custom work at this time.

    #47922
    Allan Hendriks
    Participant

    Anna, really – thanks for your help, I totally understand how the amount of support is limited.

    Seems the previous template that Joel was using had some missing data of some kind and I also noticed that the original plugin files had been changed. I basically rebuilt the product-edit.php template using the file from github and it seems to be working now.

    Everything is moving along swimmingly now!

    Another question I hope you may be able to answer for me…
    MEDIA UPLOADS Joel requires PDF documentation to be uploaded by the vendors. In some cases there may be more than one file that a vendor could possibly upload. With the built in media uploader it seems that only single files can be attached using the native file uploader function. I see this on line 166 of wcvendors-pro-admin.js. And from what I gather, uploads can only be images – is that correct or am I missing something? If I am correct, I guess I’ll have to build my own multiple PDF uploader..

    Appreciate your time and help! Allan

Viewing 35 posts - 1 through 35 (of 35 total)
  • The forum ‘Plugin or Theme Compatibility’ is closed to new topics and replies.