我正在尝试检查产品是否在代码中有自定义选项(我的代码运行sales_order_place_after事件).我尝试下面的代码,但它没有返回任何东西. $product->hasCustomOptions() 和 $product->hasOptions()
sales_order_place_after
$product->hasCustomOptions()
$product->hasOptions()
请让我知道我错过了什么.
magento-1.8
magento-1.8 ×1