This topic contains 7 reply and 2 voices, and was last updated by Nayem 4 years, 1 month ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
September 7, 2015 at 2:27 pm 70772
Nayem how can i hide all the seller details so that buyer couldnt contact them directly. like in their store page where all the details are reveal.
September 8, 2015 at 10:50 am 70890
Nayem Nayem

Hello Brandon,

Please open dokan/templates/store-header.php. In this file you will get this code-

<?php if ( isset( $store_info['address'] ) && !empty( $store_info['address'] ) ) { ?>
                    <li class="dokan-store-address"><i class="fa fa-map-marker"></i>
                        <?php echo dokan_get_seller_address( $store_user->ID ); ?>
<?php } ?>

To remove address from the store you have to delete this code.


September 16, 2015 at 12:14 am 71957
Brandon Brandon

ok i’ve been able to delete other info but left the social media that i dont know which code to delete.
can you tell me.

September 16, 2015 at 6:37 pm 72077
Nayem Nayem

In the same page you will get those codes-

<?php if ( $social_fields ) { ?>
                <ul class="store-social">
                    <?php foreach( $social_fields as $key => $field ) { ?>
                        <?php if ( isset( $store_info['social'][ $key ] ) && !empty( $store_info['social'][ $key ] ) ) { ?>
                                <a href="<?php echo esc_url( $store_info['social'][ $key ] ); ?>" target="_blank"><i class="fa fa-<?php echo $field['icon']; ?>"></i></a>
                        <?php } ?>
                    <?php } ?>
<?php } ?>

Remove these codes.

September 17, 2015 at 1:44 pm 72189
Brandon Brandon

how can i do it permanently as i notice once i upgrade to the latest version i need to do this again.
and also how to hide the contact seller form?

September 17, 2015 at 1:54 pm 72191
Nayem Nayem

You have to create a folder in your child theme in this order dokan/templates then paste the store-header.php file in the templates folder. Now, you will be able to override the template file through your child theme.

I am marking this topic as resolved.


September 17, 2015 at 2:17 pm 72201
Brandon Brandon

i’ve done so but i can’t find the store-header.php file when i’m in appearance/editor. unless i copy the file directly under the child theme folder then i should be able to see.

September 17, 2015 at 2:48 pm 72209
Nayem Nayem

Template file will not show in the appearance->editor. So you have to work through FTP or cpanel.

Viewing 7 Posts - 1 through 7 (of 7 total)