show the only one product for many vendors

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Feature Request show the only one product for many vendors

This topic contains 17 replies, has 3 voices, and was last updated by WCFM Forum WCFM Forum 6 days, 6 hours ago.

  • Author
    Posts
  • #77213
    Avatar
    mahdi.alajwadi76
    Participant

    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.

  • #77474
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #77547
    Avatar
    mahdi.alajwadi76
    Participant

    Hi Sir,

    i did that and added this code into child theme but i still see the duplicated product in my website.

  • #77804
    WCFM Forum
    WCFM Forum
    Keymaster

    Hi,

    Please add code using this plugin and check once – https://wordpress.org/plugins/code-snippets/

    Thank You

  • #78046
    Avatar
    mahdi.alajwadi76
    Participant

    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.

  • #78794
    WCFM Forum
    WCFM Forum
    Keymaster

    This should be default snippet – PHP snippet.

    You just “Add New” and add that.

    Thank You

  • #79020
    Avatar
    mahdi.alajwadi76
    Participant

    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 ?

  • #79532
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #79560
    Avatar
    mahdi.alajwadi76
    Participant

    hi again ,

    i use electro theme :

    https://demo2.madrasthemes.com/electro/

    i see the double products in both front page and shop woocommerce page.

  • #79681
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #79683
    Avatar
    mahdi.alajwadi76
    Participant

    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 :

    https://www.harej.net/product/%d9%85%d8%a7%d9%88%d8%b3-%d8%a7%d9%84%d8%b9%d8%a7%d8%a8-logitech-g900-3/

    is duplicated two times

  • #79945
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #80005
    Avatar
    mahdi.alajwadi76
    Participant

    sorry , check now i add you IP

  • #80575
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #80617
    Avatar
    mahdi.alajwadi76
    Participant

    thanks , so no way till the next update ?

  • #80799
    WCFM Forum
    WCFM Forum
    Keymaster

    Yeah.

  • #94331
    Avatar
    adi
    Participant

    any updates for this ?

  • #96458
    WCFM Forum
    WCFM Forum
    Keymaster

    It’s already implemented in WCFM Marketplace last update.

You must be logged in to reply to this topic.