I just installed it to and I keep getting some error also. After installing it everything appears to work great. Except for whan after loging in, when I click the "Would you like to see which new products are available to purchase?" link I get this error
Parse error: parse error, unexpected '}' in c:program filesapache groupapachehtdocsbnscatalogincludesmodulesproducts_new.php on line 38
This is the code that comes with sppc v3.3 -
catalog/includes/modules/products_new.php
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 = '" . $HTTP_GET_VARS['products_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($product_info_values['products_tax_class_id']));
} else {
$products_price = $currencies->display_price($product_info_values['products_price'], tep_get_tax_rate($product_info_values['products_tax_class_id']));
$products_price = 'Price not Available';
}
}
I know the code repeats the else statement at the end, it does it in two other code replacements aswell, I removed the extra else statements and still get the same error.
can anyone guide me to the light? :idea: