Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,我需要在产品页面上显示的联系人上显示产品名称。所以基本上我希望我的联系表将显示当前查看的产品名称,如果有人可以帮助我这样做,请提前感谢。
当您在产品视图页面上时,您应该能够从注册表访问当前产品:
<?php $product = Mage::registry('product') ?>