Vendor store link display on single product pages

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Vendor store link display on single product pages

Viewing 4 reply threads
  • Author
    Posts
    • #54081
      hello4
      Participant

      Hello there,

      Could you please show me how to remove vendor shop links from all product loops? I have this filter on but I can’t figure out how to remove it from related products/you may also like loops.

      //Remove vendor store links from archives
      if (is_shop () || is_product_category() || is_product_tag()) {
      	add_filter( 'wcfmmp_is_allow_sold_by_label', '__return_false' );
      }

      Further, on single product pages, I would like to remove it from the default position and display it right under the product name. Please provide the function that I need to use with the ‘woocommerce_single_product_summary’ hook.

      Thanks and regards,

    • #54171
      WCFM Forum
      Keymaster

      HI,

      Please just use this –

      add_filter( 'wcfmmp_is_allow_archive_product_sold_by', '__return_false' );

      Thank You

    • #54189
      hello4
      Participant

      Hello,

      It worked. Many thanks. Could you please also show provide me the code snippet to display the store details elsewhere? For example I’ve removed all product meta from single product page, but I want to insert the store details within product summary (‘woocommerce_single_product_summary’)

      Thanks and regards,

    • #54205
      WCFM Forum
      Keymaster

      HI,

      Please check this – https://wclovers.com/knowledgebase/wcfm-marketplace-widgets-short-codes/

      There is a short code for such purpose, you may use that anywhere!

      Thank You

    • #54543
      hello4
      Participant

      Many thanks! Please feel free to close this ticket.

Viewing 4 reply threads
  • The topic ‘Vendor store link display on single product pages’ is closed to new replies.