Woocommerce Pre Orders view order link wrong [closed]

<td class=”order-number” width=”1%”> <a href=”https://wordpress.stackexchange.com/questions/190318/<?php echo wc_get_endpoint_url(“view-order’, $order->id, wc_get_page_permalink( ‘myaccount’ ) ); ?>”> <?php echo $order->get_order_number(); ?></a> </td>; this should solve your problem. But I am not sure which template your are modifying, but fool proof way is only possible with child theme (functionality plugin will be complex for your needs). https://support.woothemes.com/hc/en-us/articles/203105897-How-to-set-up-and-use-a-child-theme http://docs.woothemes.com/document/template-structure/ both of … Read more

WooCommerce – doesn’t show product when using woocommerce.php [closed]

I found the answer – might be obscure, but still might help someone: Apparently the custom navigation template messed up / overwrote the “$posts” array, so I just saved the original, and restored it after including the navigation: <?php $saved_posts = $posts; get_template_part(‘tpl-nav’); $posts = $saved_posts; ?> Just added to to the top of the … Read more