Home Forums WC Vendors Pro Support Add "Sold by VENDOR" Under Product Title

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
  • #70310
    Mark Risley
    Participant

    I want to add the “Sold by INSERT VENDOR HERE” underneath the woocommerce product title sitewide. How can I do this? I had this before but I think that was a feature from Woocommerce Product Vendors.

    #70344
    Anna
    Member

    Hello Mark,
    This should work- I just wrote and tested this, and with the 6 priority it shows beneath the product title in Storefront theme (put this in your child theme functions.php):
    https://gist.github.com/fervous/199b00fa508c665265fd76159c2c8302

    #70449
    Mark Risley
    Participant

    @fervous Is there any way to get it to display below the title on places like the woocommerce widgets? I have a picture of where I am specifically wanting it.

    #70501
    Anna
    Member

    @mrisley
    AhhI see- with the way it was worded I though you were asking for the sold by to show under the product title on the product page. The code I gave you will show it on the product page under the product title. You’re asking for the product loop sold by.
    that normally is shown for all products int he product loop.

    I just looked at your site- I cannot figure out what is going on with the product loop– it is very different from the standard WooCommerce.

    The images you showed me int he screenshot are within a carousel or something–

    Honestly since I cannot even right click and inspect the elements (it will not allow right click on your site) I do not know where to start– could you please ask your theme author if they can help you show the woocommerce hook woocommerce_after_shop_loop_item for your products in the product loop? We use that hook to show the sold by for the product/shop pages

    #70698
    Mark Risley
    Participant

    @fervous The code you gave me did do part of what I wanted, thank you for that!

    The product loop I’m using isn’t stock to WooCommerce. It’s a plugin called Woo Carousel.

    I’ve opened up the right click so you can inspect the element, let me know what you find on that! Will I need to ask my theme author about the hook or ask the plugin creator?

    #70740
    Anna
    Member

    @mrisley
    Mark,
    For the carousel, you’ll need to talk with the plugin author of that carousel plugin.
    For the rest of the WooCommerce product views– you’d need to talk with the theme author.
    Upon inspection it looks like they (theme authors) have used a unique design and with their own classes– so I am not sure how to add the sold by to those areas, as it doe snot even appear to be the regular WooCommerce template structure anymore. Possibly they can coming from page builder… I could not quite tell.
    (you can turn the right click off again if needed — thanks!). 🙂

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