Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: order_status.php
<?php $CI =& get_instance(); $app_setting = $this->data['rsStngs']; define('CURRENCY_CODE', getusercurrency()); $CUSTOMER_LOGO_PATH = base_url(). 'uplds'.$rowSettings->Theme.'/logos/5.png'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "https://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv=Content-Type content="text/html; charset=UTF-8"> <body style="margin:0;"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <!-- <tr> <td colspan="3"><img src="<?php //base_url().'/assets/images/email_banner/1.jpg'?>" width="800" height="310" /></td> </tr> --> <tr> <td width="50"> </td> <td width="700"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" bgcolor="#ffffff"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#f7f7f7; border-bottom:1px solid #e5e5e5"> <table border="0" cellpadding="0" cellspacing="0" style="height:69px; width:100%"> <tbody> <tr> <td style="height:31px; vertical-align:middle; width:75%"><a href="#LOGO_LINK#" rel="noreferrer" style="border: 0; color: #000; font-size: 18px; text-decoration: none" target="_blank"><img style="max-width: <?php if($app_setting->max_width == 0) echo 270; else echo $app_setting->max_width;?>px;<?php if($app_setting->max_height == 0){ echo "height:auto;";} else { echo "height:" . $app_setting->max_height . "px"; } ?>" src="<?php echo $CUSTOMER_LOGO_PATH; ?>" alt=""> </a></td> <td style="vertical-align:top"> <table border="0" cellpadding="0" cellspacing="0" style="margin:23px 3px"> <tbody> <tr> <td style="vertical-align:middle"> <p> <strong>Company: </strong><?=$app_setting->Company?><br /> <strong>Phone: </strong><?=$app_setting->Phone?><br /> <strong>Email: </strong><?=$app_setting->ContactUsEmail?><br /> <strong>URL: </strong><?=$app_setting->SiteURL?><br /> </p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <tr> <td> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td height="30" align="center" valign="middle" style="color:#e1427c; font-size:50px;"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30"></td> </tr> <tr> <td align="center"><strong><?='Current Order Status is <strong>'.$status_title.'</strong>'?></strong></td> </tr> </table> </td> </tr> <tr> <td height="30" style="font-size: 19px;"> </td> </tr> <tr> <td height="52" style="font-size: 19px;"> <p>Hi <?=$users_name ?>,<br /> Just to let you know - your order has been <?=$status_title?>.</p></td> </tr> <tr> <td height="39" valign="top"><h3 style="font-size:25px;">[Order #<?=$order_id?>] <?=$order_date?></h3></td> </tr> </table> </td> </tr> <tr> <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cccccc"> <tr bgcolor="f4f2f3"> <td height="40" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%" style="font-size:18px;"><strong>PRODUCT NAME</strong></td> <td width="4%"> </td> </tr> </table></td> <td width="102"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%" align="center" style="font-size:18px;"><strong>PRICE</strong></td> <td width="4%"> </td> </tr> </table></td> <td width="103"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%" align="center" style="font-size:18px;"><strong>QUANTITY</strong></td> <td width="4%"> </td> </tr> </table></td> <td width="101"><table width="100%" height="40" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="4%"> </td> <td width="92%" align="center" style="font-size:18px;"><strong>TOTAL</strong></td> <td width="4%"> </td> </tr> </table></td> </tr> <?php $bill_amount = 0; $delivery_db = 0; foreach ($products as $key => $value){ if($products[$key]['product_price']){ $product_price = $products[$key]['product_price']; } else{ $product_price = $products[$key]['product_mrp']; } $product_img = str_replace(" ", "", $products[$key]['product_img']); ?> <tr> <td width="123" height="90"><table width="100%" height="90" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="4%"> </td> <td width="92%" align="center" valign="middle"><img src="<?=$product_img?>" width="49" height="50" /></td> <td width="4%"> </td> </tr> </table></td> <td width="359"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="90"> </td> <td width="92%" style="font-size:12px;"><strong><?=$products[$key]['product_title'] ?> - <?=$products[$key]['product_sku']?></strong></td> <td width="4%"> </td> </tr> </table></td> <td><table width="100%" height="90" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="4%"> </td> <td width="92%" align="center"><strong><?=CURRENCY_CODE.' '.$products[$key]['product_price']?></strong></td> <td width="4%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="90"> </td> <td width="92%" align="center"><span style="border:1px solid #ccc; padding:3px 15px;"><strong><?=$products[$key]['product_qty']?></strong></span></td> <td width="4%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="90"> </td> <td width="92%" align="center"><strong><?= CURRENCY_CODE.' '.($products[$key]['product_qty'] * $products[$key]['product_price'])?></strong></td> <td width="4%"> </td> </tr> </table></td> </tr> <?php $bill_amount += ($products[$key]['product_qty'] * $products[$key]['product_price']); $delivery_db = $delivery_charge; } ?> </table></td> <tr> <tr height="50"> <td height="40" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20"> </td> </tr> <tr> <td><table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#cccccc"> <tr> <td width="80%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6%" height="50"> </td> <td width="88%" style="font-size:18px;"><strong>SUBTOTAL:</strong></td> <td width="6%"> </td> </tr> </table></td> <td width="20%"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center"><strong><?=CURRENCY_CODE.' '.($bill_amount)?></strong></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6%" height="50"> </td> <td width="88%" style="font-size:18px;"><strong>SHIPPING:</strong></td> <td width="6%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center"><?=CURRENCY_CODE.' '.$delivery_db?></td> <td width="4%"> </td> </tr> </table></td> </tr> <?php if($discount_applied != 0){ $bill_amount = $bill_amount - $discount_applied; ?> <tr> <td height="50" colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6%" height="50"> </td> <td width="88%"><strong>DISCOUNT:</strong></td> <td width="6%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center"><?= CURRENCY_CODE.' '. $discount_applied ?></td> <td width="4%"> </td> </tr> </table></td> </tr> <?php } ?> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6%" height="50"> </td> <td width="88%" style="font-size:18px;"><strong>PAYMENT METHOD</strong></td> <td width="6%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center"><?=$payment_via?></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="6%" height="50"> </td> <td width="88%" style="font-size:18px;"><strong>TOTAL :</strong> </td> <td width="6%"> </td> </tr> </table></td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center"><strong><?=CURRENCY_CODE.' '.($bill_amount + $delivery_db)?></strong></td> <td width="4%"> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr height="50"> <td height="50" valign="bottom" style="font-size:20px;"><strong>SHIPPING DETAIL</strong></td> </tr> <tr height="10"> <td height="10"><table width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="20"></td> </tr> <tr> <td><table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#cccccc"> <tr> <td bgcolor="#dedfe1"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%">Name : <?=$users_name?></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#f4f2f3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%">Address : <?=$delivery_address?></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#dedfe1"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%">City : <?=$delivery_city?></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#f4f2f3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%">Contact No: <?=$user_contact?></td> <td width="4%"> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#dedfe1"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="40"> </td> <td width="92%">Email : <?=$user_email?></</td> <td width="4%"> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="50"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="4%" height="50"> </td> <td width="92%" align="center" valign="bottom"><h4><em>Thank you for Shopping with <?php echo $rsStngs->Company; ?></em></h4></td> <td width="4%"> </td> </tr> </table></td> </tr> </table></td> <td width="50"> </td> </tr> </table> </body>