Home Forums WoodMart support forum Replicate Orders Page

Replicate Orders Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #361792

    waterpotadmin
    Participant

    Hi Team,

    Am trying to replicate orders page into a separate page which will display only orders in a particular status.

    Am able to successfully do that with a piece of code. However the template is displaying the orders in the woocommerce standard orders template and not as per the woodmart theme. Could you please help me on this. I want the display of this custom page also to be like Orders list view under MyAccount.

    Following is the code which I used.

    wc_get_template(
    ‘myaccount/orders.php’,
    array(
    ‘current_page’ => absint( $current_page ),
    ‘customer_orders’ => $customer_orders,
    // ‘status’ => ‘wc-completed’,
    ‘has_orders’ => 0 < $customer_orders->total,
    )

    #361842

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Order page is the Woocommerce functionality and the WoodMart theme does not have such an opiton. You will need either customize Woocommerce or try to search for a plugin.

    If you have any questions please feel free to contact us.

    Best Regards

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