Câu hỏi được gắn thẻ «customer-session»


2
Cách đặt và nhận dữ liệu phiên của khách hàng trong magento 2
Tôi đang vật lộn với magento 2 phiên. Tôi đã tạo tập tin điều khiển dưới đây dưới dạng mã mẫu. <?php namespace vendor_name\module_name\Controller\SetGetSession; use Magento\Framework\App\Action\Action; class SetGetSession extends Action { protected $customerSession; public function _construct( \Magento\Customer\Model\Session $customerSession ) { $this->customerSession = $customerSession; } public function execute() { } } …

Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookie và Chính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.