Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

morganhoff

Archived
  • Posts

    3
  • Joined

  • Last visited

Profile Information

morganhoff's Achievements

  1. Hi There, I had a look through the documentation and other posts and could not find any similar problems to mine. I would really appreciate any help on this one. I have tried fixing it myself and had no luck (I stink at PHP). Basically there are two things that do not work at the moment. 100% shipping coupons are 10% less than they should be and exclusions do not seem to work with shipping coupons. If you have a look at the example bellow for a 100% shipping coupon the coupon is for 17.73 and not 19.50. If I change the coupon to be 110% then the final total is correct except the GST (sales tax) is out. I have included examples and debugging info bellow. Thanks heaps to anyone that can help. Regards Jim This is how it appears at the moment: 1 Item: $1,314.50 Courier: $19.50 Discount Coupon 8JAALB applied: -$17.73 Total: $1,316.27 GST: $121.27 If I set the coupon to 110% the total is correct but the tax (GST) is out: 1 Item: $1,314.50 Courier: $19.50 Discount Coupon 8JASALB applied: -$19.50 Total: $1,314.50 GST: $121.27 This is how it should be: 1 Item: $1,314.50 Courier: $19.50 Discount Coupon 8JAALB applied: -$19.50 Total: $1,314.50 GST: $119.50 Here are a few notes that may be useful (not the same transaction as above): [coupon] => Array ( [coupons_id] => 8JAALB [coupons_description] => Free Shipping [coupons_discount_amount] => 1.100000000000 [coupons_discount_type] => shipping [coupons_date_start] => [coupons_date_end] => 2008-08-31 00:00:00 [coupons_max_use] => 0 [coupons_min_order] => 0.0000 [coupons_min_order_type] => price [coupons_number_available] => 0 ) [applied_discount] => Array ( [GST] => 0 [shipping] => 19.503 ) [cart_info] => Array ( [valid_products] => Array ( [count] => 2 [line_items] => 1 [total] => 552.298 ) [total_products] => Array ( [count] => 3 [line_items] => 2 [total] => 1747.298 ) [discount_tax] => Array ( [GST] => 0 ) [coupon] => discount_coupon Object ( [messages] => Array ( [debug] => Array ( [0] => INFO: DISPLAY_PRICE_WITH_TAX = true [1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false [2] => INFO: MODULE_SHIPPING_TABLE_STATUS = True [3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true [4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 2.5 [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 = Display discount with discounted tax applied [8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = true [9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 8 [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 [15] => INFO: Product failed manufacturer exclusion check [16] => INFO: Product failed manufacturer exclusion check [17] => INFO: Excluded product 9572. Discount of 0 not applied. [18] => INFO: Applied tax of 10 to: 0 [19] => INFO: Tax not applied to product 9572: 0 [20] => INFO: Discount of 0 applied to product 9572 ($1195). [21] => INFO: Applied tax of 10 to: 1314.5 [22] => INFO: Calculating tax on 1314.5. Displayed price 1314.5. [23] => INFO: Product 9533 passed exclusion check. Discount 0 applied. (shipping) [24] => INFO: Applied tax of 10 to: 0 [25] => INFO: Tax not applied to product 9533: 0 [26] => INFO: Discount of 0 applied to product 9533 ($552.298). [27] => INFO: Applied tax of 10 to: 303.76 [28] => INFO: Calculating tax on 607.52. Displayed price 607.52. [29] => INFO: Shipping Discount of 19.503 applied. ) )
×
×
  • Create New...