- This topic has 4 replies, 3 voices, and was last updated 11 months, 1 week ago by
Anushka Sinha.
-
AuthorPosts
-
-
July 8, 2025 at 8:36 PM #248353
l.gan
ParticipantHello
in the file shop-front.php there are lines with 272 – 283
<?php if (apply_filters('is_vendor_add_external_url_field', false)) { ?> <div class="col-md-6"> <input class="no_input form-control inp-btm-margin" type="text" placeholder="<?php _e('External store URL', 'multivendorx'); ?>" name="vendor_external_store_url" value="<?php echo isset($vendor_external_store_url['value']) ? $vendor_external_store_url['value'] : ''; ?>"> </div> <div class="col-md-6"> <input class="no_input form-control" inp-btm-margin" type="text" placeholder="<?php _e('External store URL Label', 'multivendorx'); ?>" name="vendor_external_store_label" value="<?php echo isset($vendor_external_store_label['value']) ? $vendor_external_store_label['value'] : ''; ?>"> </div> <?php } ?>But I don’t see how to enable this in the vendor settings, this line is also not visible in the vendor dashboard – Storefront.
Where can I enable this option? I need to display a link to the official vendor website in its catalog.I tested this with the Storefront theme,
with third-party plugins disabled. -
July 8, 2025 at 9:30 PM #248354
Sangita Support Squad
KeymasterHi there, Thanks for reaching out. I will share this with the Dev team and keep you posted about the update.
Thank you for your understanding.
-
July 9, 2025 at 11:53 AM #248359
Anushka Sinha
ModeratorHi there!
Thank you for your patience.
We’ve tested the flow on our end by adding the code snippet to the functions.php file, and everything seems to be working as expected. Here’s a reference screenshot: https://snipboard.io/lUKyhY.jpg
To enable the External Store URL field in the Vendor Dashboard, simply follow these steps:
– Go to your WordPress Dashboard.
– Navigate to: Appearance > Theme File Editor > functions.php
– Add the following line at the bottom of the file:
add_filter('is_vendor_add_external_url_field', '__return_true');
Once added, the External Store URL and Label fields will appear in the vendor storefront settings.
Let us know if you need further assistance! -
July 9, 2025 at 5:23 PM #248366
l.gan
ParticipantThank you, my issue is resolved
-
July 9, 2025 at 5:29 PM #248368
Anushka Sinha
ModeratorGlad to hear it! Let us know if there’s anything else we can help you with.
-
-
AuthorPosts
- The topic ‘How to enable External store URL field (shop-front.php)?’ is closed to new replies.




