Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.x
Multi-store. Franchise. Facilitator. AI tools.
Everything your marketplace needs - now in one platform.
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

-
DAYS
-
HOURS
-
MINUTES
-
SECONDS
20% Off Is Temporary. The Benefits Aren't.

HAPPY20

MultiVendorX Colored Logo

Join the MultiVendorX Facebook Community

Contact, share, and grow with thousands of MultiVendorX users around the world.

How to enable External store URL field (shop-front.php)?

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #248353
      l.gan
      Participant

      Hello

      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.

    • #248354

      Hi 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.

    • #248359
      Anushka Sinha
      Moderator

      Hi 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!

    • #248366
      l.gan
      Participant

      Thank you, my issue is resolved

    • #248368
      Anushka Sinha
      Moderator

      Glad to hear it! Let us know if there’s anything else we can help you with.

Viewing 4 reply threads
  • The topic ‘How to enable External store URL field (shop-front.php)?’ is closed to new replies.
Shopping Cart
Launch Your Marketplace
in Days, Not Month
Get expert guidance to build, scale, and grow your MultiVendorX marketplace
Book Free Strategy Call
Trusted by 10000+ marketplace Owners
Scroll to Top