OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Order viewing problem
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Order Total Modules
zaccy
Hello

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..
hari_shyam
QUOTE (zaccy @ Jan 29 2008, 03:44 PM) *
Hello

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
zaccy
I want url to product page or picture of ordered product to order page in admin panel. Or more information of product like category and subcategory. I put picture to help suppose what I mean
hari_shyam
QUOTE (zaccy @ Jan 29 2008, 04:03 PM) *
I want url to product page or picture of ordered product to order page in admin panel. Or more information of product like category and subcategory. I put picture to help suppose what I mean



oops.. that was pretty much more clear.. could not expected more of that smile.gif.. just one more qn.. do you want the attributes as well to be shown ?? that might help as well..

cheers
Hari
zaccy
QUOTE (hari_shyam @ Jan 29 2008, 01:08 PM) *
oops.. that was pretty much more clear.. could not expected more of that smile.gif.. just one more qn.. do you want the attributes as well to be shown ?? that might help as well..

cheers
Hari


yes attributes or so ready code as possible because I´m novice but attributes helps too..
hari_shyam
QUOTE (zaccy @ Jan 29 2008, 04:42 PM) *
yes attributes or so ready code as possible because I´m novice but attributes helps too..


Hey

just created a contribution so that everybody benefits !!

http://addons.oscommerce.com/info/5700

Cheers
Hari
zaccy
Thank You that helps our working very much.
golfman2006
Great contribution as we were just about to work with a developer to figure out about linking to the Product page as you did.

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.
apfel
QUOTE (golfman2006 @ Jan 29 2008, 05:23 PM) *
Great contribution as we were just about to work with a developer to figure out about linking to the Product page as you did.

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
golfman2006
QUOTE (apfel @ Jan 29 2008, 10:32 AM) *
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


Excellent. That did the trick. Great Contribution!!!!!
Syrsknight
QUOTE (zaccy @ Jan 29 2008, 06:14 AM) *
Hello

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. smile.gif
mmph
QUOTE (apfel @ Jan 29 2008, 11:32 AM) *
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

Fantastic!

I've been brainstorming for this solution too, thanks!!!
mmph
ALL PRODUCT ID LINKS LEADING ME TO HOME PAGE

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
= = = = = = = = = =
CODE

<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
= = = = = = = = = =
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.