Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Duplicate Products In My Shop page / Product Category Page
- This topic has 2 replies, 2 voices, and was last updated 5 years, 2 months ago by WCFM Forum.
- AuthorPosts
- July 29, 2019 at 8:01 am #74323Ishan JaiswalParticipant
Greetings,
I have recently enabled “Single Product Multi-Vendor” option in one of my store. When a vendor adds a product to their store, it creates an additional product that is visible in my Shope page / Product Category Page. This is a very unreasonable situation because it does not look good when there are 2 exact same products with the same image side-by-side.
There is a tab named “More Offers” so if that is there I don’t see a reason for there being duplicate products on the store.
Is there an option to hide duplicate products from Shop pages?
- August 1, 2019 at 5:59 am #74693Ishan JaiswalParticipant
Greetings,
It has been a couple of days, Kindly respond to this mail at your earliest possible time.
- August 3, 2019 at 4:52 am #74906WCFM 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
- AuthorPosts
- You must be logged in to reply to this topic.