Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ppruett

Archived
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Paul Pruett

ppruett's Achievements

  1. I used the times on files in build 051113 and manually edited for new installation those files in version 4.1.4 that are older, then I made a zip and requested the package to be posted to http://www.oscommerce.com/community/contri...ns,716/new,file - due to size it will require moderator to accept. So far the proposed v4.1.5 seems to be working.....
  2. In the contributed v414 the file catalog/includes/boxes/special.php has additional edits that are not mentioned in the new_install_directions.txt 26c44 < 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_produ ct["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMA LL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_prod uct['products_id']) . '">' . $random_product['products_name'] . '</a><br><s>' . $currencies->display_price($random_product['pr oducts_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $ currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class _id'])) . '</span>'); --- > 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_produ ct['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMA LL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_prod uct['products_id']) . '">' . $random_product['products_name'] . '</a><br><s>' . $currencies->display_price($random_product['pr oducts_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $ currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class _id'])) . '</span>'); 30c48 < </td> --- > </td>
  3. Of note the contributed v414 has changes from v413 in the catalog/admin/specials.php file that do not appear documented in the manual edits. # diff specials.php-SPPCv413 specials.php-SPPCv414 49,50c49 < // EOF Separate Pricing Per Customer < if (substr($specials_price, -1) == '%') { --- > if (substr($specials_price, -1) == '%' && $customers_group == '0') { 55a55,56 > } elseif (substr($specials_price, -1) == '%' && $customers_group != '0') { > $specials_price = ($products_price - (($specials_price / 100) * $products_price)); 56a58 > // EOF Separate Pricing Per Customer 147a150,156 > > $product = tep_db_fetch_array($product_query); > > $customer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . $product['products_id']. "' and customers_group_id = '" . $product['customers_group_id'] . "'"); > if ($customer_group_price = tep_db_fetch_array($customer_group_price_query)) { > $product['products_price']= $customer_group_price['customers_group_price']; > } 149d157 < $product = tep_db_fetch_array($product_query); 151a160 > #
  4. Apolgies, but this thread is soooo long I may have missed this question: For --Seperate Pricing Per Customer-- looking at http://www.oscommerce.com/community/contributions,716/ The latest community post appears to be Separate Pricing Per Customer v.4.1.4 (bugfix) by idolcemia on 1 Jun 2006 with an newer error comment and another comment for adding german lanuguage files. I looked through the attached zip and the some of the file dates are older that the files included with osCommerce 2.2 Milestone 2 Update 051113 So.... If you are using a new install or have updated to osCommerce 2.2 Milestone 2 Update 051113 just copying the files in the zip over the catalog files from the build may be a bad idea. For contributions that include the files to be changed, we may need to say what build the file was revisioned from.... I can see why many readme files recommend making changes by hand instead of copying, especially if the file will be edited by other contributions... That said... if using v4.1.4 - you may want to hand edit to merge for OS Update 051113 Anyone doing v4.1.5 bug fix, if so, with edited files from Update 051113?
×
×
  • Create New...