{render file = 'checkout/_partials/address-form.tpl'
ui = $address_form
use_same_address = $use_same_address
- type = "delivery"
+ type = "invoice"
form_has_continue_button = $form_has_continue_button
}
+ {else}
+
{include file = 'checkout/_partials/address-selector-block.tpl'
addresses = $customer.addresses
- name = "id_address_delivery"
- selected = $id_address_delivery
- type = "delivery"
+ name = "id_address_invoice"
+ selected = $id_address_invoice
+ type = "invoice"
+ form_id = $addresses_form_id
interactive = !$show_delivery_address_form and !$show_invoice_address_form
}
- {if isset($delivery_address_error)}
-
{$delivery_address_error.exception}
+ {if isset($invoice_address_error)}
+
{$invoice_address_error.exception}
{else}
-
{l s='Your address is incomplete, please update it.' d='Shop.Notifications.Error'}
+
{l s='Your address is incomplete, please update it.' d='Shop.Notifications.Error'}
{/if}
-
-
- {if $use_same_address && !$cart.is_virtual}
-
- {l s='Billing address differs from shipping address' d='Shop.Theme.Checkout'}
-
- {/if}
+
+
+ {l s='Add new address' d='Shop.Theme.Actions'}
+
{/if}
+ {/if}
- {if !$use_same_address}
-
{l s='Your Invoice Address' d='Shop.Theme.Checkout'}
-
- {if $show_invoice_address_form}
-
- {render file = 'checkout/_partials/address-form.tpl'
- ui = $address_form
- use_same_address = $use_same_address
- type = "invoice"
- form_has_continue_button = $form_has_continue_button
- }
-
- {else}
-
- {include file = 'checkout/_partials/address-selector-block.tpl'
- addresses = $customer.addresses
- name = "id_address_invoice"
- selected = $id_address_invoice
- type = "invoice"
- interactive = !$show_delivery_address_form and !$show_invoice_address_form
- }
-
-
- {if isset($invoice_address_error)}
-
{$invoice_address_error.exception}
- {else}
-
{l s='Your address is incomplete, please update it.' d='Shop.Notifications.Error'}
- {/if}
+
{capture name="address_selector_bottom"}{hook h='displayAddressSelectorBottom'}{/capture}
{if $smarty.capture.address_selector_bottom}
diff --git a/templates/cms/stores.tpl b/templates/cms/stores.tpl
index 10974d9b5..6b961f606 100644
--- a/templates/cms/stores.tpl
+++ b/templates/cms/stores.tpl
@@ -58,9 +58,9 @@
{if $store.note || $store.phone || $store.fax || $store.email}
@@ -72,19 +72,31 @@
@@ -95,7 +107,7 @@
diff --git a/templates/customer/_partials/account-transformation-form.tpl b/templates/customer/_partials/account-transformation-form.tpl
index 7339417e6..5ffddac85 100644
--- a/templates/customer/_partials/account-transformation-form.tpl
+++ b/templates/customer/_partials/account-transformation-form.tpl
@@ -15,6 +15,13 @@
{/foreach}
{/if}
+ {hook h='displayOrderDetailProductLine' id_order=$product.id_order id_order_detail=$product.id_order_detail id_product=$product.id_product}
diff --git a/templates/customer/guest-login.tpl b/templates/customer/guest-login.tpl
index 5fc30640f..6b74212ad 100644
--- a/templates/customer/guest-login.tpl
+++ b/templates/customer/guest-login.tpl
@@ -11,7 +11,11 @@
{/block}
{block name='page_content'}
-