Add the product number to the order page.
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Add the product number to the order page.
With my products being so similar and having quite a range of options then the order page could do with the order number being added to help reduce any order mistakes occuring.
Re: Add the product number to the order page.
You mean admin/order?
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Add the product number to the order page.
Yes. To make sure I pass the right product on to the supplier.leo wrote:You mean admin/order?
Re: Add the product number to the order page.
Order number is displayed there.
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Add the product number to the order page.
Doesn't seem to be showing with me:
Re: Add the product number to the order page.
I have deleted your image, as it displayed the path to your admin. Keep it in secret.
The order number should be in the heading.
The order number should be in the heading.
- Attachments
-
- Orders.png (18.85 KiB) Viewed 14357 times
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Add the product number to the order page.
I can see I wasn't clear with my post. What I meant to refer to was the model number. What you are refering too is the order reference number. My fault. Adding the model number would help cut down on any mistakes when reordering from the supplier.
Something like the above.
Something like the above.
Re: Add the product number to the order page.
Open admin/template/default/content/order.tpl and modify it according this:
Code: Select all
<?php foreach ($products as $product) { ?>
<tr>
<td class="left"><?php echo $product['name']; ?></a>
<?php foreach ($product['option'] as $option) { ?>
<br>
<small> - <?php echo $option['name']; ?> <?php echo $option['value']; ?></small>
<?php } ?>
<?php if ($product['model_number']) { ?>
<br>
<small>(<?php echo $text_model_number; ?> <?php echo $product['model_number']; ?>)</small>
<?php } ?>
-
- Posts: 152
- Joined: Sun Jan 06, 2013 3:03 pm
Re: Add the product number to the order page.
Yup. That did it.
Thanks
Thanks