Order viewing problem
#1
Posted 29 January 2008, 10:14
I have an problem in oscommerce with orders viewing in admin panel. In our shop is about 1700 products and most of them are named like front bumper, side skirts or rear bumper. We sell bodyparts for cars and we are categories like car make and sub category like car model and there are products when we get order example customer have ordered front bumper to Audi A4 we see in admin panel only Product name: Front bumper Product model: - And prices and taxes so we don´t know what front bumper is ordered if we put product code to product model field we can see productnumber then we can search product from catalog but is very slow and difficult work. so is that possible to get url to product or picture of product to admin panel order viewing?
Sorry about my bad english..
#2
Posted 29 January 2008, 10:19
zaccy, on Jan 29 2008, 03:44 PM, said:
I have an problem in oscommerce with orders viewing in admin panel. In our shop is about 1700 products and most of them are named like front bumper, side skirts or rear bumper. We sell bodyparts for cars and we are categories like car make and sub category like car model and there are products when we get order example customer have ordered front bumper to Audi A4 we see in admin panel only Product name: Front bumper Product model: - And prices and taxes so we don´t know what front bumper is ordered if we put product code to product model field we can see productnumber then we can search product from catalog but is very slow and difficult work. so is that possible to get url to product or picture of product to admin panel order viewing?
Sorry about my bad english..
I suppose what you are trying to tell here is to view the product number or other details in the order page itself.. or do you want a line to the product page itself ??
Cheers
Hari
#3
Posted 29 January 2008, 10:33
[img]http://www.garage-shop.fi/order.jpg[/img]
#4
Posted 29 January 2008, 11:08
zaccy, on Jan 29 2008, 04:03 PM, said:
oops.. that was pretty much more clear.. could not expected more of that
cheers
Hari
Edited by hari_shyam, 29 January 2008, 11:08.
#5
Posted 29 January 2008, 11:12
hari_shyam, on Jan 29 2008, 01:08 PM, said:
cheers
Hari
yes attributes or so ready code as possible because I´m novice but attributes helps too..
#6
Posted 29 January 2008, 11:47
zaccy, on Jan 29 2008, 04:42 PM, said:
Hey
just created a contribution so that everybody benefits !!
http://addons.oscommerce.com/info/5700
Cheers
Hari
#7
Posted 29 January 2008, 13:55
#8
Posted 29 January 2008, 15:23
If we can request one change or enhancement. Would it be possible to have the product links in the orders.php open in separate windows rather than the same window? We usually have orders wih multiple products and it would be nice to pull up each of the products in a separate window.
Thanks in advance for your help.
#9
Posted 29 January 2008, 18:32
golfman2006, on Jan 29 2008, 05:23 PM, said:
If we can request one change or enhancement. Would it be possible to have the product links in the orders.php open in separate windows rather than the same window? We usually have orders wih multiple products and it would be nice to pull up each of the products in a separate window.
Thanks in advance for your help.
in the orders.php file.
Find the line ( around 239 )
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .
Replace it by:
// BOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
<td class="dataTableContent" valign="top"><a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'product_info.php?products_id='.$order->products[$i]['id'] .'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .
// EOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
#10
Posted 30 January 2008, 02:44
apfel, on Jan 29 2008, 10:32 AM, said:
Find the line ( around 239 )
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .
Replace it by:
// BOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
<td class="dataTableContent" valign="top"><a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'product_info.php?products_id='.$order->products[$i]['id'] .'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .
// EOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
Excellent. That did the trick. Great Contribution!!!!!
#11
Posted 10 March 2008, 13:41
zaccy, on Jan 29 2008, 06:14 AM, said:
I have an problem in oscommerce with orders viewing in admin panel. In our shop is about 1700 products and most of them are named like front bumper, side skirts or rear bumper. We sell bodyparts for cars and we are categories like car make and sub category like car model and there are products when we get order example customer have ordered front bumper to Audi A4 we see in admin panel only Product name: Front bumper Product model: - And prices and taxes so we don´t know what front bumper is ordered if we put product code to product model field we can see productnumber then we can search product from catalog but is very slow and difficult work. so is that possible to get url to product or picture of product to admin panel order viewing?
Sorry about my bad english..
I'm looking for the product to be able to be viewed on the orders page. I have seen a contribution for showing the url to the product on the customers order page. But I'm not exactly sure where it is. sorry.
#12
Posted 01 April 2008, 18:48
apfel, on Jan 29 2008, 11:32 AM, said:
Find the line ( around 239 )
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .
Replace it by:
// BOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
<td class="dataTableContent" valign="top"><a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'product_info.php?products_id='.$order->products[$i]['id'] .'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .
// EOC Display Product link on Admin orders page : Harishyam, feenix_666@yahoo.com
I've been brainstorming for this solution too, thanks!!!
#13
Posted 09 May 2008, 15:56
After installing this, I found that the new link this provides on the orders page would always open my index (home) page rather than the specific product. I have an older version from February 2007 of Chemo’s SEO URL’s installed which might be the cause but I’m not sure. I made a very small change to this contribution which fixed it for me; now when I click the model number from the admin orders page, the product is opened in a new window.
If you have installed this ADD-IN module and all the new product links from your orders.php page lead you to your home page (…/index.php) try this small edit to the admin/orders.php add-in around line 245:
= = = = = = = = = =
ORIGINAL ADD-IN CODE, around line 245 in …admin/orders.php
= = = = = = = = = =
<a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'product_info.php?products_id='.$order->products[$i]['id'] .'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .= = = = = = = = = =
MY ADJUSTED ADD-IN CODE
= = = = = = = = = =
<a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'-p-'.$order->products[$i]['id'] .'.html'.'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .This works for me and has the “open in new window” function included.
#14
Posted 03 March 2011, 03:30
#15
Posted 07 June 2011, 11:06
mmph, on 09 May 2008, 15:56, said:
After installing this, I found that the new link this provides on the orders page would always open my index (home) page rather than the specific product. I have an older version from February 2007 of Chemo’s SEO URL’s installed which might be the cause but I’m not sure. I made a very small change to this contribution which fixed it for me; now when I click the model number from the admin orders page, the product is opened in a new window.
If you have installed this ADD-IN module and all the new product links from your orders.php page lead you to your home page (…/index.php) try this small edit to the admin/orders.php add-in around line 245:
= = = = = = = = = =
ORIGINAL ADD-IN CODE, around line 245 in …admin/orders.php
= = = = = = = = = =
<a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'product_info.php?products_id='.$order->products[$i]['id'] .'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .= = = = = = = = = =
MY ADJUSTED ADD-IN CODE
= = = = = = = = = =
<a href="'.HTTP_CATALOG_SERVER.DIR_WS_CATALOG.'-p-'.$order->products[$i]['id'] .'.html'.'"target="_blank">'. $order->products[$i]['model'] . '</td>' . "\n" .This works for me and has the “open in new window” function included.
Hi,
Great contribution.
Is there a way the code could be modded slightly so instead of the link going to the product of what a customers see's, it would go to the product edit page?
Thanks.














