Jump to content

Product ID with order


Guest

Recommended Posts

PRODUCT ID IN ADMIN NOTIFICATION EMAIL

Open includes/content/gateway.inc.php

SEARCH FOR

			$prodtext .= sprintf($lang['front']['gateway']['admin_email_body_4'],

						$basket['invArray'][$i+1]["name"]);


REPLACE WITH


			$prodtext .= sprintf($lang['front']['gateway']['admin_email_body_4'],

						$basket['invArray'][$i+1]["name"],

						$basket['invArray'][$i+1]["productId"]);
save, close, upload



Open language/en/lang.inc.php



SEARCH FOR


'admin_email_body_4' =>"Product: %s\n",


REPLACE WITH


'admin_email_body_4' =>"Product: %s\nProduct ID: %s\n",
save, close, upload





PRODUCT ID IN THE ADMIN ORDERS SECTION



Open admin/orders/order.php



SEARCH FOR (about line 169)


<td class="subHead"><strong><?php echo $lang['admin']['orders']['product'];?></strong></td>




ADD AFTER


<td class="subHead"><strong><?php echo "ID";?></strong></td>




SEARCH FOR (about line 225)


<td class="<?php echo $cellColor; ?>"><span class="copyText"><?php echo $results[$i]['productCode']; ?></span></td>




ADD BEFORE IT


<td class="<?php echo $cellColor; ?>"><span class="copyText"><?php echo $results[$i]['productId']; ?></span></td>




SEARCH FOR (about line 250)


<td rowspan="4" class="btmSubNav">&nbsp;</td>


REPLACE WITH


<td rowspan="4" colspan="2" class="btmSubNav">&nbsp;</td>

save, close, upload

Done ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...