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

Display current author’s vendor store page

Resolved
Viewing 12 reply threads
  • Author
    Posts
    • #238328
      willalaw
      Participant

      Greetings.
      Is it possible to display a button that automatically links to the current post author’s vendor store page?

    • #238329

      Hi @willalaw, Thanks for reaching out. On the single product page, if the product belongs to a vendor, the “Sold by” option appears with a link to the vendor’s store page. You can see this in action on the product page here – https://cus.dualcube.com/mvx1/product/beanie-with-logo/.

      Now if you’re referring to something different, please provide more details, and we’ll be happy to assist you further.

    • #238385

      Hi There, Let us know if you need any further assistance from our end. We are always there to assist you with your queries.

    • #238405
      willalaw
      Participant

      I mean vendors could publish posts on their own and there are multiple vendors. I want to display the current post author’s vendor store page dynamically.

    • #238407

      @willalaw, Thank you for getting back to us!

      With our plugin, MultiVendorX, you as the admin have the flexibility to assign various capabilities to vendors, such as adding and publishing products, managing coupons, and much more. You can learn more about these capabilities in detail here:https://multivendorx.com/docs/knowledgebase/product-management-capability/. Also unlimited number of vendors can register on your site.

      Additionally, by enabling the “Display product seller” setting, you can showcase the vendor’s name as the seller on product pages. This “Sold by” label links directly to the vendor’s store page. You can see an example of this feature in action here: https://cus.dualcube.com/mvx1/product/beanie-with-logo/.

      If you have any further questions or need additional assistance, please don’t hesitate to let us know.

    • #238413
      willalaw
      Participant

      I’m sorry for not being clear earlier. I didn’t mean the pages related to products and WooCommerce showing their sellers, but rather that sellers can publish their own custom posts (such as blogs or articles), and I would like to display their store URLs within their custom posts.

    • #238414

      @willalaw, Thank you for sharing the details about your requirement. Our team is currently working on adding the capability for vendors to create posts from their end. We expect to roll out this functionality in our next 1-2 updates.

      We appreciate your understanding, and please feel free to reach out if you need any further assistance from us.

    • #238510
      willalaw
      Participant

      Thanks for providing the news about that function. However, the important thing is I want to have dynamic URLs of the Vendor store page.
      1. Is vendor a Custom Post Type?
      2. If it is, what variable could be used to query?

    • #238514

      @willalaw, Thank you for getting back to us. The vendor shop page is a custom taxonomy page. Now could you please clarify the specific query you’re referring to? This will help us assist you more effectively.

      Looking forward to your response!

    • #238536
      willalaw
      Participant

      Let me explain again. I want to create a button on my custom post type (creator) page that links to the store page. The author of that post and the author of the store page are the same person.

      So, I want to first get the author ID, then use the author ID to get the vendor ID and its dynamic URL. I currently have two methods in mind:

      1. Use the MultiVendorX REST API to get the vendor ID. However, I found that it is encrypted. Is there a way to obtain the vendor ID without going through consumer_key:consumer_secret?
      2. I looked at the source code and found the get_userdata function. I want to know what parameters it can use to retrieve the current author’s vendor ID.

    • #238546

      Hi there, Thanks for sharing your requirement in detail. Please provide us some time to check and we will get back to you accordingly.

    • #238614

      Hi there, You can get the vendor id from the shop page by following the below code.

      $vendor_id = mvx_find_shop_page_vendor();
      $vendor = get_mvx_vendor($vendor_id);

      Let us know if you need any further assistance from our end.

    • #240147

      It’s been a while, and we haven’t heard back from you. We assume your issue has been resolved, so we are closing this thread.

      If you need any assistance in the future or face any issues, please feel free to create a new support thread.

Viewing 12 reply threads
  • The topic ‘Display current author’s vendor store page’ 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