Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product listing from pre 2.2 milestone


Guest

Recommended Posts

Hi,

 

can someone tell me where i can find this bit of code previously from

 

includes/modules/product_listing.php

 

as i made extensive changes to my product listing page and am trying to update the site to the 2.2 milestone but having trouble locating certain parts.

 

 // create column list

$define_list = array(

   'PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,

   'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,

   'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 

   'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 

   'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 

   'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 

   'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 

   'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW,

   'PRODUCT_LIST_PRICE_INC' => PRODUCT_LIST_PRICE_INC

 );

 asort($define_list);

 

 $column_list = array();

 reset($define_list);

 while (list($column, $value) = each($define_list)) {

   if ($value) $column_list[] = $column;

 }



 $colspan = sizeof($column_list);

 

 

thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...