Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › show the only one product for many vendors
Tagged: multi-vendor, product
- This topic has 17 replies, 3 voices, and was last updated 5 years ago by WCFM Forum.
- AuthorPosts
- August 18, 2019 at 3:43 pm #77213mahdi.alajwadi76Participant
Hi, i can copy products and its show in my shop as two same product but for two vendors, how can make it just one product and inside it can choose the vendor and make the shop choose the less price of them directly? such like Amazon.
- August 20, 2019 at 8:48 am #77474WCFM ForumMember
Hi,
Please add this line to your site –
add_filter( 'wcfm_is_allow_product_loop_duplicate_hide', '__return_true' );
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/Thank You
- August 20, 2019 at 2:31 pm #77547mahdi.alajwadi76Participant
Hi Sir,
i did that and added this code into child theme but i still see the duplicated product in my website.
- August 22, 2019 at 3:53 pm #77804WCFM ForumMember
Hi,
Please add code using this plugin and check once – https://wordpress.org/plugins/code-snippets/
Thank You
- August 23, 2019 at 4:20 pm #78046mahdi.alajwadi76Participant
i did that, but which type of snippet i should use HTML shortcode, CSS snippet, JavaScript snippet, snippets by name ? i create snippet by name and put the code you provide me but nothing happened.
- August 28, 2019 at 5:02 pm #78794WCFM ForumMember
This should be default snippet – PHP snippet.
You just “Add New” and add that.
Thank You
- August 29, 2019 at 4:44 pm #79020mahdi.alajwadi76Participant
hi , i did as you suggest , create new snippet as php and add the code :
add_filter( ‘wcfm_is_allow_product_loop_duplicate_hide’, ‘__return_true’ );
save and activate , then go the my web site the double produce still there , what can i do ?
- September 2, 2019 at 4:46 am #79532WCFM ForumMember
Hi,
Which theme you are using for the site?
then go the my web site the double produce still there
– Where you are checking? Under WooCommerce Shop page or at some other areas?
Thank You
- September 2, 2019 at 8:13 am #79560mahdi.alajwadi76Participant
hi again ,
i use electro theme :
https://demo2.madrasthemes.com/electro/
i see the double products in both front page and shop woocommerce page.
- September 2, 2019 at 3:56 pm #79681WCFM ForumMember
Hi,
Well, you will see all products under wp-admin -> Products listing and WCFM Products listing
That code is for hiding duplicate products from site products listing, as shop page.
I don’t see any duplicate product here – https://demo2.madrasthemes.com/electro/shop/
Thank You
- September 2, 2019 at 4:15 pm #79683mahdi.alajwadi76Participant
hi sir ,
you checked the demo of the theme i used but you dont check my website .
please check my web site http://www.harej.net you see the this product :
is duplicated two times
- September 4, 2019 at 7:55 am #79945WCFM ForumMember
HI,
I am not able to access your site. It’s 403 – https://ibb.co/3kFsJdW
If it require IP allow, then here is my IP – 103.88.217.104
Thank You
- September 4, 2019 at 11:12 am #80005mahdi.alajwadi76Participant
sorry , check now i add you IP
- September 7, 2019 at 11:19 am #80575WCFM ForumMember
Hi,
Thanks, it’s not showing duplicate products in shop page – https://www.harej.net/shop-2/?orderby=date
But visible in theme’s custom widgets. We will take care of this in next update.
Thank You
- September 7, 2019 at 3:31 pm #80617mahdi.alajwadi76Participant
thanks , so no way till the next update ?
- September 9, 2019 at 11:47 am #80799WCFM ForumMember
Yeah.
- November 28, 2019 at 7:39 am #94331adiParticipant
any updates for this ?
- December 7, 2019 at 2:59 pm #96458WCFM ForumMember
It’s already implemented in WCFM Marketplace last update.
- AuthorPosts
- You must be logged in to reply to this topic.