Module-pour-UPS #3
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,6 +6,5 @@
|
||||
/templates/email/default.zip
|
||||
/core/vendor/wsdltophp.zip
|
||||
/local/session/
|
||||
/local/session/
|
||||
/web/assets/
|
||||
/local/session/
|
||||
/web/.htaccess
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
return array(
|
||||
'Best Regards.' => 'Cordialement.',
|
||||
'Dear' => 'Cher/Chère',
|
||||
'Feel free to contact us for any further information' => 'Vous pouvez nous contacter pour toutes informations complémentaires',
|
||||
'Feel free to contact us for any further information' => 'Vous pouvez nous contacter pour toute information complémentaire.',
|
||||
'Please check <a href=\'%tracking_url\'>this URL</a> to track your parcel' => ' Vous pouvez suivre l\'envoi via <a href=\'%tracking_url\'>ce lien</a>',
|
||||
'Please check this URL to track your parcel : %tracking_url' => 'Vous pouvez suivre votre colis en ligne à cette adresse : %tracking_url',
|
||||
'Thank you for your order on our online store %store_name' => 'Merci pour votre commande sur notre boutique en ligne %store_name',
|
||||
'The tracking number for this delivery is: %package' => 'Le numéro de suivi pour cette commande est: %package',
|
||||
'Your %ref order has been shipped' => 'Votre commande %ref vient d\'être expédiée.',
|
||||
'Your order %order_ref (dated %order_date) has been shipped on {format_date date=$update_date output=' => 'Votre commande %order_ref (datée du %order_date) a été expédiée le {format_date date=$update_date output="date"}',
|
||||
'Your order %order_ref dated %order_date has been shipped on %update_date' => 'Votre commande %order_ref datée du %order_date a été expédié le %update_date',
|
||||
'Your order %order_ref dated %order_date has been shipped on {format_date date=$update_date output=' => 'Votre commande %order_ref du %order_date vient d\'être expédiée le {format_date date=$update_date output="date"} order_ref={$order_ref} order_date={format_date date=$order_date} update_date={format_date date=$update_date}',
|
||||
);
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
{* Content *}
|
||||
{block name="email-content"}
|
||||
|
||||
{loop type="customer" name="customer.order" current="false" id="$customer_id" backend_context="1"}
|
||||
<p>{intl l="Dear" } {$LASTNAME} {$FIRSTNAME},</p>
|
||||
{/loop}
|
||||
@@ -25,10 +24,9 @@
|
||||
{if $package}
|
||||
<p>{intl l="The tracking number for this delivery is: %package" package={$package}}</p>
|
||||
{if $tracking_url}
|
||||
<p>{intl l="Please check this URL to track your parcel : %tracking_url" tracking_url={$tracking_url}}</p>
|
||||
<p>{intl l="Please check <a href='%tracking_url'>this URL</a> to track your parcel" tracking_url={$tracking_url}}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
<p>{intl l="Feel free to contact us for any further information"}</p>
|
||||
<p>{intl l="Best Regards."}</p>
|
||||
|
||||
{/block}
|
||||
@@ -6,6 +6,6 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
#delivery-modes img {
|
||||
width: 85px;
|
||||
height: 85px;
|
||||
vertical-align: center;
|
||||
}
|
||||
@@ -3,15 +3,15 @@ AddDefaultCharset UTF-8
|
||||
Options +FollowSymlinks -Indexes
|
||||
|
||||
#Order Deny,Allow
|
||||
#Allow from 80.13.219.222
|
||||
#Allow from 92.108.30
|
||||
#Deny from all
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# Forcer le HTTPS
|
||||
RewriteCond %{SERVER_PORT} 80
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||
#RewriteCond %{SERVER_PORT} 80
|
||||
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||
|
||||
# Forcer le sous domaine
|
||||
#RewriteCond %{HTTP_HOST} !^www.light-domotique.fr$
|
||||
|
||||
@@ -24,7 +24,7 @@ require __DIR__ . '/../core/vendor/autoload.php';
|
||||
$trustedIp = array(
|
||||
'::1',
|
||||
'127.0.0.1',
|
||||
'86.210.183.184',
|
||||
'92.184.108.30'
|
||||
);
|
||||
|
||||
$request = Request::createFromGlobals();
|
||||
|
||||
Reference in New Issue
Block a user