Jump to content


  • Content count

  • Joined

  • Last visited


Profile Information

  • Real Name
  • Gender
  • Location
    Italia (Italy)
  1. FedericoG

    Attribute prices not added for SOME products

    I give you another clue: the products which display wrong prices are those included in sub-categories. Products included in categories are working properly.
  2. Hi everyone, I have a very strange problem with a website I manage. When displaying the final prices attributes prices are not added to the total but only for some categories! Can you help me to solve this problem? Thanks!
  3. Hi everyone, I was wondering if there exists an add-on to make two membership levels possible: a free membership with limited features and a membership with fee, with complete features, so the free members could not browse the entire website (some features would be excluded from free browsing). Does anyone know if is this possible? Thank you and have a nice day Federico
  4. FedericoG

    Options - Price Update

    Hi everyone, I've installed this contrib on a fresh osCommerce installation and it worked fine. But I cannot make the contrib work with the STS (Simple Template System). I would like to know if there is someone else having the same problem and if someone has resolved it. Thank you and have a nice day
  5. FedericoG

    "options_values_price" special price

    Hi, I tried to solve this issue by myself. I have replaced the function "attributes_price" in classes/shopping_cart.php with this: function attributes_price($products_id) { if (isset($this->contents[$products_id]['attributes'])) { reset($this->contents[$products_id]['attributes']); while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $attribute_price_query = tep_db_query("select options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$products_id . "' and options_id = '" . (int)$option . "' and options_values_id = '" . (int)$value . "'"); $attribute_price = tep_db_fetch_array($attribute_price_query); $attributes_price = $attribute_price['options_values_price']; if ($attribute_price['price_prefix'] == '+') { $products_query = tep_db_query("select p.products_id, p.products_price, s.specials_new_products_price, s.status from " . TABLE_PRODUCTS . " p, " . TABLE_SPECIALS ." s where s.status = 1 and p.products_id = '" . (int)$products_id . "' and s.products_id = p.products_id"); $products = tep_db_fetch_array($products_query); $special_price = $products['specials_new_products_price']; $products_price = $products['products_price']; if ($special_price > 0) { $num = (($special_price*100)/$products_price); $attributes_price = (($attribute_price['options_values_price'])*($num/100)); } else { $attributes_price = $attribute_price['options_values_price']; } } else { $attributes_price = 0-$attribute_price['options_values_price']; } } } return $attributes_price; } But this works for certain products and not for others (and I really don't know why). Could someone help me please? Thank you!
  6. FedericoG

    "options_values_price" special price

    Hi, I would like to know if there is a way to make this edit even in the shopping_cart class. If we edit only product_info.php page we will see the price only in this page, but in the shopping cart the price added will be the one without discount rate. Could someone help me please??? Thanks and best regards!!!
  7. Hi everybody, this is my first post here in OsCommerce Community Support Forum! My name is Federico and I come from Italy. I write to you because I have some problems with the creat_account.php page for the SPPC addon (v. 4.2). I want my customer be able to choose in which group he would be added (retail / wholesaler): but I can't understand in which way could I modify the create_account.php page to make my customer be able to do this. When the account form is full, the customer is added into the retail group by default. How can I change this? Best regards, Federico