BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Going to page 2 on products community page gives 404 error
Tagged: 404, community, page not found, products page
- This topic has 5 replies, 2 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
February 27, 2016 at 7:00 pm #60515@conscious-craftiesHello,
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
February 28, 2016 at 4:29 am #60540@
AnonymousHi @conscious-crafties,
Sorry for the issue, I have added it on high priority to get fixed.
RegardsFebruary 28, 2016 at 5:32 am #60544@conscious-craftiesThank you Varun 🙂
February 28, 2016 at 10:56 am #60569@
AnonymousHi @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' => '←', 'next_text' => '→', 'type' => 'list', 'end_size' => 3, 'mid_size' => 3, ); ?> <nav class="woocommerce-pagination"> <?php echo paginate_links( $product_paged_args ); ?> </nav>
Regards
February 29, 2016 at 3:25 am #60659@conscious-craftiesThe 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
March 1, 2016 at 5:39 am #60892@
AnonymousHi @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
- The question ‘Going to page 2 on products community page gives 404 error’ is closed to new replies.