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, 2 months ago by
WCFM Forum.
- AuthorPosts
- August 18, 2019 at 3:43 pm #77213
mahdi.alajwadi76
ParticipantHi, 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 #77474
WCFM Forum
MemberHi,
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 #77547
mahdi.alajwadi76
ParticipantHi 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 #77804
WCFM Forum
MemberHi,
Please add code using this plugin and check once – https://wordpress.org/plugins/code-snippets/
Thank You
- August 23, 2019 at 4:20 pm #78046
mahdi.alajwadi76
Participanti 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 #78794
WCFM Forum
MemberThis should be default snippet – PHP snippet.
You just “Add New” and add that.
Thank You
- August 29, 2019 at 4:44 pm #79020
mahdi.alajwadi76
Participanthi , 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 #79532
WCFM Forum
MemberHi,
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 #79560
mahdi.alajwadi76
Participanthi 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 #79681
WCFM Forum
MemberHi,
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 #79683
mahdi.alajwadi76
Participanthi 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 #79945
WCFM Forum
MemberHI,
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 #80005
mahdi.alajwadi76
Participantsorry , check now i add you IP
- September 7, 2019 at 11:19 am #80575
WCFM Forum
MemberHi,
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 #80617
mahdi.alajwadi76
Participantthanks , so no way till the next update ?
- September 9, 2019 at 11:47 am #80799
WCFM Forum
MemberYeah.
- November 28, 2019 at 7:39 am #94331
adi
Participantany updates for this ?
- December 7, 2019 at 2:59 pm #96458
WCFM Forum
MemberIt’s already implemented in WCFM Marketplace last update.
- AuthorPosts
- You must be logged in to reply to this topic.