Home Forums WC Vendors Free Support Switching position of shop description

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
  • #15360
    anthony
    Participant

    Hello, thank you again for providing this free support and I love wc_vendors :). In the individual vendors page (mydomain/vendors/bob) I am trying to place the shop description between the product display and the footer. I have made a copy of vendor-main-header.php and archive-products in my child theme and I have been trying to edit them but I cant figure out how to make the vendor-main-header.php $shop description echo to be repositioned at the bottom.

    Any help greatly appreciated 🙂

    Anthony

    #15365
    WC Vendors Support
    Participant

    Hi Anthony,

    This would be rather complex, since the shop page hooks into the archive-products.php file. You’d have to tweak WooCommerce’s or your themes archive-products.php file and interrupt the loop for products, hook into it in the middle, and then restart the loop later. It’s going to be hell, but it can be done with some blood sweat and tears. 😉 This one is all you, of course. 😉

    Cheers

    Ben

    #15367
    anthony
    Participant

    Well that sounds pretty challenging but ill give it a try! Just a quick tip though, can I echo $seller_info from within the woocommerce file?

    #15370
    WC Vendors Support
    Participant

    Those variables are only for the templates in which they are called. They arent global variables. You’d want to get_user_meta for the vendor ID and then pull down the shop description meta key for the right value.

    #15373
    anthony
    Participant

    Thanks a lot! When I do it ill post the solution

    #15375
    WC Vendors Support
    Participant

    Awesome. Contributions always welcome! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.