Magento 1.8 – How to Send Email to Customer from Shopping Cart

cartemail-templatesmagento-1.8shopping-cart

Hi I need some help I like to have one button in shopping cart that when it will be clicked it will send all products that are added in shopping cart with any email like new order email can this be done or there already exist any extension

Best Answer

  1. Implement a new controller to do all this
  2. Add a new block, template and add a layout.xml to add the button into the cart page
  3. on click on the button you fire a request to the new controller
  4. get the quote Mage::getSingleton('checkout/cart')->getQuote()
  5. send a new mail, add all the products to the mail_template
Related Topic