search vendor store

WCMp Vendor Staff

search vendor store Resolved

Viewing 13 reply threads
  • Author
    Posts
    • #20384
      nlschutz
      Participant

      Hi Support,
      If a buyer goes to the store of a vendor, and run a product search, it searches all the vendors, correct? Is there anyway you know so it just searches the one store?

      Thanks,
      Nan

    • #20423
      WCMp Admin
      Keymaster

      @nlschutz If the same product is sold by different vendors, in that case, from our version 2.7.6, we are treating all of the duplicate copies as related to the same product and only displaying those products by the group.

      Therefore, If Product A sold by different vendors, then in the shop page and also in the search the customers will only see one vendor’s product whose price is low amongst them and when the customers will go to that product page, they can see other vendors under the “More Offer/More Vendor” tab, you can check the same in our demo site also – http://wcmpdemos.com/addon/WCMp/product/adelia-bag-nypd-2/

      Let us know if you have any further query.

    • #20490
      nlschutz
      Participant

      Yes, I have 2 questions.
      1. My search results of the same product are displayed differently from your demo site, see attached image. It’s not showing just the cheapest product page. Any idea why? what makes your system determine it’s the same product?

      2. My original question remains. Can a buyer search for a product within a vendor’s store only, not across all vendors?

      Thanks,

      Attachments:
    • #20499
      WCMp Admin
      Keymaster

      Hi @nlschutz, Our replies are inline :

      1. My search results of the same product are displayed differently from your demo site, see attached image. It’s not showing just the cheapest product page. Any idea why? what makes your system determine it’s the same product?

      >> Please make sure you are using the updated WC Marketplace (version 2.7.8 ), and have added the same product through the process shared in the attachment. Now, if the vendor adds the product using this process, the system will automatically bind the product with the same name.
      So, kindly add a new product using this method and check whether the lowest priced product is getting displayed on the shop page and also at the time of searching.

      2. My original question remains. Can a buyer search for a product within a vendor’s store only, not across all vendors?

      >> I am afraid, there is no settings in vendor’s shop where the buyer can search a product of that vendor’s store only.

      However, by doing some custom coding you can add the search query to fetch only that vendor products using this hook “woocommerce_before_shop_loop” but make sure that you have added the hook by checking “is_tax(‘dc_vendor_shop’)” so that you can get only that vendor’s product.

      Let us know if you have any further query.

    • #20546
      nlschutz
      Participant
      This reply has been marked as private.
    • #20641
      WCMp Admin
      Keymaster
      This reply has been marked as private.
    • #21122
      nlschutz
      Participant
      This reply has been marked as private.
    • #21152
      WCMp Admin
      Keymaster
      This reply has been marked as private.
      • #21188
        nlschutz
        Participant
        This reply has been marked as private.
    • #21176
      nlschutz
      Participant
      This reply has been marked as private.
    • #21177
      WCMp Admin
      Keymaster
      This reply has been marked as private.
      • #21187
        nlschutz
        Participant
        This reply has been marked as private.
    • #21230
      WCMp Admin
      Keymaster
      This reply has been marked as private.
      • #21254
        nlschutz
        Participant
        This reply has been marked as private.
    • #21295
      WCMp Admin
      Keymaster

      @nlschutz The “woocommerce_archive_description” this adds the vendor banner and logo section in the shop page.

      Now, please use the following code to reflect the same image size as per WooCommerce settings in the vendor shop page for Storefront theme :

      add_action( 'wp_enqueue_scripts', 'enqueue_storefront_wc_css_wcmp_vendor_shop', 999 );
      function enqueue_storefront_wc_css_wcmp_vendor_shop() { 
      if (is_tax('dc_vendor_shop')) { 
      $styles = '.tax-dc_vendor_shop.woocommerce ul.products li.product a img{width:auto; margin:auto;}';
      wp_add_inline_style( 'storefront-woocommerce-style', $styles );
         }
      }
      Copy
    • #21386
      nlschutz
      Participant

      Worked great! Thanks so much!!

    • #21388
      WCMp Admin
      Keymaster

      @nlschutz Great to know that 🙂

Viewing 13 reply threads

The topic ‘search vendor store’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price