1

我已经在购物车页面中设置了自定义 Magento 核心会话变量。

Mage::getSingleton('core/session')->setMyPoints('4');

我需要在结帐页面中检索上述 Session 值。但是在使用下面的代码在结帐页面中检索会话变量时它显示空值。

echo Mage::getSingleton('core/session')->getMyPoints(); 

任何人都可以帮助这个。

任何帮助很大的应用程序。

4

0 回答 0