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

Biểu thị câu hỏi liên quan đến các phiên bản Cộng đồng Magento.







6
Cách tải magento
Tôi muốn tải xuống Magento Community Edition từ trang này http: //www.magentoc Commerce.com/d Download Trong phần Phát hành đầy đủ, tôi chọn phiên bản zip và nhấp vào "Tải xuống". Nó mở một cửa sổ nơi tôi có thể đăng nhập / đăng ký. Tôi đã có người dùng, vì …






5
Magento: gửi tệp đính kèm trong Email
trong một mô-đun tùy chỉnh, tôi sử dụng chức năng này để gửi Email: public function sendMail($errorCod, $errorMsg) { $mail = Mage::getModel('core/email'); $recipients = array( Mage::getStoreConfig('trans_email/ident_custom1/name') => Mage::getStoreConfig('trans_email/ident_custom1/email'), Mage::getStoreConfig('trans_email/ident_custom2/name') => Mage::getStoreConfig('trans_email/ident_custom2/email') ); foreach ($recipients as $recipient): $mail->setToEmail($recipient); $mailBody = "<b>Error Code: </b>".$errorCod."<br />"; $mailBody .= "<b>Error Massage: </b>".$errorMsg."<br />"; $mail->setBody($mailBody); …

3
Magento 2 CE: Bộ điều khiển phía trước đạt 100 lần lặp bộ định tuyến khớp
Tôi đang sử dụng Magento 2 CE Phiên bản 2.1.0 Tham khảo http://inchoo.net/magento-2/routing-in-magento-2/ để định tuyến. Router.phpMã điều khiển của tôi public function match(\Magento\Framework\App\RequestInterface $request) { $identifier = trim($request->getPathInfo(), '/'); if (strpos($identifier, 'test') !== false) { $request->setModuleName('moduletest')->setControllerName('test')->setActionName('test'); } else { //There is no match return; } return $this->actionFactory->create( 'Magento\Framework\App\Action\Forward', ['request' …


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.