Home Forums WC Vendors Pro Support products do not appear in vendor shop

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 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #41774
    Dietrich & Susanne
    Participant

    Good morning (in germany ) !

    We have a new problem: vendor products do not appear in the relevant vendorshop.

    For example: http://landshop-holstein.de/Anbieter/hochwald-kellerei/

    Why?

    best regards, Susanne

    #41804
    Anna
    Member

    Could you please make sure that you have your product page display set to: PRODUCTS and not CATEGORIES.
    Do this by going to: wp admin > WooCommerce > settings > Products (tab) > display (sub-navigation) and then see the option: Shop Page Display. Select SHOW PRODUCTS

    #41811
    Nofski
    Participant

    or use that good bit of code provided by one of the members to allow you to display categories on shop page and products on vendors.

    #41838
    Dietrich & Susanne
    Participant

    Hello Nofski,

    thank you for that idea! Please give us the code or a link to to the code.

    thank you very much in advance

    Susanne

    #41840
    Nofski
    Participant

    <?php $vendor_shop = urldecode( get_query_var( ‘vendor_shop’ ) );
    $vendor_id = WCV_Vendors::get_vendor_id( $vendor_shop );
    if ( !$vendor_id ) {
    woocommerce_product_subcategories();
    } ?>

    thats the code – some awesome member added into one of the forum posts. just tried to find it but I couldnt thats up to you. I have that code pasted in the archive page and it works

    #41849
    Dietrich & Susanne
    Participant

    Very nice.

    Thanks for your assistence, Nofski and Anna.

    Do you have any idea where to put the code in the file? At the beginning, at the end? Somewhere inbetween? Anywhere? Instead of something?

    We both are no php-programmers. Any hint would help.

    Dietrich

    #41852
    Nofski
    Participant

    find it in the forum

    #41869
    Dietrich & Susanne
    Participant

    find it in the forum

    Fantastic idea. Did it, done it, maybe it works. Susanne will inform us tomorrow. (She is the girl with the server access.)

    Thank you again for your help. And also for voting me down. Living on the countryside sometimes my brain is kind of slow. Punishing me is the only way to teach me something.

    dtm

    #41900
    Anna
    Member

    Dietrich,
    I actually do not know what code @nofski is referring to.
    It most likely would need to be placed in your theme (or child theme) functions.php file.

    I do not know if it works or not. If not, then please go to wp admin > WooCommerce > settings > Products (tab) > display (sub-navigation) and then see the option: Shop Page Display. Select SHOW PRODUCTS
    And see if that solves your issue with the vendor store pages not showing the products correctly.

    #41934
    Dietrich & Susanne
    Participant

    Hello Anna,

    we did what you told us and it works.

    The code that @nofski showed us will do more.

    You have vendor products on the vendor shop page and product categories on the main shop page.

    I think this is what we want. So we test this later today. We putted the code into the archive-product.php. replacing

    <?php woocommerce_product_subcategories(); ?>

    dtm

    #41963
    Anna
    Member

    I’m glad that the code worked for you to allow you to present those pages as needed.

    #42026
    Dietrich & Susanne
    Participant

    Susanne told me it works now as we wanted with the code @nofski showed us.

    Case closed. Thank you again for your assistance!

    dtm

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