Community Add-Ons

Maintainers: pfaustino
Add file to this package
Top » Reports

Report Missing and Unassignes Images
for osCommerce Online Merchant v2.2

A fast report that displays products that have missing and unassigned images.

This is useful to hand over to a graphics person who can then review the list of missing images, create them and upload them to the server.

Also good to hand over to the person in charge of the inventory so that they know which products need to have images assigned to them.

The bottom of the report also display total counts for missing images an unassigned images.

This is very easy to install with one code change in the file attached to the package.

Legend:  Download   Report
Expand All / Collapse All
Editing product had not category. Fixed. trikinuke 16 May 2008  

Editing product had not category. Fixed.

When clicking in any row of Product Name column, the page points to product edit page but the category of the product in this link is "missing" and it does not match to the real category that the products belongs to. You can check it above, seeing that it marks "New product in Top".

To solve this, just a few changes quite easy:

Find this:

$product_query = tep_db_query("SELECT products_name FROM products_description WHERE products_id = '" . (int)$id . "' AND language_id = '" .

($language_id > 0 ? (int)$language_id : '3') . "'");
$product = tep_db_fetch_array($product_query);

Below it you must add this:

$product_query2 = tep_db_query("SELECT categories_id FROM products_to_categories WHERE products_id = '" . (int)$id . "'");
$product2 = tep_db_fetch_array($product_query2);


And find this:

<td class="dataTableContent" align="center" width="30"><? echo $id; ?></td>
<td class="dataTableContent"><a href="<? echo tep_href_link(FILENAME_CATEGORIES, '&pID=' . $id . '&action=new_product') . '">' .

$product['products_name']; ?></a></td>
<td class="dataTableContent">

Replace with this:

<td class="dataTableContent" align="center" width="30"><? echo $id; ?></td>
<td class="dataTableContent"><a href="<? echo tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $product2[categories_id] . '&pID=' . $id .

'&action=new_product') . '">' . $product['products_name']; ?></a></td>
<td class="dataTableContent">

Sorry by muy poor English, I'm spanish.


En Espaņol:

Al editar un producto, este no tiene categoria.

Cuando pinchas en cualquier fila de la columna Product Name, la pagina se va a la edicion del producto, pero sin categoria, es decir, esta como perdida, y en

el texto grande de arriba no se muestra la categoria real al que pertenece el producto, esto se puede comprobar viendo que arriba pone "Nuevo Producto en

Principio". Solucion facil y rapida de instalar.

Missing Pics 2.1 + Admin Fix djmatrix 23 Feb 2008  
To insert Missing_Pics into the Admin Panel mattalt 3 Nov 2007  
function which reports duplicate images hanguk.openandout.com 23 Jul 2007  
Suggestion realism 22 Jun 2007  
support thread azer 13 Jan 2007  
Missing Pics 2.1 dynamoeffects 20 Nov 2006  
some edits jchasick 19 Nov 2006  
Missing Pics 2.0 dynamoeffects 17 Nov 2006  
Missing Pics 1.2 twoifbysea 2 Sep 2006  
Completely Redone. pfaustino 2 Sep 2006  
Report Missing and Unassignes Images pfaustino 2 Sep 2006