Home Forums WC Vendors Pro Support Hide Some Things on Settings 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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16222
    dymockpoet
    Participant

    Hi,

    I want to hide the phone field on the Store Settings page:

    Store Phone

    I tried commenting out the bit in the code about Phone, but I can’t get it to work. It just prints my /* */ or //.

    <!-- Store Phone -->
    	/*	<?php WCVendors_Pro_Store_Form::store_phone( ); ?> 
    
    		<?php WCVendors_Pro_Store_Form::store_address( ); ?>   */
    #16292
    WC Vendors Support
    Participant

    Those are HTML comment tags. 😉 That wont comment PHP.

    Try:

    <?php // WCVendors_Pro_Store_Form::store_phone( ); ?>

    …etc

    The two // in front of the php will comment out PHP. 🙂

    #16359
    dymockpoet
    Participant

    Oh magic!

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