Is the user id value is same as guest id value after a guest has been place an order that means logged in?

$customerId = Mage::getModel('customer/session')->getCustomerId();
$vistitorId = Mage::getModel('core/session')->getVisitorId();

Please make me knock if my question is not clear.

Thanks

有帮助吗?

解决方案

No. CustomerId is totally different from the visitorid. Magento Create Visitorid per session. But Customerid is created when user get registered.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top