0

I am now developing a magento website, at a first glance at the task I found getting the ID of the author of the product seems to be hard for me as I am a newbie in magento. Can anyone help me on how to get the Id of the user that created the product in product view? cause i want to show the information of the author of the product in the product view. Hope someone can help me in this. Thanks in advance.

4

1 回答 1

1

根据默认的 magento 设置,只有管理员可以在管理员端创建产品。是否有用户正在创建产品的任何自定义部分。如果是这样,请将属性 author_id 添加到产品中,并在该自定义代码中保存当前登录的客户 ID,同时保存产品。

如需更多帮助,需要查看您当前的结构。你能提供一些代码片段或演示网址吗

于 2013-04-21T13:46:13.113 回答