是否有一种快速方法以编程方式检查当前登录的客户是否曾下过订单?我正在写一个观察者,我想简单地说
if ($this->isCustomerLoggedIn() && (has never placed an order)) { do this }
可能?谢谢!
magento
magento ×1