Постови

Opencart 3 Detailed Admin Order Notification Email

Слика
Default Opencart 3 admin order email contain minimum information about new order, there is no customer name, address, phone, email...  I dont know why is detailed order email for admin - default function in Opencart 2  removed from Opencart 3 . Send customer order copy to admin email in Opencart 3 is pretty easy. You just need to edit 2 files : catalog/controller/mail/ order.php and catalog/view/theme/yourtheme/template/mail/ order_alert.twig Backup your website first! 1. Somewhere about 276 line, after $mail->setTo($order_info['email']); ...some code.... $mail->send(); and before "}" So it look like this: $mail->setTo($order_info['email']); ...some code.... $mail->send(); //Detailed order email admin >>> $mail->setTo($this->config->get('config_email')); $mail->setFrom($from); $mail->setSender(html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'));

Display Featured Products in 3 column rather than 4 Opencart 3.0

The Featured Product on the home page shown 4 columns, so if you want to make it to 3 columns you need to edit the file: catalog/view/theme/yourtheme/template/extension/module/featured.twig  and change the bootstrap column classes on the products box from:    col-lg-3 col-md-3 col-sm-6 col-xs-12   to: col-lg-4 col-md-4 col-sm-6 col-xs-12