Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pmfc

Archived
  • Posts

    3
  • Joined

  • Last visited

Profile Information

pmfc's Achievements

  1. Cheers that's the one. I was sure I had done all of the steps as per the instructions. But I must have missed that one. Thanks Paul
  2. That would not appear to be the problem. I have the function call added to the categories.php file exactly as it is in your install instructions. The line no that the error specifies is the blank line straight after the function as below. Line 538. $arr_pas_id = jjg_db_getAttributeSetId($pInfo->products_id, $action); Line 539. Line 540. if( !empty($arr_pas_id) ){ Any other Ideas. Cheers Paul
  3. Hi I have installed this contribution but am having a problem with the product pages. When I try to edit a product I get the following error message. "Fatal error: Call to undefined function: jjg_db_getattributesetid() in /home/httpd/vhosts/1stsexshop.com/httpsdocs/catalog/admin/categories.php on line 539" I seem to be able to add Attribute sets fine. Here is the portion of the code from my categories.php file "<!-- //JJG building drop down list - Begin --> <?php if( empty($pInfo->products_id) ){ $iteration = 0; }else{ $getOptionsCount_query = tep_db_query('SELECT count( DISTINCT options_id ) as count FROM '. TABLE_PRODUCTS_ATTRIBUTES .' WHERE `products_id` ='.$pInfo->products_id); $arr_getOptionsCount = tep_db_fetch_array($getOptionsCount_query); $arr_pas_id = jjg_db_getAttributeSetId($pInfo->products_id, $action); if( !empty($arr_pas_id) ){ $iteration = $arr_getOptionsCount['count']; } } for($i=0; $i<=$iteration; $i++){ ?> <tr> <td class="main"><?php echo TEXT_PRODUCTS_ATTRIBUTES_SET; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('products_attributes_sets_id_'.$i, $attribute_sets_array, $arr_pas_id[$i] ); ?></td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?> <?php echo tep_draw_hidden_field('AttributeSetCount', $arr_getOptionsCount['count']+1); ?> </td> </tr> <!-- //JJG building drop down list - End -->" It is straight from the install instrucions. Can anyone shed any light on this one. Cheers Paul
×
×
  • Create New...