WCMp Core
Tagged: wcmp_vendorslist
-
AuthorPosts
-
-
November 17, 2022 at 7:39 PM #146353
louKyLouk
ParticipantHi,
I would like to hide some content from [wcmp_vendorslist], like the address and the phones number of my vendors.
Do you have any solutions ?Thanks
-
November 18, 2022 at 7:08 PM #146398
NerdySupportExpert Moumita
Keymaster@louKyLouk, we will definitely help you out.
Can you please share a scrrenshot to explain the changes are you looking for so we can assist you accordingly.
-
November 18, 2022 at 7:30 PM #146402
louKyLouk
ParticipantThe changes I’m looking for are described by the red arrows on the screenshot.
-
November 18, 2022 at 9:44 PM #146414
louKyLouk
ParticipantTo add more precision, I’d tried to comment this code :
<div class=”vendor-header-icon”>
<div class=”dashicons dashicons-phone”>
<div class=”on-hover-cls”>
<p><?php echo esc_html($vendor_phone); ?></p>
</div>
</div>
<div class=”dashicons dashicons-location”>
<div class=”on-hover-cls”>
<p><?php echo $vendor->get_formatted_address() ? $vendor->get_formatted_address() : __(‘No Address found’, ‘dc-woocommerce-multi-vendor’); ?></p>
</div>
</div>
</div>in this file : dc-woocommerce-multi-vendor/templates/shortcode/vendor-list/content-vendor.php. But there was no effect.
So I was looking for a filter or an action to be able to do what I want.Thanks for your help
-
November 18, 2022 at 10:00 PM #146416
NerdySupportExpert Moumita
Keymaster@louKyLouk, can you please explain the flow you are looking for, so we can assist you.
-
November 18, 2022 at 10:05 PM #146417
louKyLouk
ParticipantAs I said in the first post :
“Hi,
I would like to hide some content from [wcmp_vendorslist], like the address and the phones number of my vendors.
Do you have any solutions ?Thanks”
I want to hide or complety remove what I show you on the screenshot that I already sent to you.
I’m talking about the page who is listing all my vendors, built with [wcmp_vendorslist].This page is showing all the address and phones numbers of my vendors, exactly what I want to remove or hide.
-
November 19, 2022 at 9:34 PM #146427
NerdySupportExpert Moumita
KeymasterHi, in order to remove them add this CSS in the style.css of your theme :
.mvx-store-list.mvx-store-list-vendor .mvx-vendorblocks .mvx-vendor-details .vendor-heading .vendor-header-icon { display: none!important; } .mvx-vendor-details .mvx-detail-block { display: none; }
Copy -
November 21, 2022 at 2:38 PM #146489
louKyLouk
ParticipantHi, thanks for your help, but about this solution I already found it. And this is not the convenient solution because here, with your proposed solution with CSS, the vendors informations are still accessible on the page source code (with inspect for exemple).
What I would like is to remove these from the source code, that’s why in a precedent post I talked you about this file :
dc-woocommerce-multi-vendor/templates/shortcode/vendor-list/content-vendor.phpHere, in this file, the source code of this page. How can I modify directly this file ? Maybe with “add_filter” or “add_action” ?
-
November 21, 2022 at 5:58 PM #146513
NerdySupportExpert Moumita
Keymaster@louKyLouk, you can simply override content-vendor.php template and remove those lines.
Make sure to override the template inside the child theme, so this will not be removed after updating the theme.
-
November 21, 2022 at 8:28 PM #146532
louKyLouk
ParticipantYes, Thanks, but as I said before. I already tried to override this template by comment some line inside this file, but nothing happened. Do you have any idea about why, is it the right file ?
-
November 22, 2022 at 1:49 AM #146542
NerdySupportExpert Moumita
Keymaster@louKyLouk, please do share a temporary admin, ftp access so we can check.
While sharing the access, don’t forget to mark the response as private. -
November 22, 2022 at 1:42 PM #146570
louKyLouk
ParticipantHi,
Your solution finally works I was doing something in the wrong way.
My initial problem is solved.Bye
-
November 22, 2022 at 4:36 PM #146577
NerdySupportExpert Moumita
Keymaster@louKyLouk, thanks for the update
-
May 18, 2023 at 11:55 AM #192230
Sangita Support Squad
KeymasterIt’s been a while and we have not heard back from you . We presume your query is solved now . So we are closing this thread . If you face issue in future please open a new thread .
-
-
AuthorPosts
The topic ‘[wcmp_vendorslist] details’ is closed to new replies.