Projekt

Allgemein

Profil

GX-Abgewiesen #46052 » CustomersStatusDiscountCouponFix.patch

/includes/modules/order_total/ot_coupon.php - Till Tepelmann, 08.04.2016 13:09

Unterschiede anzeigen:

src/includes/modules/order_total/ot_coupon.php (revision )
784 784
							if(!empty($tax_rate))
785 785
							{
786 786
								$order->info['tax_groups'][$key] *= (100 - $get_result['coupon_amount']) / 100;
787
								$order->info['tax'] *= (100 - $get_result['coupon_amount']) / 100;
788 787
							}
789 788
						}
789
						$order->info['tax'] *= (100 - $get_result['coupon_amount']) / 100;
790 790
					}
791 791
				}
792 792
			}
......
1015 1015
				}
1016 1016
			}
1017 1017
		}
1018

  
1018
/*
1019 1019
		if($_SESSION['customers_status']['customers_status_ot_discount_flag'] == 1)
1020 1020
		{
1021 1021
			$total_price -= $total_price / 100 * $_SESSION['customers_status']['customers_status_ot_discount'];
1022 1022
		}
1023

  
1023
*/
1024 1024
		if($this->include_shipping == 'true')
1025 1025
		{
1026 1026
			$total_price += $order->info['shipping_cost'];
    (1-1/1)