• Resolved tnub94

    (@tnub94)


    Hello!

    Like the title says, I am looking for a way to re-direct product pages from a certain vendor or for certain products, but not the rest. Basically, I want to host the majority of products on my site and allow customers to buy them on my site – the way WC Vendors is intended to function.

    But one of my large vendors wants to control the the purchasing process for their products. Is there a way for me to have normal product pages for that vendor’s products on my site, so that they’re listed properly, appear in product search results, etc. but when the thumbnail image for the product is clicked it re-directs to that product’s page on the vendor’s website (instead of the product page on my site)?

    Being able to re-direct specific products or all products from a specific vendor to their external pages would be hugely helpful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jamie

    (@digitalchild)

    Hi @tnub94

    Yes you can do this, the easiest way is to make their products external/affiliate. Then you can set the text for the button and the url the button will redirect to. This is just a normal WooCommerce product. You could then hook into the product images so that when an image is clicked it also follows that external link.

    A quick google search found a few results that will be able to help you with that bit of code.

    cheers,

    Jamie.

    Hi @digitalchild quick follow-up question. I just realized that the vendor in question has a REST API that allows affiliates to pull product information, etc since the vendor has 1,000+ products and re-creating them all as external products on my site would probably be an absurd task.

    From what I’ve seen, it looks like WooCommerce is set up to be used with REST APIs. To use that vendor’s API with WC Vendors, would I just not set them up as a vendor and instead let their API interface with WooCommerce directly?

    Or is there a way to use the API, WooCommerce, and WC Vendors all at once – so that the vendor is still treated as a user, has a vendor page, etc. but all of their products are imported by the API instead of created one-by-one on my site?

    Hopefully I phrased that properly. I’m just looking for a way to import products and product data from this specific vendor’s external site, while still having their products displayed seamlessly beside products from other vendors that were created on my site.

    Plugin Author Jamie

    (@digitalchild)

    Hi @tnub94

    Apologies for the delay, it seems our rss alert system is failing us! We currently don’t hook into the WooCommerce REST API at this time. So although you could import the products via the rest api they would all be assigned to the marketplace not the admin. We are currently planning our REST API but we don’t have a timeline for when this will be finished as of yet.

    cheers,

    Jamie.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.