Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to showing pruducts quantity in admin catalog ?


mrobo

Recommended Posts

How to showing products quantity in admin catalog ?

I know must edit categories.php but don't know what to add to it ?

please help, thanks ! :blink:

 

I assumed you want to show prod qty at the right side of the products title list?

if so, you have to replace the code at line 837 to

 

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview&read=only') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $products['products_name'].' ( '.$products['products_quantity'].' ) '; ?></td>

 

Regards,

Mark

Link to comment
Share on other sites

I assumed you want to show prod qty at the right side of the products title list?

if so, you have to replace the code at line 837 to

 

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview&read=only') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $products['products_name'].' ( '.$products['products_quantity'].' ) '; ?></td>

 

Regards,

Mark

T H A N K S ! I T W O R K E D !

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...