Merge branch 'release' of https://github.com/PrestaShop/PrestaShop into release

This commit is contained in:
François Gaillard committed 2013-03-25 18:04:43 +01:00
commit 66c9c1f66e
25 files changed
+598 -630

No files matched your search

@@ -26,177 +26,174 @@
{if isset($product->id)} {if isset($product->id)}
<input type="hidden" name="submitted_tabs[]" value="Quantities" /> <input type="hidden" name="submitted_tabs[]" value="Quantities" />
<h4>{l s='Available quantities for sale'}</h4> <h4>{l s='Available quantities for sale'}</h4>
{include file="controllers/products/multishop/check_fields.tpl" product_tab="Quantities"}
<div class="separation"></div> <div class="separation"></div>
<div class="hint" style="display:block; position:'auto';"> {if !$ps_stock_management}
<p>{l s='This interface allows you to manage available quantities for sale for products. It also allows you to manage product combinations in the current shop.'}</p> <div class="hint" style="display:block; position:auto;">{l s='The stock management is disabled'}</div>
<p>{l s='You can choose whether or not to use the advanced stock management system for this product.'}</p> {else}
<p>{l s='You can manually specify the quantities for the product/each product combination, or you can choose to automatically determine these quantities based on your stock (if advanced stock management is activated).'}</p> {include file="controllers/products/multishop/check_fields.tpl" product_tab="Quantities"}
<p>{l s='In this case, quantities correspond to the real-stock quantities in the warehouses connected with the current shop, or current group of shops.'}</p> <div class="hint" style="display:block; position:'auto';">
<br/> <p>{l s='This interface allows you to manage available quantities for sale for products. It also allows you to manage product combinations in the current shop.'}</p>
<p>{l s='For packs: If it has products that use advanced stock management, you have to specify a common warehouse for these products in the pack.'}</p> <p>{l s='You can choose whether or not to use the advanced stock management system for this product.'}</p>
<p>{l s='Also, please note that when a product has combinations, its default combination will be used in stock movements.'}</p> <p>{l s='You can manually specify the quantities for the product/each product combination, or you can choose to automatically determine these quantities based on your stock (if advanced stock management is activated).'}</p>
</div> <p>{l s='In this case, quantities correspond to the real-stock quantities in the warehouses connected with the current shop, or current group of shops.'}</p>
<br /> <br/>
<h4>{l s='Available quantities for sale'}</h4> <p>{l s='For packs: If it has products that use advanced stock management, you have to specify a common warehouse for these products in the pack.'}</p>
<div class="separation"></div> <p>{l s='Also, please note that when a product has combinations, its default combination will be used in stock movements.'}</p>
{if $show_quantities == true} </div>
<div class="warn" id="available_quantity_ajax_msg" style="display: none;"></div> <br />
<div class="error" id="available_quantity_ajax_error_msg" style="display: none;"></div> {if $show_quantities == true}
<div class="conf" id="available_quantity_ajax_success_msg" style="display: none;"></div> <div class="warn" id="available_quantity_ajax_msg" style="display: none;"></div>
<div class="error" id="available_quantity_ajax_error_msg" style="display: none;"></div>
<div class="conf" id="available_quantity_ajax_success_msg" style="display: none;"></div>
<table cellpadding="5" style="width:100%"> <table cellpadding="5" style="width:100%">
<tbody> <tbody>
<tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct"> <tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct">
<td valign="top" style="vertical-align:top;"> <td valign="top" style="vertical-align:top;">
<input <input
{if $product->advanced_stock_management == 1 && $stock_management_active == 1} {if $product->advanced_stock_management == 1 && $stock_management_active == 1}
value="1" checked="checked" value="1" checked="checked"
{else} {else}
value="0" value="0"
{/if} {/if}
{if $stock_management_active == 0 || $product->cache_is_pack} {if $stock_management_active == 0 || $product->cache_is_pack}
disabled="disabled" disabled="disabled"
{/if} {/if}
type="checkbox" name="advanced_stock_management" class="advanced_stock_management" id="advanced_stock_management" /> type="checkbox" name="advanced_stock_management" class="advanced_stock_management" id="advanced_stock_management" />
<label style="float:none;font-weight:normal" for="advanced_stock_management"> <label style="float:none;font-weight:normal" for="advanced_stock_management">
{l s='I want to use the advanced stock management system for this product.'} {l s='I want to use the advanced stock management system for this product.'}
{if $stock_management_active == 0 && !$product->cache_is_pack} {if $stock_management_active == 0 && !$product->cache_is_pack}
&nbsp;-&nbsp;<b>{l s='This requires you to enable advanced stock management.'}</b> &nbsp;-&nbsp;<b>{l s='This requires you to enable advanced stock management.'}</b>
{else if $product->cache_is_pack} {else if $product->cache_is_pack}
&nbsp;-&nbsp;<b>{l s='This parameter depends on the product(s) in the pack.'}</b> &nbsp;-&nbsp;<b>{l s='This parameter depends on the product(s) in the pack.'}</b>
{/if} {/if}
</label> </label>
<br /><br /> <br /><br />
</td> </td>
</tr> </tr>
<tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct"> <tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct">
<td valign="top" style="vertical-align:top;"> <td valign="top" style="vertical-align:top;">
<input <input
{if $product->depends_on_stock == 1 && $stock_management_active == 1} {if $product->depends_on_stock == 1 && $stock_management_active == 1}
checked="checked" checked="checked"
{/if} {/if}
{if $stock_management_active == 0 || $product->advanced_stock_management == 0 || $product->cache_is_pack} {if $stock_management_active == 0 || $product->advanced_stock_management == 0 || $product->cache_is_pack}
disabled="disabled" disabled="disabled"
{/if} {/if}
type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_1" value="1"/> type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_1" value="1"/>
<label style="float:none;font-weight:normal" for="depends_on_stock_1"> <label style="float:none;font-weight:normal" for="depends_on_stock_1">
{l s='Available quantities for current product and its combinations are based on warehouse stock. '} {l s='Available quantities for current product and its combinations are based on warehouse stock. '}
{if ($stock_management_active == 0 || $product->advanced_stock_management == 0) && !$product->cache_is_pack} {if ($stock_management_active == 0 || $product->advanced_stock_management == 0) && !$product->cache_is_pack}
&nbsp;-&nbsp;<b>{l s='This requires you to enable advanced stock management globally or for this product.'}</b> &nbsp;-&nbsp;<b>{l s='This requires you to enable advanced stock management globally or for this product.'}</b>
{else if $product->cache_is_pack} {else if $product->cache_is_pack}
&nbsp;-&nbsp;<b>{l s='This parameter depends on the product(s) in the pack.'}</b> &nbsp;-&nbsp;<b>{l s='This parameter depends on the product(s) in the pack.'}</b>
{/if} {/if}
</label> </label>
<br /><br /> <br /><br />
</td> </td>
</tr> </tr>
<tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct"> <tr {if $product->is_virtual || $product->cache_is_pack}style="display:none;"{/if} class="stockForVirtualProduct">
<td valign="top" style="vertical-align:top;"> <td valign="top" style="vertical-align:top;">
<input <input
{if $product->depends_on_stock == 0 || $stock_management_active == 0} {if $product->depends_on_stock == 0 || $stock_management_active == 0}
checked="checked" checked="checked"
{/if} {/if}
type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_0" value="0"/> type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_0" value="0"/>
<label style="float:none;font-weight:normal" for="depends_on_stock_0"> <label style="float:none;font-weight:normal" for="depends_on_stock_0">
{l s='I want to specify available quantities manually.'} {l s='I want to specify available quantities manually.'}
</label> </label>
<br /><br /> <br /><br />
</td> </td>
</tr> </tr>
{if isset($pack_quantity)} {if isset($pack_quantity)}
<tr> <tr>
<td valign="top" style="text-align:left;vertical-align:top;"> <td valign="top" style="text-align:left;vertical-align:top;">
<p><b>{l s='When a product has combinations, quantities will be based on the default combination.'}</b></p> <p><b>{l s='When a product has combinations, quantities will be based on the default combination.'}</b></p>
<p><b>{l s='Given the quantities of the products in this pack, the maximum quantity should be:'} {$pack_quantity}</b></p> <p><b>{l s='Given the quantities of the products in this pack, the maximum quantity should be:'} {$pack_quantity}</b></p>
</td> </td>
</tr> </tr>
{/if} {/if}
<tr> <tr>
<td valign="top" style="text-align:left;vertical-align:top;"> <td valign="top" style="text-align:left;vertical-align:top;">
<table class="table" cellpadding="0" cellspacing="0" style="width:100%;"> <table class="table" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup> <colgroup>
<col width="50"> <col width="50">
<col> <col>
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th>{l s='Quantity'}</th> <th>{l s='Quantity'}</th>
<th>{l s='Designation'}</th> <th>{l s='Designation'}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$attributes item=attribute} {foreach from=$attributes item=attribute}
<tr> <tr>
<td class="available_quantity" id="qty_{$attribute['id_product_attribute']}"> <td class="available_quantity" id="qty_{$attribute['id_product_attribute']}">
<span>{$available_quantity[$attribute['id_product_attribute']]}</span> <span>{$available_quantity[$attribute['id_product_attribute']]}</span>
<input type="text" value="{$available_quantity[$attribute['id_product_attribute']]|htmlentities}"/> <input type="text" value="{$available_quantity[$attribute['id_product_attribute']]|htmlentities}"/>
</td> </td>
<td>{$product_designation[$attribute['id_product_attribute']]}</td> <td>{$product_designation[$attribute['id_product_attribute']]}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</td> </td>
</tr> </tr>
<tr id="when_out_of_stock"> <tr id="when_out_of_stock">
<td> <td>
<table style="margin-top: 15px;"> <table style="margin-top: 15px;">
<tbody> <tbody>
<tr> <tr>
<td class="col-left"><label>{l s='When out of stock:'}</label></td> <td class="col-left"><label>{l s='When out of stock:'}</label></td>
<td style="padding-bottom:5px;"> <td style="padding-bottom:5px;">
<ul class="listForm"> <ul class="listForm">
<li> <li>
<input {if $product->out_of_stock == 0} checked="checked" {/if} id="out_of_stock_1" type="radio" checked="checked" value="0" class="out_of_stock" name="out_of_stock"> <input {if $product->out_of_stock == 0} checked="checked" {/if} id="out_of_stock_1" type="radio" checked="checked" value="0" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_1" class="t" for="out_of_stock_1">{l s='Deny orders'}</label> <label id="label_out_of_stock_1" class="t" for="out_of_stock_1">{l s='Deny orders'}</label>
</li>
<li>
<input {if $product->out_of_stock == 1} checked="checked" {/if} id="out_of_stock_2" type="radio" value="1" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_2" class="t" for="out_of_stock_2">{l s='Allow orders'}</label>
</li> </li>
<li> <li>
<input {if $product->out_of_stock == 1} checked="checked" {/if} id="out_of_stock_2" type="radio" value="1" class="out_of_stock" name="out_of_stock"> <input {if $product->out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_2" class="t" for="out_of_stock_2">{l s='Allow orders'}</label> <label id="label_out_of_stock_3" class="t" for="out_of_stock_3">
</li> {l s='Default'}:
<li> {if $order_out_of_stock == 1}
<input {if $product->out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock"> <i>{l s='Allow orders'}</i>
<label id="label_out_of_stock_3" class="t" for="out_of_stock_3"> {else}
{l s='Default'}: <i>{l s='Deny orders'}</i>
{if $order_out_of_stock == 1} {/if}
<i>{l s='Allow orders'}</i> <a class="confirm_leave" href="index.php?tab=AdminPPreferences&token={$token_preferences}">
{else} {l s='as set in Preferences'}
<i>{l s='Deny orders'}</i> </a>
{/if} </label>
<a class="confirm_leave" href="index.php?tab=AdminPPreferences&token={$token_preferences}"> </li>
{l s='as set in Preferences'} </ul>
</a> </td>
</label> </tr>
</li> </tbody>
</ul> </table>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</td> {else}
</tr> <div class="warn">
</tbody> <p>{l s='It is not possible to manage quantities when:'}</p>
</table> <ul>
{else} <li>{l s='You are currently managing all of your shops.'}</li>
<div class="warn"> <li>{l s='You are currently managing a group of shops where quantities are not shared between every shop in this group.'}</li>
<p>{l s='It is not possible to manage quantities when:'}</p> <li>{l s='You are currently managing a shop that is in a group where quantities are shared between every shop in this group.'}</li>
<ul> </ul>
<li>{l s='You are currently managing all of your shops.'}</li> </div>
<li>{l s='You are currently managing a group of shops where quantities are not shared between every shop in this group.'}</li> {/if}
<li>{l s='You are currently managing a shop that is in a group where quantities are shared between every shop in this group.'}</li>
</ul>
</div>
{/if} {/if}
<div class="separation"></div> <div class="separation"></div>
<h4>{l s='Availability settings'}</h4> <h4>{l s='Availability settings'}</h4>
<table cellpadding="5"> <table cellpadding="5">
{if !$ps_stock_management}
<tr>
<td colspan="2">{l s='The stock management is disabled'}</td>
</tr>
{/if}
{if !$has_attribute} {if !$has_attribute}
<tr> <tr>
<td class="col-left"><label>{l s='Minimum quantity:'}</label></td> <td class="col-left"><label>{l s='Minimum quantity:'}</label></td>
@@ -206,41 +203,43 @@
</td> </td>
</tr> </tr>
{/if} {/if}
<tr> {if $ps_stock_management}
<td class="col-left">
{include file="controllers/products/multishop/checkbox.tpl" field="available_now" type="default" multilang="true"}
<label>{l s='Displayed text when in-stock:'}</label>
</td>
<td style="padding-bottom:5px;" class="col-right">
{include file="controllers/products/input_text_lang.tpl"
languages=$languages
input_value=$product->available_now
input_name='available_now'}
<span class="hint" name="help_box">{l s='Forbidden characters:'} <>;=#{}<span class="hint-pointer">&nbsp;</span></span>
</td>
</tr>
<tr>
<td class="col-left">
{include file="controllers/products/multishop/checkbox.tpl" field="available_later" type="default" multilang="true"}
<label>{l s='Displayed text when back-ordereding is allowed:'}</label>
</td>
<td style="padding-bottom:5px;" class="col-right">
{include file="controllers/products/input_text_lang.tpl"
languages=$languages
input_value=$product->available_later
input_name='available_later'}
<span class="hint" name="help_box">{l s='Forbidden characters:'} <>;=#{}<span class="hint-pointer">&nbsp;</span></span>
</td>
</tr>
{if !$countAttributes}
<tr> <tr>
<td class="col-left"><label>{l s='Available date:'}</label></td> <td class="col-left">
<td style="padding-bottom:5px;"> {include file="controllers/products/multishop/checkbox.tpl" field="available_now" type="default" multilang="true"}
<input id="available_date" name="available_date" value="{$product->available_date}" class="datepicker" <label>{l s='Displayed text when in-stock:'}</label>
style="text-align: center;" type="text" /> </td>
<p>{l s='The available date when this product is out of stock.'}</p> <td style="padding-bottom:5px;" class="col-right">
{include file="controllers/products/input_text_lang.tpl"
languages=$languages
input_value=$product->available_now
input_name='available_now'}
<span class="hint" name="help_box">{l s='Forbidden characters:'} <>;=#{}<span class="hint-pointer">&nbsp;</span></span>
</td>
</tr>
<tr>
<td class="col-left">
{include file="controllers/products/multishop/checkbox.tpl" field="available_later" type="default" multilang="true"}
<label>{l s='Displayed text when back-ordereding is allowed:'}</label>
</td>
<td style="padding-bottom:5px;" class="col-right">
{include file="controllers/products/input_text_lang.tpl"
languages=$languages
input_value=$product->available_later
input_name='available_later'}
<span class="hint" name="help_box">{l s='Forbidden characters:'} <>;=#{}<span class="hint-pointer">&nbsp;</span></span>
</td> </td>
</tr> </tr>
{if !$countAttributes}
<tr>
<td class="col-left"><label>{l s='Available date:'}</label></td>
<td style="padding-bottom:5px;">
<input id="available_date" name="available_date" value="{$product->available_date}" class="datepicker"
style="text-align: center;" type="text" />
<p>{l s='The available date when this product is out of stock.'}</p>
</td>
</tr>
{/if}
{/if} {/if}
</table> </table>
@@ -119,8 +119,7 @@
{if $table_id} id={$table_id}{/if} {if $table_id} id={$table_id}{/if}
class="table {if $table_dnd}tableDnD{/if} {$table}" class="table {if $table_dnd}tableDnD{/if} {$table}"
cellpadding="0" cellspacing="0" cellpadding="0" cellspacing="0"
style="width: 100%; margin-bottom:10px;" style="width: 100%; margin-bottom:10px;">
>
<col width="10px" /> <col width="10px" />
{foreach $fields_display AS $key => $params} {foreach $fields_display AS $key => $params}
<col {if isset($params.width) && $params.width != 'auto'}width="{$params.width}px"{/if}/> <col {if isset($params.width) && $params.width != 'auto'}width="{$params.width}px"{/if}/>
@@ -146,8 +145,10 @@
</span> </span>
{if (!isset($params.orderby) || $params.orderby) && !$simple_header} {if (!isset($params.orderby) || $params.orderby) && !$simple_header}
<br /> <br />
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=desc&token={$token}"><img border="0" src="../img/admin/down{if isset($order_by) && ($key == $order_by) && ($order_way == 'DESC')}_d{/if}.gif" /></a> <a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=desc&token={$token}{if isset($smarty.get.$identifier)}&{$identifier}={$smarty.get.$identifier|intval}{/if}">
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=asc&token={$token}"><img border="0" src="../img/admin/up{if isset($order_by) && ($key == $order_by) && ($order_way == 'ASC')}_d{/if}.gif" /></a> <img border="0" src="../img/admin/down{if isset($order_by) && ($key == $order_by) && ($order_way == 'DESC')}_d{/if}.gif" /></a>
<a href="{$currentIndex}&{$table}Orderby={$key|urlencode}&{$table}Orderway=asc&token={$token}{if isset($smarty.get.$identifier)}&{$identifier}={$smarty.get.$identifier|intval}{/if}">
<img border="0" src="../img/admin/up{if isset($order_by) && ($key == $order_by) && ($order_way == 'ASC')}_d{/if}.gif" /></a>
{elseif !$simple_header} {elseif !$simple_header}
<br />&nbsp; <br />&nbsp;
{/if} {/if}
+2 -8
View File
@@ -204,8 +204,8 @@ class LanguageCore extends ObjectModel
// @todo Since a lot of modules are not in right format with their primary keys name, just get true ... // @todo Since a lot of modules are not in right format with their primary keys name, just get true ...
$resUpdateSQL = $this->loadUpdateSQL(); $resUpdateSQL = $this->loadUpdateSQL();
$resUpdateSQL = true; $resUpdateSQL = true;
Tools::generateHtaccess();
return $resUpdateSQL && Tools::generateHtaccess(); return $resUpdateSQL;
} }
public function toggleStatus() public function toggleStatus()
@@ -795,20 +795,14 @@ class LanguageCore extends ObjectModel
$gz = new Archive_Tar($file, true); $gz = new Archive_Tar($file, true);
$files_list = $gz->listContent(); $files_list = $gz->listContent();
if (!$gz->extract(_PS_TRANSLATIONS_DIR_.'../', false)) if (!$gz->extract(_PS_TRANSLATIONS_DIR_.'../', false))
{
$errors[] = Tools::displayError('Cannot decompress the translation file for the following language: ').(string)$iso; $errors[] = Tools::displayError('Cannot decompress the translation file for the following language: ').(string)$iso;
return false;
}
else else
{ {
AdminTranslationsController::checkAndAddMailsFiles($iso, $files_list); AdminTranslationsController::checkAndAddMailsFiles($iso, $files_list);
AdminTranslationsController::addNewTabs($iso, $files_list); AdminTranslationsController::addNewTabs($iso, $files_list);
} }
if (!Language::checkAndAddLanguage((string)$iso, $lang_pack)) if (!Language::checkAndAddLanguage((string)$iso, $lang_pack))
{
$errors[] = Tools::displayError('An error occurred while creating the language: ').(string)$iso; $errors[] = Tools::displayError('An error occurred while creating the language: ').(string)$iso;
return false;
}
@unlink($file); @unlink($file);
} }
else else
+1 -2
View File
@@ -295,7 +295,6 @@ class LocalizationPackCore
// if we are not in an installation context or if the pack is not available in the local directory // if we are not in an installation context or if the pack is not available in the local directory
if (Language::getIdByIso($attributes['iso_code']) && !$install_mode) if (Language::getIdByIso($attributes['iso_code']) && !$install_mode)
continue; continue;
$errors = Language::downloadAndInstallLanguagePack($attributes['iso_code'], $attributes['version']); $errors = Language::downloadAndInstallLanguagePack($attributes['iso_code'], $attributes['version']);
if ($errors !== true && is_array($errors)) if ($errors !== true && is_array($errors))
$this->_errors = array_merge($this->_errors, $errors); $this->_errors = array_merge($this->_errors, $errors);
@@ -304,7 +303,7 @@ class LocalizationPackCore
if (!count($this->_errors) && $install_mode && isset($attributes['iso_code']) && count($xml->languages->language) == 1) if (!count($this->_errors) && $install_mode && isset($attributes['iso_code']) && count($xml->languages->language) == 1)
$this->iso_code_lang = $attributes['iso_code']; $this->iso_code_lang = $attributes['iso_code'];
return true; return !count($this->_errors);
} }
protected function _installUnits($xml) protected function _installUnits($xml)
@@ -2206,10 +2206,6 @@ class AdminProductsControllerCore extends AdminController
foreach ($this->available_tabs as $product_tab => $value) foreach ($this->available_tabs as $product_tab => $value)
{ {
// if it's the quantities tab and stock management is disabled, continue
if ($stock_management_active == 0 && $product_tab == 'Quantities')
continue;
// if it's the warehouses tab and advanced stock management is disabled, continue // if it's the warehouses tab and advanced stock management is disabled, continue
if ($advanced_stock_management_active == 0 && $product_tab == 'Warehouses') if ($advanced_stock_management_active == 0 && $product_tab == 'Warehouses')
continue; continue;
@@ -26,12 +26,12 @@
function update_genders_images() function update_genders_images()
{ {
if (file_exists(_PS_IMG_DIR_.'genders/Mr.jpg')) if (file_exists(_PS_ROOT_DIR_.'/img/genders/Mr.jpg'))
@rename(_PS_IMG_DIR_.'genders/Mr.jpg', _PS_IMG_DIR_.'genders/1.jpg'); @rename(_PS_ROOT_DIR_.'/img/genders/Mr.jpg', _PS_ROOT_DIR_.'/img/genders/1.jpg');
if (file_exists(_PS_IMG_DIR_.'genders/Ms.jpg')) if (file_exists(_PS_ROOT_DIR_.'/img/genders/Ms.jpg'))
@rename(_PS_IMG_DIR_.'genders/Ms.jpg', _PS_IMG_DIR_.'genders/2.jpg'); @rename(_PS_ROOT_DIR_.'/img/genders/Ms.jpg', _PS_ROOT_DIR_.'/img/genders/2.jpg');
if (file_exists(_PS_IMG_DIR_.'genders/Miss.jpg')) if (file_exists(_PS_ROOT_DIR_.'/img/genders/Miss.jpg'))
@rename(_PS_IMG_DIR_.'genders/Miss.jpg', _PS_IMG_DIR_.'genders/3.jpg'); @rename(_PS_ROOT_DIR_.'/img/genders/Miss.jpg', _PS_ROOT_DIR_.'/img/genders/3.jpg');
if (file_exists(_PS_IMG_DIR_.'genders/unknown.jpg')) if (file_exists(_PS_ROOT_DIR_.'genders/unknown.jpg'))
@rename(_PS_IMG_DIR_.'unknown.jpg', _PS_IMG_DIR_.'Unknown.jpg'); @rename(_PS_ROOT_DIR_.'/img/genders/unknown.jpg', _PS_ROOT_DIR_.'/img/genders/Unknown.jpg');
} }
+1 -1
View File
@@ -16,5 +16,5 @@ ALTER TABLE `PREFIX_order_carrier` CHANGE `weight` `weight` DECIMAL(20, 6) NOT N
ALTER TABLE `PREFIX_attribute_impact` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'; ALTER TABLE `PREFIX_attribute_impact` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
ALTER TABLE `PREFIX_order_detail` CHANGE `product_weight` `product_weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'; ALTER TABLE `PREFIX_order_detail` CHANGE `product_weight` `product_weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
ALTER TABLE `PREFIX_stock_available` DROP INDEX `product_sqlstock`; ALTER TABLE `PREFIX_stock_available` DROP INDEX `product_sqlstock`;
ALTER TABLE `PREFIX_stock_available` ADD UNIQUE (`id_product`, `id_product_attribute`, `id_shop`); ALTER TABLE `PREFIX_stock_available` ADD UNIQUE `product_sqlstock` (`id_product`, `id_product_attribute`, `id_shop`);
ALTER TABLE `PREFIX_cms` ADD INDEX (`id_cms_category`); ALTER TABLE `PREFIX_cms` ADD INDEX (`id_cms_category`);
+3 -1
View File
@@ -49,4 +49,6 @@ ALTER TABLE `PREFIX_address` CHANGE `phone_mobile` `phone_mobile` varchar(32) de
UPDATE `PREFIX_customer` SET `id_gender` = 1 WHERE `email` LIKE 'pub@prestashop.com' AND `id_customer` = 1 AND `id_gender` = 4; UPDATE `PREFIX_customer` SET `id_gender` = 1 WHERE `email` LIKE 'pub@prestashop.com' AND `id_customer` = 1 AND `id_gender` = 4;
UPDATE `PREFIX_cart_rule_carrier` crc INNER JOIN `PREFIX_carrier` c ON crc.`id_carrier` = c.`id_carrier` SET crc.`id_carrier` = c.`id_reference`; UPDATE `PREFIX_cart_rule_carrier` crc INNER JOIN `PREFIX_carrier` c ON crc.`id_carrier` = c.`id_carrier` SET crc.`id_carrier` = c.`id_reference`;
UPDATE `PREFIX_order_payment` SET `order_reference` = LPAD(order_reference, 9 , '0');
+46 -38
View File
@@ -1,46 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family: Verdana,sans-serif; font-size: 11px; color: rgb(55, 73, 83); width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border: medium none;" /></a></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Bonjour <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td> <td align="left">Bonjour <strong style="color: rgb(219, 52, 132);">{firstname} {lastname}</strong>,</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Votre panier chez {shop_name}</td> <td align="left" style="background-color: rgb(219, 52, 132); color: rgb(255, 255, 255); font-size: 12px; font-weight: bold; padding: 0.5em 1em;">Votre panier chez {shop_name}</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Nous avons remarqu&eacute; que lors de votre dernier passage chez {shop_name}, vous n&#039;avez pas valid&eacute; la commande que vous aviez entam&eacute;e.<br /><br /> Votre panier a &eacute;t&eacute; conserv&eacute;, vous pouvez reprendre votre commande en vous rendant sur notre boutique :<br /><br /> <a title="{shop_name}" href="{shop_url}">{shop_url}</a><br /><br /> A titre exceptionnel, nous vous accordons &eacute;galement une remise de {amount}% sur votre commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td> <td align="left">Nous avons remarqu&eacute; que lors de votre dernier passage chez {shop_name}, vous n&#39;avez pas valid&eacute; la commande que vous aviez entam&eacute;e.<br />
</tr> <br />
<tr> Vous panier a &eacute;t&eacute; conserv&eacute;, vous pouvez reprendre votre commande en vous rendant sur notre boutique :<br />
<td>&nbsp;</td> <br />
</tr> <a href="{shop_url}" title="{shop_name}">{shop_url}</a><br />
<tr> <br />
<td align="left">Voici votre bon de r&eacute;duction : <strong>{voucher_num}</strong><br /><br /> Saisissez ce code dans votre panier afin d&#039;obtenir votre r&eacute;duction.</td> A titre exceptionnel, nous vous accordons &eacute;galement une remise de {amount}% sur votre commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> r&eacute;alis&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td> <td align="left">Voici votre bon de r&eacute;duction : <b>{voucher_num}</b><br />
</tr> <br />
</tbody> Saisissez ce code dans votre panier afin d&#39;obtenir votre r&eacute;duction.</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td align="center" style="font-size: 10px; border-top: 1px solid rgb(217, 218, 222);"><a href="{shop_url}" style="color: rgb(219, 52, 132); font-weight: bold; text-decoration: none;">{shop_name}</a> r&eacute;alis&eacute; avec <a href="http://www.prestashop.com/" style="text-decoration: none; color: rgb(55, 73, 83);">PrestaShop&trade;</a></td>
</tr>
</tbody>
</table> </table>
</body> </body>
</html> </html>
+13 -18
View File
@@ -1,18 +1,13 @@
Bonjour {firstname} {lastname}, Bonjour {firstname} {lastname},
Nous avons remarqué que lors de votre dernier passage chez {shop_name}, vous n'avez pas validé la commande que vous aviez entamée. Nous avons remarqué que lors de votre dernier passage chez {shop_name}, vous n'avez pas validé la commande que vous aviez entamée.
Votre panier a été conservé, vous pouvez reprendre votre commande en vous rendant sur notre boutique : Vous panier a été conservé, vous pouvez reprendre votre commande en vous rendant sur notre boutique :
{shop_url} {shop_url}
A titre exceptionnel, nous vous accordons également une remise de {amount}% sur votre commande ! Cette offre est valable {days} jours, ne perdez plus un instant ! A titre exceptionnel, nous vous accordons également une remise de {amount}% sur votre commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
Voici votre bon de réduction: {voucher_num} Voici votre bon de réduction: {voucher_num}
Saisissez ce code dans votre panier afin d'obtenir votre réduction. Saisissez ce code dans votre panier afin d'obtenir votre réduction.
{shop_url} réalisé avec PrestaShop™
+40 -38
View File
@@ -1,46 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" /></a></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Bonjour <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td> <td align="left">Bonjour <strong style="color:#DB3484;">{firstname} {lastname}</strong>,</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Merci pour votre commande chez {shop_name}</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Merci pour votre commande chez {shop_name}</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Merci pour votre commande, &agrave; titre exceptionnel, nous vous accordons une remise de {amount}% sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td> <td align="left">Merci pour votre commande, &agrave; titre exceptionnel, nous vous accordons une remise de {amount}% sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Voici votre bon de r&eacute;duction : <strong>{voucher_num}</strong><br /><br /> Saisissez ce code dans votre panier afin d&#039;obtenir votre r&eacute;duction.</td> <td align="left">Voici votre bon de r&eacute;duction : <b>{voucher_num}</b><br />
</tr> <br />
<tr> Saisissez ce code dans votre panier afin d&#39;obtenir votre r&eacute;duction.</td>
<td>&nbsp;</td> </tr>
</tr> <tr>
<tr> <td>&nbsp;</td>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> r&eacute;alis&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td> </tr>
</tr> <tr>
</tbody> <td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;"><a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> r&eacute;alis&eacute; avec <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop&trade;</a></td>
</tr>
</tbody>
</table> </table>
</body> </body>
</html> </html>
+9 -14
View File
@@ -1,14 +1,9 @@
Bonjour {firstname} {lastname}, Bonjour {firstname} {lastname},
Merci pour votre commande chez {shop_name} Merci pour votre commande chez {shop_name}
Merci pour votre commande, ? titre exceptionnel, nous vous accordons une remise de {amount}% sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant ! Merci pour votre commande, ? titre exceptionnel, nous vous accordons une remise de {amount}% sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
Voici votre bon de réduction : {voucher_num} Voici votre bon de réduction : {voucher_num}
Saisissez ce code dans votre panier afin d'obtenir votre réduction. Saisissez ce code dans votre panier afin d'obtenir votre réduction.
{shop_url} réalisé avec PrestaShop™
+42 -38
View File
@@ -1,46 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tbody>
<tr> <tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <td align="left"><a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" /></a></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Bonjour <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td> <td align="left">Bonjour <strong style="color:#DB3484;">{firstname} {lastname}</strong>,</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{shop_name} vous remercie pour votre confiance</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">{shop_name} vous remercie pour votre confiance</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td align="left">Vous faites partie de nos meilleurs clients et &agrave; ce titre, nous souhaitons vous remercier pour la confiance dont vous nous faites part.<br /><br /> A titre exceptionnel, nous vous accordons <strong>une remise de {amount}%</strong> valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td> <td align="left">Vous faites partie de nos meilleurs clients et &agrave; ce titre, nous souhaitons vous remercier pour la confiance dont vous nous faites part.<br />
</tr> <br />
<tr> A titre exceptionnel, nous vous accordons <b>une remise de {amount}%</b> valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td>
<td>&nbsp;</td> </tr>
</tr> <tr>
<tr> <td>&nbsp;</td>
<td align="left">Voici votre bon de r&eacute;duction : <strong>{voucher_num}</strong><br /><br /> Saisissez ce code dans votre panier afin d&#039;obtenir votre r&eacute;duction.</td> </tr>
</tr> <tr>
<tr> <td align="left">Voici votre bon de r&eacute;duction : <b>{voucher_num}</b><br />
<td>&nbsp;</td> <br />
</tr> Saisissez ce code dans votre panier afin d&#39;obtenir votre r&eacute;duction.</td>
<tr> </tr>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> r&eacute;alis&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td> <tr>
</tr> <td>&nbsp;</td>
</tbody> </tr>
<tr>
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;"><a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> r&eacute;alis&eacute; avec <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop&trade;</a></td>
</tr>
</tbody>
</table> </table>
</body> </body>
</html> </html>
+9 -14
View File
@@ -1,14 +1,9 @@
Bonjour {firstname} {lastname}, Bonjour {firstname} {lastname},
Vous faites partie de nos meilleurs clients et à ce titre, nous souhaitons vous remercier pour la confiance dont vous nous faites part. Vous faites partie de nos meilleurs clients et à ce titre, nous souhaitons vous remercier pour la confiance dont vous nous faites part.
A titre exceptionnel, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant ! A titre exceptionnel, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
Voici votre bon de réduction : {voucher_num} Voici votre bon de réduction : {voucher_num}
Saisissez ce code dans votre panier afin d'obtenir votre réduction. Saisissez ce code dans votre panier afin d'obtenir votre réduction.
{shop_url} réalisé avec PrestaShop™
+43 -45
View File
@@ -1,46 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tr>
<tr> <td align="left">
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="left">Bonjour <strong style="color:#DB3484;">{firstname} {lastname}</strong>,</td>
<td align="left">Bonjour <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td> </tr>
</tr> <tr><td>&nbsp;</td></tr>
<tr> <tr>
<td>&nbsp;</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Vous nous manquez chez {shop_name}</td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Vous nous manquez chez {shop_name}</td> <tr>
</tr> <td align="left">
<tr> Vous faites partie de nos meilleurs clients cependant vous n'avez pas pass&eacute; de commande depuis {days_threshold} jours.<br /><br />
<td>&nbsp;</td> Nous souhaitons vous remercier pour la confiance dont vous nous faites part et &agrave; ce titre, nous vous accordons <b>une remise de {amount}%</b> valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
</tr> </td>
<tr> </tr>
<td align="left">Vous faites partie de nos meilleurs clients cependant vous n&#039;avez pas pass&eacute; de commande depuis {days_threshold} jours.<br /><br /> Nous souhaitons vous remercier pour la confiance dont vous nous faites part et &agrave; ce titre, nous vous accordons <strong>une remise de {amount}%</strong> valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="left">
<td>&nbsp;</td> Voici votre bon de r&eacute;duction : <b>{voucher_num}</b><br /><br />
</tr> Saisissez ce code dans votre panier afin d'obtenir votre r&eacute;duction.
<tr> </td>
<td align="left">Voici votre bon de r&eacute;duction : <strong>{voucher_num}</strong><br /><br /> Saisissez ce code dans votre panier afin d&#039;obtenir votre r&eacute;duction.</td> </tr>
</tr> <tr><td>&nbsp;</td></tr>
<tr> <tr>
<td>&nbsp;</td> <td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
</tr> <a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> r&eacute;alis&eacute; avec <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop&trade;</a>
<tr> </td>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> r&eacute;alis&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td> </tr>
</tr> </table>
</tbody> </body>
</table>
</body>
</html> </html>
+9 -13
View File
@@ -1,13 +1,9 @@
Bonjour {firstname} {lastname}, Bonjour {firstname} {lastname},
Vous faites partie de nos meilleurs clients cependant vous n'avez pas passé de commande depuis {days_threshold} jours. Vous faites partie de nos meilleurs clients cependant vous n'avez pas pass? de commande depuis {days_threshold} jours.
Nous souhaitons vous remercier pour la confiance dont vous nous faites part et ? ce titre, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant ! Nous souhaitons vous remercier pour la confiance dont vous nous faites part et ? ce titre, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
Voici votre bon de réduction : {voucher_num} Voici votre bon de réduction : {voucher_num}
Saisissez ce code dans votre panier afin d'obtenir votre réduction. Saisissez ce code dans votre panier afin d'obtenir votre réduction.
{shop_url} réalisé avec PrestaShop™
+2 -3
View File
@@ -1,11 +1,10 @@
Bonjour, Bonjour,
Le produit {product} est de nouveau disponible. Le produit {product} est de nouveau disponible.
En effet, le stock a été réapprovisionné. En effet, le stock a été réaprovisionné.
Vous pouvez accéder à la page produit à ce lien: {product_link} Vous pouvez accéder à la page produit à ce lien: {product_link}
Vous pouvez donc de nouveau commander ce produit depuis notre catalogue en ligne. Vous pouvez donc de nouveau commander ce produit depuis notre catalogue en ligne.
{shop_url} réalisé par PrestaShop™
{shop_url} réalisé avec PrestaShop™
+2 -2
View File
@@ -9,7 +9,7 @@ Mode de paiement : {payment}
Bons d'achat et réductions : {total_discounts} Bons d'achat et réductions : {total_discounts}
Frais d'expédition : {total_shipping} Frais d'expédition : {total_shipping}
Total produits : {total_products} Total produits : {total_products}
Emballage cadeau : {total_wrapping} Emballage cadeau: {total_wrapping}
Total TTC : {total_paid} Total TTC : {total_paid}
Adresse de livraison : Adresse de livraison :
@@ -22,4 +22,4 @@ Message client :
{message} {message}
{shop_url} réalisé avec PrestaShop™ {shop_url} réalisé par PrestaShop™
@@ -6,4 +6,4 @@ Stock restant : {qty}
Nous vous conseillons de vous rendre sur la fiche du produit afin de renouveler vos stocks. Nous vous conseillons de vous rendre sur la fiche du produit afin de renouveler vos stocks.
{shop_url} réalisé avec PrestaShop™ {shop_url} réalisé par PrestaShop™
@@ -1,46 +1,40 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tr>
<tr> <td align="left">
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="left"><strong style="color:#8C9CC0;">F&eacute;licitations !</strong></td>
<td align="left"><strong style="color: #8c9cc0;">F&eacute;licitations !</strong></td> </tr>
</tr> <tr><td>&nbsp;</td></tr>
<tr> <tr>
<td>&nbsp;</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Votre filleul(e) <strong>{sponsored_firstname} {sponsored_lastname}</strong> a effectu&eacute; son premier achat sur <a href="{shop_url}" style="color:#FFF; font-size: 12px; font-weight:bold;">{shop_name}</a> !</td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Votre filleul(e) <strong>{sponsored_firstname} {sponsored_lastname}</strong> a effectu&eacute; son premier achat sur <a style="color: #fff; font-size: 12px; font-weight: bold;" href="{shop_url}">{shop_name}</a> !</td> <tr>
</tr> <td align="left">
<tr> Nous avons le plaisir de vous offrir un bon d'achat de {discount_display} (bon de r&eacute;duction avec le code {discount_name}), que vous pourrez utiliser &agrave; l'occasion de votre prochaine commande.
<td>&nbsp;</td> </td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td align="left">Nous avons le plaisir de vous offrir un bon d&#039;achat de {discount_display} (bon de r&eacute;duction avec le code {discount_name}), que vous pourrez utiliser &agrave; l&#039;occasion de votre prochaine commande.</td> <tr>
</tr> <td align="left">Bien cordialement,</td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
<td align="left">Bien cordialement,</td> <a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propuls&eacute; par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> </table>
</tr> </body>
<tr> </html>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> propuls&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td>
</tr>
</tbody>
</table>
</body>
</html>
@@ -1,9 +1,9 @@
Félicitations ! Félicitations !
Votre filleul(e) {sponsored_firstname} {sponsored_lastname} a effectué son premier achat sur notre site {shop_url} ! Votre filleul(e) {sponsored_firstname} {sponsored_lastname} a effectué son premier achat sur notre site {shop_url} !
Nous avons le plaisir de vous offrir un bon d'achat de {discount_display} (bon de réduction avec le code : {discount_name}), que vous pourrez utiliser à l'occasion de votre prochaine commande. Nous avons le plaisir de vous offrir un bon d'achat de {discount_display} (bon de réduction avec le code : {discount_name}), que vous pourrez utiliser à l'occasion de votre prochaine commande.
{shop_url} réalisé avec PrestaShop™ {shop_url} réalisé par PrestaShop™
@@ -1,58 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tr>
<tr> <td align="left">
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="left"><strong style="color:#DB3484;">{firstname_friend} {lastname_friend}, rejoignez-nous !</strong></td>
<td align="left"><strong style="color: #db3484;">{firstname_friend} {lastname_friend}, rejoignez-nous !</strong></td> </tr>
</tr> <tr><td>&nbsp;</td></tr>
<tr> <tr>
<td>&nbsp;</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Votre ami(e) <strong>{firstname} {lastname}</strong> vous a parrain&eacute; depuis le site <a href="{shop_url}" style="color:#FFF; font-size: 12px; font-weight:bold;">{shop_name}</a> !</td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Votre ami(e) <strong>{firstname} {lastname}</strong> vous a parrain&eacute; depuis le site <a style="color: #fff; font-size: 12px; font-weight: bold;" href="{shop_url}">{shop_name}</a> !</td> <tr>
</tr> <td align="left">
<tr> Devenez son(sa) filleul(e) afin de gagner un bon d'achat de {discount}!
<td>&nbsp;</td> </td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td align="left">Devenez son(sa) filleul(e) afin de gagner un bon d&#039;achat de {discount}!</td> <tr>
</tr> <td align="left">
<tr> <a href="{shop_url}{link}" title="s'inscrire" style="font-family:Verdana,sans-serif; font-size:11px; color:#374953;">Pour nous rejoindre, rien de plus simple, cliquez-ici !</a>
<td>&nbsp;</td> </td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td align="left"><a style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953;" title="s&#039;inscrire" href="{link}">Pour nous rejoindre, rien de plus simple, cliquez-ici !</a></td> <tr>
</tr> <td align="left">
<tr> N'oubliez pas d'y pr&eacute;ciser l'email de votre ami en tant que parrain lors de votre inscription : {email}.
<td>&nbsp;</td> </td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td align="left">N&#039;oubliez pas d&#039;y pr&eacute;ciser l&#039;email de votre ami en tant que parrain lors de votre inscription : {email}.</td> <tr>
</tr> <td align="left">Bien cordialement,</td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
<td align="left">Bien cordialement,</td> <a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propuls&eacute; par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> </table>
</tr> </body>
<tr> </html>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> propuls&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td>
</tr>
</tbody>
</table>
</body>
</html>
@@ -1,15 +1,15 @@
{firstname_friend} {lastname_friend}, rejoignez-nous ! {firstname_friend} {lastname_friend}, rejoignez-nous !
Votre ami(e) {firstname} {lastname} vous a parrainé depuis le site {shop_url}. Votre ami(e) {firstname} {lastname} vous a parrainé depuis le site {shop_url}.
Devenez son(sa) filleul(e) afin de gagner un bon d'achat de {discount}! Devenez son(sa) filleul(e) afin de gagner un bon d'achat de {discount}!
Pour nous rejoindre, rien de plus simple, rendez-vous à l'adresse suivante : Pour nous rejoindre, rien de plus simple, rendez-vous à l'adresse suivante :
{shop_url}{link} {shop_url}{link}
N'oubliez pas d'y préciser l'e-mail de votre ami en tant que parrain lors de votre inscription : {email}. N'oubliez pas d'y préciser l'email de votre ami en tant que parrain lors de votre inscription : {email}.
{shop_url} réalisé avec PrestaShop™ {shop_url} réalisé par PrestaShop™
@@ -1,46 +1,43 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message de {shop_name}</title> <title>Message de {shop_name}</title>
</head> </head>
<body> <body>
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;"> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
<tbody> <tr>
<tr> <td align="left">
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> <a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
</tr> </td>
<tr> </tr>
<td>&nbsp;</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="left">Bonjour <strong style="color:#DB3484;">{firstname} {lastname}</strong>,</td>
<td align="left">Bonjour <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td> </tr>
</tr> <tr><td>&nbsp;</td></tr>
<tr> <tr>
<td>&nbsp;</td> <td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Programme de Parrainage</td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Programme de Parrainage</td> <tr>
</tr> <td align="left">
<tr> Nous vous informons de la g&eacute;n&eacute;ration d'un bon de r&eacute;duction &agrave; votre nom relatif &agrave; votre parrainage.
<td>&nbsp;</td> </td>
</tr> </tr>
<tr> <tr><td>&nbsp;</td></tr>
<td align="left">Nous vous informons de la g&eacute;n&eacute;ration d&#039;un bon de r&eacute;duction &agrave; votre nom relatif &agrave; votre parrainage.</td> <tr>
</tr> <td align="left">
<tr> Voici le num&eacute;ro de votre bon de r&eacute;duction : <b>{voucher_num}</b>, d'un montant total de <b>{voucher_amount}</b>.<br />
<td>&nbsp;</td> Copiez-collez ce code dans le panier de votre prochain achat avant de r&eacute;gler la commande.
</tr> </td>
<tr> </tr>
<td align="left">Voici le num&eacute;ro de votre bon de r&eacute;duction : <strong>{voucher_num}</strong>, d&#039;un montant total de <strong>{voucher_amount}</strong>.<br /> Copiez-collez ce code dans le panier de votre prochain achat avant de r&eacute;gler la commande.</td> <tr><td>&nbsp;</td></tr>
</tr> <tr>
<tr> <td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
<td>&nbsp;</td> <a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propuls&eacute; par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
</tr> </td>
<tr> </tr>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> propuls&eacute; avec <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop&trade;</a></td> </table>
</tr> </body>
</tbody> </html>
</table>
</body>
</html>
@@ -1,10 +1,10 @@
Bonjour {firstname} {lastname}, Bonjour {firstname} {lastname},
Nous vous informons que vous venez d'obtenir un bon d'achat suite à votre parrainage. Nous vous informons que vous venez d'obtenir un bon d'achat suite à votre parrainage.
Voici le numéro de votre bon : {voucher_num}, d'un montant total de {voucher_amount}. Voici le numéro de votre bon : {voucher_num}, d'un montant total de {voucher_amount}.
Copiez-collez ce code dans le panier de votre prochain achat avant de régler la commande. Copiez-collez ce code dans le panier de votre prochain achat avant de régler la commande.
{shop_url} réalisé avec PrestaShop™ {shop_url} réalisé par PrestaShop™