Housy Posted February 17, 2014 Share Posted February 17, 2014 (edited) Hi When a customer finishes the order, the "order confirmation" mail is sent. As you can see on the attached image, an extra table cell is created at the begining and i would like to remove it.But that can't be done within order_conf.html file! Which php file should i modify? Becuase i'm assuming this is stored in {products} variable. I'm using PS 1.5.4.1 Thank you and best regards, Housy Edited February 23, 2014 by Housy (see edit history) Link to comment Share on other sites More sharing options...
Housy Posted February 22, 2014 Author Share Posted February 22, 2014 I would be really grateful, if anyone could help me, because this extra cell is really annoying Thank you and best regards, Housy Link to comment Share on other sites More sharing options...
vekia Posted February 22, 2014 Share Posted February 22, 2014 classes/PaymentModule.php $products_list .= '<tr style="background-color: '.($key % 2 ? '#DDE2E6' : '#EBECEE').';"> <td style="padding: 0.6em 0.4em;width: 15%;">'.$product['reference'].'</td> <td style="padding: 0.6em 0.4em;width: 30%;"><strong>'.$product['name'].(isset($product['attributes']) ? ' - '.$product['attributes'] : '').'</strong></td> <td style="padding: 0.6em 0.4em; width: 20%;">'.Tools::displayPrice(Product::getTaxCalculationMethod((int)$this->context->customer->id) == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt, $this->context->currency, false).'</td> <td style="padding: 0.6em 0.4em; width: 15%;">'.((int)$product['cart_quantity'] - $customization_quantity).'</td> <td style="padding: 0.6em 0.4em; width: 20%;">'.Tools::displayPrice(((int)$product['cart_quantity'] - $customization_quantity) * (Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt), $this->context->currency, false).'</td> </tr>'; 1 Link to comment Share on other sites More sharing options...
Housy Posted February 23, 2014 Author Share Posted February 23, 2014 Thanks for helping me out vekia Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now