Home Forums WC Vendors Pro Support Auction Only

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #57670
    patrick
    Participant

    Im trying to make my site an auction only site by modifying the product edit page.

    My goal is to have one page were customers dont have to click an additional link to input auction information. So the auction input fields are permantly present on the product edit page.

    I relized I can remove some links from the admin section, but that still leaves 3 things:
    1, the drop down menu ( which only lists auction so its very irrelevant)
    2, the general tab, which isnt needed
    3, the auction link

    I would like to remove these three items, have the auctions fields show, and make it work.

    I did modify product edit and got it to look the way I want (see pic with no tabs), unfortunatly it does not work, auction information doesnt show up on the front shop page or anywere else, basically the filled in auction info is not inputed.

    Below is my modified (aka butchered) code.

    So is there a way to remove the unneeded / drop down menu / general tab / auction tab and make it work?

    #57672
    patrick
    Participant

    Heres another pic showing the uneeded tabs / drop menu and code

    <?php
    /**
    * The template (modified version) for displaying the Product edit form
    *
    * Override this template by copying it to yourtheme/wc-vendors/dashboard/
    *
    * @package WCVendors_Pro
    * @version 1.3.2
    */
    /**
    * DO NOT EDIT ANY OF THE LINES BELOW UNLESS YOU KNOW WHAT YOU’RE DOING
    *
    */

    $title = ( is_numeric( $object_id ) ) ? __(‘Save Changes’, ‘wcvendors-pro’) : __(‘Add Product’, ‘wcvendors-pro’);
    $product = ( is_numeric( $object_id ) ) ? wc_get_product( $object_id ) : null;

    // Get basic information for the product
    $product_title = ( isset($product) && null !== $product ) ? $product->post->post_title : ”;
    $product_description = ( isset($product) && null !== $product ) ? $product->post->post_content : ”;
    $product_short_description = ( isset($product) && null !== $product ) ? $product->post->post_excerpt : ”;
    $post_status = ( isset($product) && null !== $product ) ? $product->post->post_status : ”;

    /**
    * Ok, You can edit the template below but be careful!
    */
    ?>

    <h2><?php echo $title; ?></h2>

    <!– Product Edit Form –>
    <form method=”post” action=”” id=”wcv-product-edit” class=”wcv-form wcv-formvalidator”>

    <!– Basic Product Details –>

    </div>

    <hr />

    </div>

    <?php do_action( ‘wcv_after_general_tab’, $object_id ); ?>

    <?php do_action( ‘wcv_before_inventory_tab’, $object_id ); ?>

    <!– Inventory –>

    <?php WCVendors_Pro_Product_Form::stock_status( $object_id ); ?>

    <?php do_action( ‘wcv_product_options_sold_individually’ ); ?>

    <?php do_action( ‘wcv_product_options_inventory_product_data’ ); ?>

    </div>

    <?php do_action( ‘wcv_after_inventory_tab’, $object_id ); ?>

    <?php do_action( ‘wcv_before_shipping_tab’, $object_id ); ?>

    <!– Shipping –>

    </div>

    <?php do_action( ‘wcv_after_shipping_tab’, $object_id ); ?>

    <?php do_action( ‘wcv_before_linked_tab’, $object_id ); ?>

    <!– Upsells and grouping –>

    </div>

    <?php do_action( ‘wcv_after_linked_tab’, $object_id ); ?>

    <!– Attributes –>

    <?php do_action( ‘wcv_before_attributes_tab’, $object_id ); ?>

    <?php do_action( ‘wcv_after_attributes_tab’, $object_id ); ?>

    <?php WCVendors_Pro_Product_Form::form_data( $object_id, $post_status ); ?>
    <?php WCVendors_Pro_Product_Form::save_button( $title ); ?>
    <?php WCVendors_Pro_Product_Form::draft_button( __(‘Save Draft’,’wcvendors-pro’) ); ?>

    </div>
    </div>
    </form>

    #58135
    patrick
    Participant

    Any hope for this?

    #58137
    Jamie
    Keymaster
    #58273
    patrick
    Participant

    Thank you so so much. I really appreciate it.

    The only issue, is the to and from dates arent working. When i enter I just get some weird letters, pic enclosed. I tried fixing myself but unfortunatly was unable to find a solution.

    Any help would be very appreciated.

    Thanks again.

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