File manager - Edit - /home/jardides/www/Jardi-design/old/administrator/components/com_j2store/views/emailtemplate/tpls/default.php
Back
<?php /** * @package J2Store * @copyright Copyright (c)2015 Ramesh Elamathi / J2Store.org * @license GNU GPL v3 or later */ // No direct access to this file defined ( '_JEXEC' ) or die (); $items = $order->getItems(); $currency = J2Store::currency(); $params = J2Store::config(); ?> <style> .emailtemplate-table td { font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); } .emailtemplate-table th { padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em; } .emailtemplate-table-footer td { text-align: right; } .emailtemplate-table td { font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); } .emailtemplate-table th { padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em; } .emailtemplate-table-pied tr { padding: 0px; border-top: none; border-right: none; border-left: none; border-style: 0px; margin: 0px; line-height: 1em; } .emailtemplate-table-pied td { font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; padding: 0px; margin: 0px; border-width: none; border-right: none; border-bottom: none; border-left: none; } </style> <table class="emailtemplate-table" style="width: 100%;" border="0" cellspacing="" cellpadding="2"> <tbody> <tr valign="top"> <td rowspan="1" colspan="12" style="background-color: #71d64c" bgcolor="#71D64C"> <p>Merci pour votre commande! Le numero de commande est:<strong>[ORDERID]</strong>, merci de le sauvegarder.</p> </td> </tr> </tbody> </table> <br> <table class="emailtemplate-table" width="100%" cellspacing="0" cellpadding="0" border="0"> <thead class=""> <tr class=""> <th align="left" width="48.5%" style="color:#71D64C; padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em;">Informations Commande :</th> <th width="3%" border="0"></th> <th align="left" width="48.5%" style="color:#71D64C; padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em;">Informations Client :</th> </tr> </thead> <tbody> <tr> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; font-family: Verdana,Arial,Helvetica,sans-serif; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); background-color: rgb(248, 247, 245);"> <p><strong>N° de Commande: </strong>[ORDERID]</p> <p><strong>N° de Facture: </strong>[INVOICENO]</p> <p><strong>Date: </strong>[ORDERDATE]</p> <p><strong>Montant Commande: </strong>[ORDERAMOUNT]</p> <p><strong>Statut Commande: </strong>[ORDERSTATUS]</p> <p> </p> </td> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; "> </td> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; font-family: Verdana,Arial,Helvetica,sans-serif; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); background-color: rgb(248, 247, 245);"> <p>[BILLING_FIRSTNAME] [BILLING_LASTNAME]</p> <p>[BILLING_ADDRESS_1] [BILLING_ADDRESS_2]</p> <p>[BILLING_CITY], [BILLING_ZIP]</p> <p>[BILLING_STATE] [BILLING_COUNTRY]</p> <p>[BILLING_PHONE] [BILLING_MOBILE]</p> <p>[BILLING_COMPANY]</p> <p><strong>Email: </strong>[BILLING_EMAIL]</p> </td> </tr> </tbody> </table> <br> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <thead class=""> <tr class=""> <th align="left" width="48.5%" style="color:#71D64C; padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em;">Informations Règlement :</th> <th width="3%"></th> <th align="left" width="48.5%" style="color:#71D64C; padding: 5px 9px 6px; border-top: 1px solid rgb(190, 188, 183); border-right: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); border-style: solid solid none; line-height: 1em;">Informations Livraison:</th> </tr> </thead> <tbody> <tr valign="top"> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); background-color: rgb(248, 247, 245);"> <p><strong>Mode de règlement: </strong>[PAYMENT_TYPE]</p> <p> </p> </td> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; "> </td> <td style="color: rgb(47, 47, 47); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.35em; padding: 7px 9px 9px; border-width: 0px 1px 1px; border-right: 1px solid rgb(190, 188, 183); border-bottom: 1px solid rgb(190, 188, 183); border-left: 1px solid rgb(190, 188, 183); background-color: rgb(248, 247, 245);"> <p>[SHIPPING_FIRSTNAME] [SHIPPING_LASTNAME]</p> <p>[SHIPPING_ADDRESS_1] [SHIPPING_ADDRESS_2]</p> <p>[SHIPPING_CITY], [SHIPPING_ZIP]</p> <p>[SHIPPING_STATE] [SHIPPING_COUNTRY]</p> <p>[SHIPPING_PHONE] [SHIPPING_MOBILE]</p> <p>[SHIPPING_COMPANY]</p> <p>[SHIPPING_METHOD]</p> </td> </tr> </tbody> </table> <!-- Order items --> <h3><?php echo JText::_('J2STORE_ORDER_SUMMARY')?></h3> <table class="emailtemplate-table" width="100%" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th align="left"><?php echo JText::_('J2STORE_CART_LINE_ITEM'); ?></th> <th align="left"><?php echo JText::_('J2STORE_CART_LINE_ITEM_QUANTITY'); ?></th> <th align="left"><?php echo JText::_('J2STORE_CART_LINE_ITEM_TOTAL'); ?></th> </tr> </thead> <tbody> <?php foreach ($items as $item): ?> <?php $registry = new JRegistry; $registry->loadString($item->orderitem_params); $item->params = $registry; $thumb_image = $item->params->get('thumb_image', ''); ?> <tr valign="top"> <td> <?php if($params->get('show_thumb_cart', 1) && !empty($thumb_image)): ?> <span class="cart-thumb-image"> <?php if(JFile::exists(JPATH_SITE.'/'.$thumb_image)): ?> <img style="float: left;" width="120" src="<?php echo JUri::root(true).'/'.$thumb_image; ?>" > <?php endif;?> </span> <?php endif; ?> <span class="cart-product-name"> <?php echo $item->orderitem_name; ?> </span> <br /> <?php if(isset($item->orderitemattributes)): ?> <span class="cart-item-options"> <?php foreach ($item->orderitemattributes as $attribute): ?> <small> - <?php echo JText::_($attribute->orderitemattribute_name); ?> : <?php echo $attribute->orderitemattribute_value; ?> </small> <br /> <?php endforeach;?> </span> <?php endif; ?> <?php if($params->get('show_price_field', 1)): ?> <span class="cart-product-unit-price"> <span class="cart-item-title"><?php echo JText::_('J2STORE_CART_LINE_ITEM_UNIT_PRICE'); ?></span> <span class="cart-item-value"> <?php echo $currency->format($order->get_formatted_order_lineitem_price($item, $params->get('checkout_price_display_options', 1)), $order->currency_code, $order->currency_value);?> </span> </span> <?php endif; ?> <?php if(!empty($item->orderitem_sku)): ?> <br /> <span class="cart-product-sku"> <span class="cart-item-title"><?php echo JText::_('J2STORE_CART_LINE_ITEM_SKU'); ?></span> <span class="cart-item-value"><?php echo $item->orderitem_sku; ?></span> </span> <?php endif; ?> </td> <td><?php echo $item->orderitem_quantity; ?></td> <td> <?php echo $currency->format($order->get_formatted_lineitem_total($item, $params->get('checkout_price_display_options', 1)), $order->currency_code, $order->currency_value ); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <table class="emailtemplate-table emailtemplate-table-footer" width="100%" cellspacing="0" cellpadding="0" border="0"> <?php if($totals = $order->get_formatted_order_totals()): ?> <?php foreach($totals as $total): ?> <tr valign="top"> <th scope="row"> <?php echo $total['label']; ?></th> <td><?php echo $total['value']; ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </table> <div> <br> <p>Vous pouvez retrouver les détails de votre commande en suivant ce lien : [INVOICE_URL]</p> <p>Vous pouvez utiliser votre adresse e-mail et le jeton suivant pour afficher la commande : [ORDER_TOKEN]</p> </div> <table class="emailtemplate-table-pied" style="width: 100%;" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; vertical-align: bottom;"><img src="http://www.jardi-design.com/Filemaker/images/Logo_Jardi-design-Transparent_01.png" width="100%" height="auto" /></td> <td style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif;"> <p> </p> </td> <td style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif;"> </td> </tr> <tr> <td style="background-color: #000000; vertical-align: top;" bgcolor="#000000"><img src="http://www.jardi-design.com/Filemaker/images/Logo_Jardi-design-Transparent_02.png" alt="" width="100%" height="auto" /></td> <td style="background-color: #000000;" bgcolor="#000000"><span style="color: #ffffff;">Simon Joubert</span><br /><span style="color: #ffffff;"> Paysagiste</span><br /><span style="color: #ffffff;"> 06 76 21 55 34</span><br /><span style="color: #ffffff;"> contact@jardi-design.com</span></td> <td style="background-color: #000000;" bgcolor="#000000"><span style="color: #ffffff;">Jardi-design</span><br /><span style="color: #ffffff;"> EURL au capital de 10 000€</span><br /><span style="color: #ffffff;"> SIRET : 8100 79 855 000 13</span><br /><span style="color: #ffffff;"> 94 Avenue Henri Martin</span><br /><span style="color: #ffffff;"> 94100 ST MAUR DES FOSSES</span></td> </tr> </tbody> </table>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings