Products clickable on order or invoice
What version of Zen Cart are you using?
1.3.8a
Hello everyone, is there a way to make the products clickable when viewing the order or invoice or packaging lable so that I can see what has been ordered.
I dont complete the Modle number and the titles of my products are not very descriptive so its hard to determine what product the customer has orded. It would be nice if I can click them and see exactly what the customer wants.
Im selling clothes so all I can really write about the title is Baby shorts and t shirts eith hat ect and there are lots of them in the store.
Thanks for your time and look forward to your reply.
Re: Products clickable on order or invoice
You could edit the /admin/orders.php and change the code from:
Code:
echo ' <tr class="dataTableRow">' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
to read:
Code:
echo ' <tr class="dataTableRow">' . "\n" .
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
echo '<br /><a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . zen_get_product_path($order->products[$i]['id']) . '&pID=' . $order->products[$i]['id'] . '&product_type=' . zen_get_products_type($order->products[$i]['id'])) . '">' . zen_image_button('button_details.gif', IMAGE_DETAILS) . '<br />' . TEXT_PRODUCT_DETAILS . '</a>';
I included a button and text so you can play with the results ... then when you hit the Edit on the Order it will list for each product ...
Re: Products clickable on order or invoice
Thank you very much I will try the code tomorrow and let you know of the result and any modifications I make.
Great support.