0
我想最後的促銷折扣金額添加到我的Amazon支付模塊中Cba.php接受最終折扣金額從購物促銷
$_xml .= " <Promotions>\n"
." <Promotion>\n"
." <PromotionId>cart-total-discount</PromotionId>\n"
." <Description>Coupon</Description>\n"
." <Benefit>\n"
." <FixedAmountDiscount>\n"
." <Amount>". ."</Amount>\n"
." </FixedAmountDiscount>\n"
." </Benefit>\n"
." </Promotion>\n"
." </Promotions>\n";
我需要從購物促銷規則添加最終折扣金額爲金額標籤。
有誰知道我如何獲得這個數額?