Home Forums WC Vendors Pro Support Vendor Page issue

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
  • #10154
    Eric
    Participant

    Hey guys, thanks so much for getting out the update so quickly. It resolved the fatal error I was getting previously. Everything seems to be working for me now except the Vendor Pages are showing me this:


    WCVendors_Pro_Store_Controller::$store_slug, 'name' => $vendorstore, 'posts_per_page' => 1, 'post_status' => 'publish', ); $store_query = new WP_Query( $store_args ); while ( $store_query->have_posts() ) : $store_query->the_post(); $vendor_id = $store_query->post->post_author; wc_get_template( 'single-store-header.php', array( 'store_query' => $store_query ), 'wc-vendors/store/', plugin_dir_path( dirname(__FILE__) ) . '/store/' ); endwhile; ?>
    Customer Ratings'; // Vendor Ratings $vendor_feedback = WCVendors_Pro_Ratings_Controller::get_vendor_feedback( $vendor_id ); if ( $vendor_feedback ) { foreach ( $vendor_feedback as $vf ) { $customer = get_userdata( $vf->customer_id ); $rating = $vf->rating; $rating_title = $vf->rating_title; $comment = $vf->comments; $post_date = date_i18n( get_option( 'date_format' ), strtotime( $vf->postdate ) ); $customer_name = ucfirst( $customer->display_name ); $product_link = get_permalink( $vf->product_id ); $product_title = get_the_title( $vf->product_id ); wc_get_template( 'single-store_ratings.php', array( 'rating' => $rating, 'rating_title' => $rating_title, 'comment' => $comment, 'customer_name' => $customer_name, 'post_date' => $post_date, 'product_link' => $product_link, 'product_title' => $product_title, ), 'wc-vendors/store/', plugin_dir_path( dirname(__FILE__) ) . '/store/' ); } } else { echo __('No ratings have been submitted for this vendor yet.', $this->wcvendors_pro ); } } } else { wc_get_template( 'archive-store-products.php', array( 'vendor_id' => $vendor_id, 'product_paged' => $product_paged, ), 'wc-vendors/store/', plugin_dir_path( dirname(__FILE__) ) . '/store/' ); } ?>

    I thought maybe a permalink issue but haven’t been able to fix. Thanks in advance for any help you can provide.

    #10192
    WC Vendors Support
    Participant

    Hi Eric!

    Got a screenshot so I can see what you mean?

    Thanks!

    Ben

    #10199
    Eric
    Participant

    Sure thing Ben, this first image is a page that doesn’t really have anything broken ok it. Just showing a normal page for reference.

    And this image is the Vendor page I’m having a problem with.

    Let me know if you need anything else. Thanks for your help!

    • This reply was modified 7 years, 4 months ago by Eric.
    #10202
    WC Vendors Support
    Participant

    Before you do that, in the pro plugin directory, edit line #17 and line #45 of:

    /templates/store/single-vendor_store.php and change it from:

    <?

    to:
    <?php

    Baiscally just adding php after the less than and question mark. Formatting here gets wonky, no spaces, just add 3 letters php after less than and question mark. 🙂

    #10205
    WC Vendors Support
    Participant
    #10208
    Eric
    Participant

    That seems to fix the issue, thanks Ben! I also had to do the same thing to Line 1 in archive-store-products.php

    Only thing now is that all of the WCV Pro pages seem to be breaking my css in some weird places. That’s a little off topic though and I know Jamie said he was still working some kinks out of how it plays with different themes so I’ll say this is resolved. Thanks for your help!

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