<ul><li>Fixed <code>view_order_details</code> double-output bug in ShoppingCart.php controller — method was echoing error JSON then returning null, causing caller to echo <code>null</code> appended to JSON (invalid JSON, broke fetchOrderDetails)</li><li>Removed dead <code>$.getSavedCartItems()</code> and <code>$.getAllOrders()</code> calls from <code>$(document).ready</code> in custom_js.php — both targeted non-existent DOM elements (.cart-items-saved-list / .order-cart-items-list) that were removed when page was refactored; eliminated 2 unnecessary HTTP requests on every page load</li><li>Fixed <code>myOrderHistory()</code> in inc_shoppingcart.php — was skipping all orders with null meta_value (most orders), making Purchased Items tab appear empty; now all orders load and use item data as fallback when meta_value is absent</li><li>Rewrote <code>fetchOrderDetails()</code> to derive pricing from cart_order_items columns (item_payment_recurring_price, item_price, item_quantity) when meta_value is null, with meta_value override when present</li></ul>