diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 1da5a589a..0e6e53a9f 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -261,6 +261,7 @@ class ProductControllerCore extends FrontController 'HOOK_PRODUCT_ACTIONS' => Hook::exec('displayProductButtons', array('product' => $this->product)), 'HOOK_PRODUCT_TAB' => Hook::exec('displayProductTab', array('product' => $this->product)), 'HOOK_PRODUCT_TAB_CONTENT' => Hook::exec('displayProductTabContent', array('product' => $this->product)), + 'HOOK_PRODUCT_CONTENT' => Hook::exec('displayProductContent', array('product' => $this->product)), 'display_qties' => (int)Configuration::get('PS_DISPLAY_QTIES'), 'display_ht' => !Tax::excludeTaxeOption(), 'currencySign' => $this->context->currency->sign, diff --git a/modules/themeconfigurator/themeconfigurator.php b/modules/themeconfigurator/themeconfigurator.php index 868fea40a..caabfdead 100644 --- a/modules/themeconfigurator/themeconfigurator.php +++ b/modules/themeconfigurator/themeconfigurator.php @@ -130,7 +130,7 @@ class ThemeConfigurator extends Module \'0\', \'home\', \'\', - \'\', + \'0\', \'banner-img'.$i.'.jpg\', \'\', \'\', @@ -152,7 +152,7 @@ class ThemeConfigurator extends Module \'0\', \'top\', \'\', - \'\', + \'0\', \'banner-img'.$i.'.jpg\', \'\', \'\', diff --git a/themes/default-bootstrap/authentication.tpl b/themes/default-bootstrap/authentication.tpl index 24e23c000..b595f47f3 100644 --- a/themes/default-bootstrap/authentication.tpl +++ b/themes/default-bootstrap/authentication.tpl @@ -31,46 +31,45 @@ {/capture}

{if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if}

@@ -80,64 +79,59 @@ $(document).ready(function() { {assign var="postCodeExist" value=false} {if !isset($email_create)} -
-
-
- -
-

{l s='Create an account'}

-
-

{l s='Please enter your email address to create an account.'}

- -
- - -
-
- {if isset($back)}{/if} - - -
-
-
-
-
-
-
-
-

{l s='Already registered?'}

-
-
- - -
-
- - -
-

{l s='Forgot your password?'}

-

- {if isset($back)}{/if} - -

-
-
-
-
+
+
+
+

{l s='Create an account'}

+
+

{l s='Please enter your email address to create an account.'}

+ +
+ + +
+
+ {if isset($back)}{/if} + + +
+
+
+
+
+
+

{l s='Already registered?'}

+
+
+ + +
+
+ + +
+

{l s='Forgot your password?'}

+

+ {if isset($back)}{/if} + +

+
+
+
{if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED} -
-
-
-
-

{l s='Instant checkout'}

- -
- - -
-
- - {foreach from=$genders key=k item=gender} -
- -
- {/foreach} -
-
- - - -
-
- - - -
-
- -
-
- - {* - {l s='January'} - {l s='February'} - {l s='March'} - {l s='April'} - {l s='May'} - {l s='June'} - {l s='July'} - {l s='August'} - {l s='September'} - {l s='October'} - {l s='November'} - {l s='December'} - *} -
-
- -
-
- -
-
-
- {if isset($newsletter) && $newsletter} -
- -
-
- -
- {/if} -

{l s='Delivery address'}

- {foreach from=$dlv_all_fields item=field_name} - {if $field_name eq "company"} -
- - + +
+
+
+

{l s='Instant checkout'}

+ +
+ +
- {elseif $field_name eq "vat_number"} - -
- - {$HOOK_CREATE_ACCOUNT_FORM} -
-

- *{l s='Required field'} - - -

-
+ {/if} {else} -
- {$HOOK_CREATE_ACCOUNT_TOP} - - {if $b2b_enable} - - {/if} - {if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE} - - - {/if} - {$HOOK_CREATE_ACCOUNT_FORM} -
- - - {if isset($back)}{/if} - -

*{l s='Required field'}

-
-
- +
+ {$HOOK_CREATE_ACCOUNT_TOP} + + {if $b2b_enable} + + {/if} + {if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE} + + + {/if} + {$HOOK_CREATE_ACCOUNT_FORM} +
+ + + {if isset($back)}{/if} + +

*{l s='Required field'}

+
+
+ {/if} \ No newline at end of file diff --git a/themes/default-bootstrap/modules/blockbestsellers/tab.tpl b/themes/default-bootstrap/modules/blockbestsellers/tab.tpl index 48e726934..9af78eed8 100644 --- a/themes/default-bootstrap/modules/blockbestsellers/tab.tpl +++ b/themes/default-bootstrap/modules/blockbestsellers/tab.tpl @@ -24,5 +24,5 @@ *} {if is_array($best_sellers) && count($best_sellers)} -
  • {l s='Best Sellers' mod='blockbestsellers'}
  • +
  • {l s='Best Sellers' mod='blockbestsellers'}
  • {/if} \ No newline at end of file diff --git a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl index 916713c12..203ffcc97 100644 --- a/themes/default-bootstrap/modules/blocknewproducts/tab.tpl +++ b/themes/default-bootstrap/modules/blocknewproducts/tab.tpl @@ -22,4 +22,4 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -
  • {l s='New arrivals' mod='blocknewproducts'}
  • \ No newline at end of file +
  • {l s='New arrivals' mod='blocknewproducts'}
  • \ No newline at end of file diff --git a/themes/default-bootstrap/modules/homefeatured/tab.tpl b/themes/default-bootstrap/modules/homefeatured/tab.tpl index abd7175e1..d845c931f 100644 --- a/themes/default-bootstrap/modules/homefeatured/tab.tpl +++ b/themes/default-bootstrap/modules/homefeatured/tab.tpl @@ -22,4 +22,4 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -
  • {l s='Popular' mod='homefeatured'}
  • \ No newline at end of file +
  • {l s='Popular' mod='homefeatured'}
  • \ No newline at end of file diff --git a/themes/default-bootstrap/shopping-cart.tpl b/themes/default-bootstrap/shopping-cart.tpl index 5b2694ac3..036f23d12 100644 --- a/themes/default-bootstrap/shopping-cart.tpl +++ b/themes/default-bootstrap/shopping-cart.tpl @@ -26,7 +26,11 @@ {capture name=path}{l s='Your shopping cart'}{/capture}

    {l s='Shopping-cart summary'} - {if !isset($empty) && !$PS_CATALOG_MODE}{l s='Your shopping cart contains:'} {$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}{/if} + {if !isset($empty) && !$PS_CATALOG_MODE} + {l s='Your shopping cart contains:'} + {$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if} + + {/if}

    {if isset($account_created)} @@ -101,7 +105,7 @@ {if $use_taxes} {if $priceDisplay} - + {if $voucherAllowed} {if isset($errors_discount) && $errors_discount}