BuddyBoss Home – Web Support Forums Themes OneSocial theme Going to page 2 on products community page gives 404 error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #60515
    @conscious-crafties

    Hello,

    When our users go to a vendors products tab within the community e.g.:

    https://www.consciouscrafties.com/community/s-j-crafting-creations/products/

    Then click on page 2 to see more products, they are given a 404 page not found message 🙁

    https://www.consciouscrafties.com/community/s-j-crafting-creations/products/page/2/

    Can you help please?

    Thank you,

    Karen

    Answers

    #60540

    Anonymous
    @

    Hi @conscious-crafties,
    Sorry for the issue, I have added it on high priority to get fixed.
    Regards

    #60544
    @conscious-crafties

    Thank you Varun 🙂

    #60569

    Anonymous
    @

    Hi @conscious-crafties
    Format parameter need to be fixed
    Replace Line 13 inside /wp-content/plugins/buddyboss-marketplace/templates/wc-vendors/store/pagination.php

    
     'format'  => '?product_paged=%#%',
    

    with

    
     'format'  => '?paged=%#%', 
    

    Or you can also do these edits inside child theme

    Please create a new file at following path and add following codes inside it

    /wp-content/themes/onesocial-child/wc-vendors/store/pagination.php

    
    
    <?php
    /**
     * The template for showing the vendor store product pagination 
     *
     * Override this template by copying it to yourtheme/wc-vendors/store
     *
     * @package    WCVendors_Pro
     * @version    1.0.3
     */
    
    // Products Pagination 
    $product_paged_args = array(
        'format'  => '?paged=%#%',
        'current' => $current,
        'total'   => $total,
        'prev_text'    => '&larr;',
        'next_text'    => '&rarr;',
        'type'         => 'list',
        'end_size'     => 3,
        'mid_size'     => 3, 
    );
    ?>
    
    <nav class="woocommerce-pagination">
    	<?php echo paginate_links( $product_paged_args ); ?>
    </nav>
    

    Regards

    #60659
    @conscious-crafties

    The first option didn’t work 🙁

    The second option also didn’t work 🙁

    I’ve attached a screenshot as evidence of I’ve placed the above code in my themes folder

    #60892

    Anonymous
    @

    Hi @conscious-crafties,
    I have made edits inside your site, I will close this topic
    It will be pushed in our next update within next couple of days
    Regards
    Varun Dubey

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Going to page 2 on products community page gives 404 error’ is closed to new replies.