-2
如何在定制电子商务中的数量交叉15后在基准价格中应用5%的折扣。购物车价按数量折扣
代码:
$price = $_POST['price'];
$quantity = $_POST['quantity'];
$discount = $_POST['discount'];
$tax = $_POST['tax'];
$shipping = $_POST['shipping'];
$payments = $_POST['payments'];
$total = (($price * $quantity) + $shipping) - $discount;
我们看一些代码.. – JustBaron
我可以与大家分享这个文件,你会请提供我您的电子邮件ID –
不,你没事的感谢。只需在您的问题中发布一些示例代码,并使用您已经尝试的代码。 – JustBaron