Latest News: (loading..)

jey

Members
  • Content count

    81
  • Joined

  • Last visited

  1. In my products_new.php page displayed the following error. How to solve the issue Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\catalog\products_new.php on line 99 <?php if ($products_new_split->number_of_rows > 0) { $products_new_query = tep_db_query($products_new_split->sql_query); while ($products_new = tep_db_fetch_array($products_new_query)) { if ($new_price = tep_get_products_special_price($products_new['products_id'])) { $products_price = '<s>' . $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($products_new['products_tax_class_id'])) . '</span>'; } else { //$products_price = $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id'])); global $customer_id; $customer_group_query = tep_db_query("select customers_group_id from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $customer_group = tep_db_fetch_array($customer_group_query); $customer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . $products_new_array[$i]['id'] . "' and customers_group_id = '" . $customer_group['customers_group_id'] . "'"); if ( $customer_group['customers_group_id'] != 0) { if ($customer_group_price = tep_db_fetch_array($customer_group_price_query)) { $products_price = $currencies->display_price($customer_group_price['customers_group_price'], tep_get_tax_rate($products_new_array[$i]['tax_class_id'])); } else { $products_price = $currencies->display_price($products_new_array[$i]['price'], tep_get_tax_rate($products_new_array[$i]['tax_class_id']) } } else { $products_price = $currencies->display_price($products_new_array[$i]['price'], tep_get_tax_rate($products_new_array[$i]['tax_class_id']) } } ?>
  2. we are using following addon for video upload : http://addons.oscommerce.com/info/5971/v,22 This is working fine but if we give the particular product video link it is not working we are provide the link in URL SubstringURL Substring field : product_info.php?products_id=38 we have to prodvide the link for product_id=18. It is correct link?
  3. we have v2.2RC1 and used the addons, http://addons.oscommerce.com/info/7008 after add the addons admin site working well but in product_info.php page given follow error Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\xampp\htdocs\catalog\includes\functions\database.php on line 103. how to solve this issue?
  4. we are using osc v 2.2RC1 and successfully installed the addon but we got this error: Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\xampp\htdocs\catalog\includes\functions\database.php on line 103 where i have to change the code.
  5. we are using this menu it is working fine but we need to display products link when we mouse over the category link. how to change the code?
  6. we are using this menu working fine but some more modification we need. how to display the products links in dropdown. if we click the products link to directly move to products page. where i have to change?
  7. we need to add multiple image for products (like v2.3.1) Any addon available for v2.2 RC1?
  8. we are getting following error the problem is in our function folder dont have clean html comments function. where can i get this function?. This not inclued in article v1 manager addons Fatal error: Call to undefined function clean_html_comments() in C:\xampp\htdocs\catalog\includes\modules\article_listing.php on line 66
  9. we are using osc v2.2RC1. we need the proper ckeditor for all admin textarea. we are try this but it is not working well
  10. we are using OSC v2.2 RC1. we need to display the price only after loggin the user. without login price should not display any addon available for OSC v2.2 RC1
  11. we have to make different price for different countries, Admin should be changes the price for each countries, user can see only their country currency getting IP Address. also logged in customer only see the product price. any addon available for this requirment?
  12. I installed this in osc v2.2RC1 admin site working fine but in catalog home page following error appear: 1146 - Table 'catalog.table_information' doesn't exist SELECT information_id, information_title, parent_id FROM TABLE_INFORMATION WHERE visible='1' and language_id='1' and information_group_id = '1' ORDER BY sort_order how to solve this?
  13. But V2.3.1 code entirely changed right? we have to add the code manually? Add the following before the last ?> in includes/column_left.php or column_right.php (depending on what side you want the boxes): // Article Manager if (AUTHOR_BOX_DISPLAY == 'true'){ require(DIR_WS_BOXES . 'authors.php'); } if (ARTICLE_BOX_DISPLAY == 'true'){ require(DIR_WS_BOXES . 'articles.php'); } where i have to provide this code? becuase v2.3.1 dont have a column_left.php or column_right.php files
  14. But V2.3.1 code entirely changed right? we have to add the code manually?