Jump to content

alozoya

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by alozoya

  1. I have been searching for a solution that would automatically set "Processing" orders to status "Order Complete" after an order has been placed. Right now, when an order goes through, the status gets set to "Processing" by default. Then someone has to login and manually change the status to complete before the customer gets their final receipt and the PayPal payment is captured. I found an old post that solves this, but its for an old version of CubeCart. '?do=embed' frameborder='0' data-embedContent>> So the solution for the 5.2.8 is done by locating the file order.class.php in the classes folder. Around line 250 locate the following code: $this->assignOrderDetails(); $mailer->sendEmail($this->_order_summary['email'], $content); unset($content); Then add this snippet right above it: $this->_digitalDelivery($order_id, $this->_order_summary['email']); Hope it helps. Al
×
×
  • Create New...