摘要: 在checkout页面中,如果想判断顾客是否有使用coupon code,可以通过checkout session来进行判断。以下代码会返回checkout中使用的coupon code或者返回空(当没有使用coupon code时)1 getQuote()->getCouponCode(); if... 阅读全文
posted @ 2015-07-01 15:31 星月缘 阅读(321) 评论(0) 推荐(0) 编辑