This one is easy guys.... I fixed it... you put it into code.... :) Customer has item in cart.... admin views "whos online" clicks customer with active cart.... clicks link .... gets blank area of admin screen.... fix takes to edit product... which I assume is what was supposed to happen. BTW... is there a list of "actions" that can be taken with different cmd's or screens? I kind of thought a action=display_product might have been desired too... but edit is fine except information spread out quite a bit.
>admin > whos_online.php
if ($cart !== null) {
$contents[] = ['text' => $whos_online[$selectedSession]['full_name'] . ' - ' . $cart['customer_ip'] . ' (' . $cart['language_code'] . ')<br>' . $selectedSession];
foreach ($cart['products'] as $product) {
$contents[] = ['text' => $product['quantity'] . ' x ' . '<a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . zen_get_product_path($product['id']) . '&pID=' . $product['id']) . '">' . $product['name'] . '</a>'];
}
Change to:
if ($cart !== null) {
$contents[] = ['text' => $whos_online[$selectedSession]['full_name'] . ' - ' . $cart['customer_ip'] . ' (' . $cart['language_code'] . ')<br>' . $selectedSession];
foreach ($cart['products'] as $product) {
$contents[] = ['text' => $product['quantity'] . ' x ' . '<a href="' . zen_href_link(FILENAME_PRODUCT, 'cPath=' . zen_get_product_path($product['id']) . '&pID=' . $product['id']) . '&action=new_product' . '">' . $product['name'] . '</a>'];
}
Bookmarks