Home Forums WC Vendors Free Support HOW to eliminate the adress and the phone number of the store 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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #65598
    Aurelio Gomez
    Participant

    Hi wonderful people of WC Vendors,
    How I can eliminate the store adress and the phone from the store page. There is a black button that can call directly to the number and locate the adress in google maps.
    I’m using eStore by ThemeGrill, but just dont’ know what to do.
    Regards.

    #65633
    Anna
    Member

    Are you using Wc Vendors Pro?

    #65638
    Aurelio Gomez
    Participant

    I do have pro. I still wanna keep the info, but I don’t want to be showed up until the purchase is made.

    #65640
    Anna
    Member

    @memoaureliogmail-com
    Ok- understood. I just wanted to make sure you had Pro since this is in the “free” forum. 😉

    You’d need to modify the store-header.php template.
    Please first read this regarding modifying templates:
    https://www.wcvendors.com/kb/changing-vendor-templates/

    Now you will want to find the store-header.php template.. here:
    wp-content/plugins/wc-vendors-pro/templates/store/store-header.php

    and copy it.. then move that copy to your theme/child theme using this path:
    wp-content/themes/your-themeorchild-theme/wc-vendors/store/store-header.php

    Now you can modify it.

    The modification you will need to make:
    GO to lines 47-55. You’ll see this:
    https://gist.github.com/fervous/3e24e42cb97c2bf8c9f4302feceeddf0

    You need to “comment out” each of those lines. that means you will add // at the beginning of each line. when you are finished, lines 47-55 should look like this:
    https://gist.github.com/fervous/ab983efd96cd197a460967ad06b7925d

    That should do it!

    #66265
    Aurelio Gomez
    Participant

    thank you, but there is no path in my theme (shopme). What can I do? Where shoud I put the code in my theme?
    Regards

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