Home Forums WC Vendors Pro Support Remove vendor name from product thumbnail

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #58462
    Luca Spanjaard
    Participant

    Dear Madam/Sir,

    For some reason the name of the vendor of a product is displayed on the product thumbnail.

    The vendor names are erroneously displayed on the thumbnail both in the standard WooCommerce product carrousels on the homepage, as on a template specific product overview filter here.

    Instead of displaying the vendor name on the thumbnail, I’d like to display the vendor name in between the price and the product name, below the thumbnail.

    I was wondering if you could help me with this.

    Thanks in advance,

    Luca Spanjaard

    #58508
    Anna
    Member

    Hello,
    We use the WooCommerce action hook: woocommerce _after_shop_loop_item for the product loop sold by.
    Your theme has modified these hooks quite a bit- notice how the add to cart and other items show on the product image when you hover over the image; that is why the sold by is not showing on the product image. I do not know if they have modified any other hooks for the loop as well.
    Please ask your theme author if they would assist you with some code for your functions.php or at least provide you with the hook that we’d need to have it show near the price rather than up on the product image where they have moved this..

    #59631
    Luca Spanjaard
    Participant

    Hi Anna,

    Thank you for your reply. The developers have solved the issue and the vendor names are now displayed at the correct place.

    However, there is still another issue, which the developers say they can solve if they know the code’s CSS location.
    On our homepage (www.brewto.eu) we have two product carrousels, which also display the vendor names.
    However, the vendor names only display when hovered upon. Otherwise they’re not visible.

    The developers want to know where this CSS code is located, so they can change this.

    With kind regards,

    Luca

    #59703
    Anna
    Member

    Hello,
    Try this in your theme or child theme’s style.css file:

    small.wcvendors_sold_by_in_loop > a {
    color:#efa91c !important;
    }
    small.wcvendors_sold_by_in_loop > a:hover {
    color:#bbb !important;
    }
    #61241
    Luca Spanjaard
    Participant

    That fixed it! Thanks

    #61300
    Anna
    Member

    Glad that resolved the issue. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.