Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

display vendor widgets on the product page

WCMp Core

Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #131187
      l.gan
      Participant

      Hello
      thanks for the great plugin and support!

      Tell me how can I display these widgets not only on the vendor’s store page, but also on the product page?
      Explanation1: I only need the vendor page and the product page, but not the store page.
      Explanation2: I have one sidebar for the store page and for the vendor page. – and everything works perfectly: what I see on the vendor’s page is hidden on the store’s page. But I have a separate sidebar for the product page, and it would be really great to display the top sell on the product page.

      thanks

    • #131242

      Hi, thank you for getting in touch with us.
      By default the widgets WCMp Vendor’s Recent Product and WCMp Vendor’s On Sale product is displayed in vendor’s shop page,
      In order to display these widgets on product page, you have to do code on your end.
      The widget WCMp product by Ratings also by default displays in vendor’s shop page. However to display the widget WCMp Product by Ratings on single product product page add the following hook/filter in function.php of your current active theme.

      add_filter( ‘wcmp_vendor_top_rated_products_widget_shows_only_vendor_shop’, ‘__return_false’ );

    • #131279
      l.gan
      Participant

      Thank you very much for the code, it works! Can only the top be displayed? How do I name the fields for the “vendor on sale” and “coupons” and “vendor recent products” widgets?

      Will the values ​​be correct for the above widgets?

      add_filter( ‘wcmp_vendor_on_sale_products_widget_shows_only_vendor_shop’, ‘__return_false’ );
      add_filter( ‘wcmp_vendor_recent_products_widget_shows_only_vendor_shop’, ‘__return_false’ );
      add_filter( ‘wcmp_vendor_coupons_widget_shows_only_vendor_shop’, ‘__return_false’ );

      _____________
      Is there a way to display values ​​randomly?

      For example: Currently 8 values ​​are displayed in the widget. The widget is displayed in 30 single product pages. And if, on each page, they at least changed their positions in places, this would create the effect of dynamics and a wide offer. And if, in general, these 8 positions were random and gave different content, it would be amazing. Is it possible?

      Thanks so much for all the help your team has given me.

    • #131350

      Hi,

      -Is there a way to display values ​​randomly?

      >> Kindly share screenshot or video to explain what exact flow you are looking for.

    • #131374

      Hi,
      The code you have shared, these filters are not available in our plugins. So it will not work. You have to add those filters as an apply filters format then only it will work.
      Thanks

    • #131378
      l.gan
      Participant

      I understood. But unfortunately I am not a programmer and I cannot do it. Thanks for your information and feedback.
      _____

      The widget WCMp product by Ratings:
      Regarding the display of widget products, ranking – this means showing different values in the widget each time the page is loaded. For example, so that they appear in a chaotic manner.

      And one more nuance: how can I exclude the display of a product if I am already on its page. This leads to the link looping. Cyclic links are bad for SEO. At least that’s what they say 🙂

      In any case – I think that if the widget does not display the current product (on the page of which the buyer is already located), it would be a great user experience.

      for example: I am on the single product page: “Red hat” from the venbor name – “WCMP”. an example of a photo I will send with the following message in the covered. And in the recommendation sidebar, I see the same product. Can you fix this somehow?

      and as always: plugin team – thanks for your work and support.

    • #131379
      l.gan
      Participant
      This reply has been marked as private.
    • #131416

      Hi,
      Can you please share a full pictures of this page. so we will checkout the same and let you know.

      Regards,

    • #131421
      l.gan
      Participant
      This reply has been marked as private.
    • #131467

      Hi,
      For now WCMp does not have any functionality to remove the viewed product from the product by rating widget.

      If you want to do then you have add custom code to create a new widget as per your requirement.

      Regards,

Viewing 9 reply threads

The topic ‘display vendor widgets on the product page’ is closed to new replies.