开发者

Getting Magento shipment weight

I'd like to know the w开发者_如何转开发eight of an order, as calculated by Magento. Anybody know where this is calculated in the code?

I'd eventually like to add it to the order info in the admin area.


The weight of each order is already calculated and stored, look at the sales_flat_order table to see. To retrieve the weight for any given order use it's getWeight() method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜