search vendor store
Home / Topic / WCMp Vendor Staff / search vendor store
WCMp Vendor Staff
search vendor store Resolved
- This topic has 16 replies, 2 voices, and was last updated 3 years, 2 months ago by
WCMp Admin.
-
AuthorPosts
-
-
November 28, 2017 at 6:49 PM #20384
nlschutz
ParticipantHi 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 -
November 29, 2017 at 3:42 AM #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.
-
November 29, 2017 at 10:48 PM #20490
nlschutz
ParticipantYes, 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:
-
November 30, 2017 at 2:38 AM #20499
WCMp Admin
KeymasterHi @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.
Attachments:
-
November 30, 2017 at 8:50 PM #20546
nlschutz
ParticipantThis reply has been marked as private. -
December 2, 2017 at 7:58 AM #20641
WCMp Admin
KeymasterThis reply has been marked as private. -
December 11, 2017 at 11:28 PM #21122
nlschutz
ParticipantThis reply has been marked as private. -
December 12, 2017 at 6:24 AM #21152
WCMp Admin
KeymasterThis reply has been marked as private. -
December 12, 2017 at 10:35 AM #21176
nlschutz
ParticipantThis reply has been marked as private. -
December 12, 2017 at 10:54 AM #21177
WCMp Admin
KeymasterThis reply has been marked as private. -
December 13, 2017 at 3:56 AM #21230
WCMp Admin
KeymasterThis reply has been marked as private. -
December 14, 2017 at 4:44 AM #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 -
December 15, 2017 at 8:24 AM #21386
nlschutz
ParticipantWorked great! Thanks so much!!
-
December 15, 2017 at 8:44 AM #21388
WCMp Admin
Keymaster@nlschutz Great to know that 🙂
-
-
AuthorPosts
The topic ‘search vendor store’ is closed to new replies.