Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to showing pruducts quantity in admin catalog ?


mrobo

Recommended Posts

Posted

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:

Posted
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

Posted
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 !

Posted

no problem. my pleasure to help. just pm me if you have any needs with osc troubleshooting.

Archived

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

×
×
  • Create New...