Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lnewmark

Pioneers
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    lnewmark

lnewmark's Achievements

  1. I have a coupon set for a minimum price for $125. The coupon excludes almost anything below $125, but I did find an instance where it is discounting the 10% for an order of 119.85 (before shipping). Debug output shows this as well: [coupon] => discount_coupon Object ( [messages] => Array ( [debug] => Array ( [0] => INFO: DISPLAY_PRICE_WITH_TAX = false [1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false [2] => INFO: MODULE_SHIPPING_TABLE_STATUS = False [3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true [4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 0 [5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true [6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true [7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None [8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = false [9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6 [10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false [11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false [12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false [13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon applied [14] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true [b][15] => INFO: Product 1464 passed exclusion check. Discount 11.985 applied. (percent) [16] => INFO: Discount of 11.985 applied to product 1464 ($119.85). [17] => INFO: Calculating tax on 107.865. Displayed price 107.865.[/b] ) ) [coupon] => Array ( [coupons_id] => DFXJQW [coupons_description] => description of coupon [coupons_discount_amount] => 0.100000000000 [coupons_discount_type] => percent [coupons_date_start] => 2010-01-11 00:00:00 [coupons_date_end] => 2010-02-20 00:00:00 [coupons_max_use] => 1 [b][coupons_min_order] => 125.0000 [coupons_min_order_type] => price[/b] [coupons_number_available] => 10000 Can anyone point me to where in the code this bug might be fixable or help in any way? This is quite urgent. Thank you!
  2. I have a coupon set for a minimum price for $125. The coupon excludes almost anything below $125, but I did find an instance where it is discounting the 10% for an order of 119.85 (before shipping). Debug output shows this as well: [coupon] => discount_coupon Object ( [messages] => Array ( [debug] => Array ( [0] => INFO: DISPLAY_PRICE_WITH_TAX = false [1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false [2] => INFO: MODULE_SHIPPING_TABLE_STATUS = False [3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true [4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 0 [5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true [6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true [7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None [8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = false [9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6 [10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false [11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false [12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false [13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon applied[14] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true [b][15] => INFO: Product 1464 passed exclusion check. Discount 11.985 applied. (percent) [16] => INFO: Discount of 11.985 applied to product 1464 ($119.85). [17] => INFO: Calculating tax on 107.865. Displayed price 107.865.[/b] ) ) [coupon] => Array ( [coupons_id] => DFXJQW [coupons_description] => description of coupon [coupons_discount_amount] => 0.100000000000 [coupons_discount_type] => percent [coupons_date_start] => 2010-01-11 00:00:00 [coupons_date_end] => 2010-02-20 00:00:00 [coupons_max_use] => 1 [b][coupons_min_order] => 125.0000 [coupons_min_order_type] => price[/b] [coupons_number_available] => 10000 Can anyone point me to where in the code this bug might be fixable or help in any way? This is quite urgent. Thank you!
  3. I just downloaded version 4.1 and had a problem with the sum of products purchased being way off. I fixed it by adding in after the following: if (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) { $products_query_raw .= " and p.manufacturers_id = m.manufacturers_id "; $products_query_raw .= " and p.manufacturers_id = " . $_GET['manufacturers_id'] . " "; } this: else $products_query_raw .= " and p.manufacturers_id = m.manufacturers_id "; to link the manufacturers table even if no manufacturer was selected.
  4. See if this helps. http://www.oscommerce.com/community/contri.../search,usaepay
×
×
  • Create New...