This topic has 1 reply, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #64132
     contemplate
    Participant

    We use both BuddyPress & Woocommerce. However in the My Orders tab it only ever shows the last order in the “Recent Orders” list. I was able to fix this in the code but I couldn’t figure out how to filter it through my child theme. Hopefully this patch can be in the next release:

    file: /wp-content/themes/kleo/lib/plugin-woocommerce/config.php line 1483
    Change this:
    wc_get_template( 'myaccount/my-orders.php', array( 'order_count' => 'all' ) );

    to this:
    wc_get_template( 'myaccount/my-orders.php' );

    Hope that helps someone.

    If this isn’t going to be patched in the next version how can I overwrite this in my child theme functions?

    #64179
     sharmstr
    Moderator

    Thank you for the code. Its been added to the next update.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?