Hiding Sold by Image

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!

Viewing 7 reply threads
  • Author
    Posts
    • #51842
      Jade
      Guest

      Hi there,

      I am trying to hide the vendor image under the product after “Sold by” but unsuccessful (https://ibb.co/rsCjKnb). I was able to hide the label successfully (.wcfmmp_sold_by_label) but it’s not working for the image. Any thoughts why that may be?

      I’m using CSS to achieve that:

      .wcfmmp_sold_by_logo {
      display:none!important;
      }

      Thank you!

    • #51876
      WCFM Forum
      Member

      Hi,

      Please do not use CSS, better add this line to your child theme’s functions.php –

      add_filter( 'wcfmmp_is_allow_sold_by_logo', '__return_false' );

      Thank You

    • #51888
      Jose
      Participant

      Hi,

      Can I ask you aditional info here.

      I’m glad to know about this filter, but can you tell me how to hide “store:” too ?
      I want to show only the name of store.

      Thank you,

    • #51890
      Jade
      Guest

      Hi – thank you for the snippet however it is breaking my site – it says syntax error, unexpected $EOF. Also why do you not recommend CSS? Thank you

    • #51929
      WCFM Forum
      Member

      Hi,

      Where you have added this code? Please show me screenshot!

      Well, CSS does not work for all browsers and device.
      More importantly, if you don not logo then why you should load all store logos in archive page? It will increase page size and will take more time to load!

      Thank You

    • #52033
      Jose
      Participant

      Hi, In my case I don’t show logo store in every product because I use simple template and it’s too small.
      For me will be ok only store name.

      Can you help me to hide “sold by:” ?

      thank you

    • #52096
      WCFM Forum
      Member

      HI,

      Please use this –

      add_filter( 'wcfmmp_is_allow_sold_by_label', '__return_false' );

      Thank You

    • #52105
      Jose
      Participant

      Thank so much !!

      Regards,

Viewing 7 reply threads
  • The topic ‘Hiding Sold by Image’ is closed to new replies.