User

addressBook

Parametros

Variable Tipo Por defecto Requerido
billingAddresses SDKCoreDtosElementCollection null true
shippingAddresses SDKCoreDtosElementCollection null true
selectMode string FWK/ViewHelpers/Basket/Macro/AddressBook::SELECT_MODE_BUTTON false
Valores disponibles

FWK/ViewHelpers/Basket/Macro/AddressBook::SELECT_MODE_RADIO



FWK/ViewHelpers/Basket/Macro/AddressBook::SELECT_MODE_BUTTON



showAddNewBilling bool true false
showAddNewShipping bool true false
showEditBilling bool true false
showEditShipping bool true false
showDeleteBilling bool true false
showDeleteShipping bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.addressBook({
billingAddresses: billingAddresses,
shippingAddresses: shippingAddresses,
selectMode: constant('FWKViewHelpersUserMacroAddressBook::SELECT_MODE_RADIO')
}) }}

Relacionados

macros/modes/{{coreMode}}/user/addressBook.html.twig

View Helper

FWK/ViewHelpers/User/Macro/AddressBook.php

addressForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
selectedCountry SDKDtosSettingsCountrySettings null false
selectedCountryLocations array null false
prefix string FWK/ViewHelpers/User/Macro/AddressForm::BILLING_PREFIX false
Valores disponibles

FWK/ViewHelpers/User/Macro/AddressForm::BILLING_PREFIX



FWK/ViewHelpers/User/Macro/AddressForm::SHIPPING_PREFIX



addressBook bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.addressForm({
form: userAddressBookForm,
prefix: prefix,
selectedCountry: defaultSelectedCountry,
selectedCountryLocations: defaultSelectedCountryLocations
}) }}

Relacionados

macros/modes/{{coreMode}}/user/addressForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/AddressForm.php

DEPRECATED addShoppingListRowNotesModal

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.addShoppingListRowNotesModal({
form: formShoppingListRowNotes,
showHeader: true,
headerTitle: languageSheet[constant('FWKEnumsLanguageLabels::SHOPPING_LIST_ROW_EDIT_BUTTON')]
dialogClasses: 'modal-lg modal-dialog-centered modal-fullscreen-sm-down'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/addShoppingListRowNotesModal.html.twig

View Helper

FWK/ViewHelpers/User/Macro/addShoppingListRowNotesModal.php

buttonShoppingListRows

Parametros

Variable Tipo Por defecto Requerido
type string '' false
Valores disponibles

FWK/ViewHelpers/User/Macro/ButtonShoppingListRows::TYPE_DELETE



FWK/ViewHelpers/User/Macro/ButtonShoppingListRows::TYPE_SEND



class string '' false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.buttonShoppingListRows({
type: constant('FWKViewHelpersUserMacroButtonShoppingListRows::TYPE_DELETE'),
class: 'btn btn-primary'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/buttonShoppingListRows.html.twig

View Helper

FWK/ViewHelpers/User/Macro/ButtonShoppingListRows.php

DEPRECATED buttonWishlist

Parametros

Variable Tipo Por defecto Requerido
type string '' false
Valores disponibles

FWK/ViewHelpers/User/Macro/ButtonWishlist::TYPE_DELETE



FWK/ViewHelpers/User/Macro/ButtonWishlist::TYPE_SEND



class string '' false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.buttonWishlist({
type: constant('FWKViewHelpersUserMacroButtonWishlist::TYPE_DELETE'),
class: 'btn btn-primary'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/buttonWishlist.html.twig

View Helper

FWK/ViewHelpers/User/Macro/ButtonWishlist.php

changePasswordForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.changePasswordForm({
form: formChangePassword
}) }}

Relacionados

macros/modes/{{coreMode}}/user/changePasswordForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/ChangePasswordForm.php

customerOrders

Parametros

Variable Tipo Por defecto Requerido
orders SDKCoreDtosElementCollection null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.customerOrders({
orders: controllerItem,
}) }}

Relacionados

macros/modes/{{coreMode}}/user/customerOrder.html.twig

View Helper

FWK/ViewHelpers/User/Macro/CustomerOrder.php

deleteAccountForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.deleteAccountForm({
form: formDeleteAccount
}) }}

Relacionados

macros/modes/{{coreMode}}/user/deleteAccountForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/DeleteAccountForm.php

deleteShoppingListRowsForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
products array null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.deleteShoppingListRowsForm({
form: formDeleteMultipleShoppingRowsList,
products: controllerItem.items
}) }}

Relacionados

macros/modes/{{coreMode}}/user/deleteShoppingListRowsForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/DeleteShoppingListRowsForm.php

DEPRECATED deleteWishlistForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
products array null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.deleteWishlistForm({
form: formDeleteMultipleWishlist,
products: controllerItem.items
}) }}

Relacionados

macros/modes/{{coreMode}}/user/deleteWishlistForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/DeleteWishlistForm.php

DEPRECATED deleteShoppingListRowsModal

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.deleteShoppingListRowsModal({
form: formShoppingListRowNotes,
showHeader: true,
headerTitle: languageSheet[constant('FWKEnumsLanguageLabels::SHOPPING_LIST_ROW_EDIT_BUTTON')]
dialogClasses: 'modal-lg modal-dialog-centered modal-fullscreen-sm-down'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/deleteShoppingListRowsModal.html.twig

View Helper

FWK/ViewHelpers/User/Macro/deleteShoppingListRowsModal.php

DEPRECATED editShoppingListRowNotesModal

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.editShoppingListRowNotesModal({
form: formShoppingListRowNotes,
showHeader: true,
headerTitle: languageSheet[constant('FWKEnumsLanguageLabels::SHOPPING_LIST_ROW_EDIT_BUTTON')]
dialogClasses: 'modal-lg modal-dialog-centered modal-fullscreen-sm-down'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/editShoppingListRowNotesModal.html.twig

View Helper

FWK/ViewHelpers/User/Macro/editShoppingListRowNotesModal.php

DEPRECATED filterShoppingListRowsForm

Parametros

Variable Tipo Por defecto Requerido
applicableFilters FWKCoreThemeDtosApplicableFilters null true
appliedFilters array [] false
defaultParametersValues array [] false
autosubmit bool false false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.filterShoppingListRowsForm({
applicableFilters: themeConfiguration.shoppingList.rowsList.applicableFilters,
appliedFilters: shoppingListRowsFilter,
defaultParametersValues: themeConfiguration.shoppingList.rowsList.defaultParametersValues,
}) }}

Relacionados

macros/modes/{{coreMode}}/user/filterShoppingListRowsForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/filterShoppingListRowsForm.php

locationsPath

Parametros

Variable Tipo Por defecto Requerido
fieldName string '' false
countryCode string '' false
country string '' false
state string '' false
city string '' false
postalCode string '' false
selectedIds SDKCoreDtosElementCollection null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.locationsPath({
'fieldName': controllerItem.
fieldName,
'selectedIds': controllerItem.selectedIds,
'countryCode': controllerItem.countryCode,
'country': controllerItem.country,
'state': controllerItem.state,
'city': controllerItem.city,
'postalCode': controllerItem.postalCode
}) }}

Relacionados

macros/modes/{{coreMode}}/user/locationsPath.html.twig

View Helper

FWK/ViewHelpers/User/Macro/LocationsPath.php

loginForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showLabel bool true false
showPlaceholder bool true false
redirect string '' false
lostPasswordRedirect string '' false
registerRedirect string '' false
showLostPasswordLink bool true false
showCreateAccountLink bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.loginForm({
form: formLogin,
registerRedirect: constant('FWKEnumsRouteType::USER')
}) }}

Relacionados

macros/modes/{{coreMode}}/user/loginForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/LoginForm.php

lostPasswordForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.lostPasswordForm({
form: formLostPassword
}) }}

Relacionados

macros/modes/{{coreMode}}/user/lostPasswordForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/LostPasswordForm.php

oauthCallback

Parametros

Variable Tipo Por defecto Requerido
checkoutLoginRedirect string '' false
commonLoginRedirect string '' false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.oauthCallback({
commonLoginRedirect: outePaths.getPath(constant('FWKEnumsRouteType::USER'))
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/oauthCallback.html.twig

View Helper

FWK/ViewHelpers/User/Macro/oauthCallback.php

orderRmas

Parametros

Variable Tipo Por defecto Requerido
rmas array [] true
userId int 0 true
orderId int 0 false
showRmasActions array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/OrderRmas::ACTION_RMA



FWK/ViewHelpers/User/Macro/OrderRmas::ACTION_RMA_PDF



showRmasIcons array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/OrderRmas::ACTION_RMA



FWK/ViewHelpers/User/Macro/OrderRmas::ACTION_RMA_PDF



documentView string FWK/ViewHelpers/User/Macro/OrderRmas::POPUP false
Valores disponibles

FWK/ViewHelpers/User/Macro/OrderRmas::POPUP



FWK/ViewHelpers/User/Macro/OrderRmas::WINDOW



Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.orderRmas({
rmas: controllerItem.rmas.items,
userId: session.user.id,
showRmasActions:[
constant('FWKViewHelpersUserMacroOrderRmas::ACTION_RMA'),
constant('FWKViewHelpersUserMacroOrderRmas::ACTION_RMA_PDF'),
],
showRmasIcons:[
constant('FWKViewHelpersUserMacroOrderRmas::ACTION_RMA'),
constant('FWKViewHelpersUserMacroOrderRmas::ACTION_RMA_PDF'),
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/orderRmas.html.twig

View Helper

FWK/ViewHelpers/User/Macro/OrderRmas.php

orders

Parametros

Variable Tipo Por defecto Requerido
orders SDKCoreDtosElementCollection null true
userId int 0 true
showOrderStates array [] false
Valores disponibles

SDK/Enums/OrderStatus::INCOMING



SDK/Enums/OrderStatus::COMPLETED



SDK/Enums/OrderStatus::DENIED



SDK/Enums/OrderStatus::INCIDENTS



SDK/Enums/OrderStatus::IN_PROCESS



SDK/Enums/OrderStatus::DELETED



SDK/Enums/OrderStatus::CONFIRM_DELETED



showOrderActions array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::ACTION_VIEW



FWK/ViewHelpers/User/Macro/Orders::ACTION_VIEW_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_RECOVER



FWK/ViewHelpers/User/Macro/Orders::ACTION_DELIVERY_NOTE



FWK/ViewHelpers/User/Macro/Orders::ACTION_DELIVERY_NOTE_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_INVOICE



FWK/ViewHelpers/User/Macro/Orders::ACTION_INVOICE_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_RETURN



FWK/ViewHelpers/User/Macro/Orders::ACTION_RETURN_TRACING



showOrderIcons array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::ACTION_VIEW



FWK/ViewHelpers/User/Macro/Orders::ACTION_VIEW_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_RECOVER



FWK/ViewHelpers/User/Macro/Orders::ACTION_DELIVERY_NOTE



FWK/ViewHelpers/User/Macro/Orders::ACTION_DELIVERY_NOTE_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_INVOICE



FWK/ViewHelpers/User/Macro/Orders::ACTION_INVOICE_PDF



FWK/ViewHelpers/User/Macro/Orders::ACTION_RETURN



FWK/ViewHelpers/User/Macro/Orders::ACTION_RETURN_TRACING



documentView string FWK/ViewHelpers/User/Macro/Orders::POPUP true
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::POPUP



FWK/ViewHelpers/User/Macro/Orders::WINDOW



returnProductView string FWK/ViewHelpers/User/Macro/Orders::POPUP true
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::POPUP



FWK/ViewHelpers/User/Macro/Orders::WINDOW



returnTracingView string FWK/ViewHelpers/User/Macro/Orders::POPUP true
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::POPUP



FWK/ViewHelpers/User/Macro/Orders::WINDOW



showStatus string true false
Valores disponibles

FWK/ViewHelpers/User/Macro/Orders::SHOW_STATUS_ALL



FWK/ViewHelpers/User/Macro/Orders::SHOW_STATUS_ONLY



FWK/ViewHelpers/User/Macro/Orders::SHOW_STATUS_PRIORITY_SUBSTATUS



Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.orders({
orders: controllerItem,
userId: session.user.id,
showOrderStates:[
constant('SDKEnumsOrderStatus::DENIED'),
constant('SDKEnumsOrderStatus::INCIDENTS'),
constant('SDKEnumsOrderStatus::INCOMING'),
constant('SDKEnumsOrderStatus::IN_PROCESS'),
constant('SDKEnumsOrderStatus::COMPLETED'),
constant('SDKEnumsOrderStatus::DELETED'),
constant('SDKEnumsOrderStatus::CONFIRM_DELETED')
],
showOrderActions:[
constant('FWKViewHelpersUserMacroOrders::ACTION_VIEW'),
constant('FWKViewHelpersUserMacroOrders::ACTION_VIEW_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_RECOVER'),
constant('FWKViewHelpersUserMacroOrders::ACTION_DELIVERY_NOTE'),
constant('FWKViewHelpersUserMacroOrders::ACTION_DELIVERY_NOTE_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_INVOICE'),
constant('FWKViewHelpersUserMacroOrders::ACTION_INVOICE_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_RETURN'),
constant('FWKViewHelpersUserMacroOrders::ACTION_RETURN_TRACING')
],
showOrderIcons:[
constant('FWKViewHelpersUserMacroOrders::ACTION_VIEW'),
constant('FWKViewHelpersUserMacroOrders::ACTION_VIEW_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_RECOVER'),
constant('FWKViewHelpersUserMacroOrders::ACTION_DELIVERY_NOTE'),
constant('FWKViewHelpersUserMacroOrders::ACTION_DELIVERY_NOTE_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_INVOICE'),
constant('FWKViewHelpersUserMacroOrders::ACTION_INVOICE_PDF'),
constant('FWKViewHelpersUserMacroOrders::ACTION_RETURN') ,
constant('FWKViewHelpersUserMacroOrders::ACTION_RETURN_TRACING')
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/orders.html.twig

View Helper

FWK/ViewHelpers/User/Macro/Orders.php

orderShipments

Parametros

Variable Tipo Por defecto Requerido
order SDKDtosUserUserOrder null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.orderShipments({
order: controllerItem
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/orderShipments.html.twig

View Helper

FWK/ViewHelpers/User/Macro/OrderShipments.php

orderTrackings

Parametros

Variable Tipo Por defecto Requerido
shipments array null true
itemClass string userOrderActionWrap false
showContainer bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.orderTrackings({
order: controllerItem
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/orderTrackings.html.twig

View Helper

FWK/ViewHelpers/User/Macro/OrderTrackings.php

panel

Parametros

Variable Tipo Por defecto Requerido
itemList array FWK/ViewHelpers/User/Macro/Panel::ITEMS_LIST false
icons array [] false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.panel({
itemsList: [
['user', 'addressBook', 'changePassword'],
['shoppingList', 'stockAlerts', 'orders', 'paymentCards'],
['logout', 'deleteAccount']
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/panel.html.twig

View Helper

FWK/ViewHelpers/User/Macro/Panel.php

paymentCards

Parametros

Variable Tipo Por defecto Requerido
paymentCards array [] true
Valores disponibles

FWK/ViewHelpers/User/Macro/PaymentCards::USER_PLUGIN_PAYMENT_TOKENS



FWK/ViewHelpers/User/Macro/PaymentCards::PLUGINS_PROPERTIES



Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.paymentCards({
paymentCards: controllerItem
}) }}

Relacionados

macros/modes/{{coreMode}}/user/paymentCards.html.twig

View Helper

FWK/ViewHelpers/User/Macro/PaymentCards.php

returnRequestForm

Parametros

Variable Tipo Por defecto Requerido
returnProducts SDKCoreDtosElementCollection null false
returnRequestForm FWKCoreFormForm null false
returnPointsContent string false

Ejemplo


{% import macrosCore.user as userMacros%}
{{- userMacros.returnRequestForm({
returnProducts: controllerItem.returnProducts,
returnRequestForm: controllerItem.returnRequestForm,
showImage: true,
showOptions: true
}) -}}

Relacionados

macros/modes/{{coreMode}}/user/returnRequestForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/ReturnRequestForm.php

rmas

Parametros

Variable Tipo Por defecto Requerido
rmas SDKCoreDtosElementCollection null true
userId int 0 true
showRmasStates array [] false
Valores disponibles

SDK/Enums/RMAStatus::PENDING



SDK/Enums/RMAStatus::AUTHORIZED



SDK/Enums/RMAStatus::NO_AUTHORIZED



SDK/Enums/RMAStatus::INCIDENTS



SDK/Enums/RMAStatus::IN_PROCESS



SDK/Enums/RMAStatus::DELETED



SDK/Enums/RMAStatus::ACCEPTED



SDK/Enums/RMAStatus::DENIED



SDK/Enums/RMAStatus::COMPLETED



showRmasActions array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_PDF



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_RETURNS



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_RETURNS_PDF



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_CORRECTIVE_INVOICE



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_CORRECTIVE_INVOICE_PDF



showRmasIcons array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_PDF



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_RETURNS



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_RETURNS_PDF



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_CORRECTIVE_INVOICE



FWK/ViewHelpers/User/Macro/Rmas::ACTION_RMA_CORRECTIVE_INVOICE_PDF



documentView string FWK/ViewHelpers/User/Macro/Rmas::POPUP false
Valores disponibles

FWK/ViewHelpers/User/Macro/Rmas::POPUP



FWK/ViewHelpers/User/Macro/Rmas::WINDOW



Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.rmas({
rmas: controllerItem,
userId: session.user.id,
showRmasStates:[
constant('SDKEnumsRMAStatus::INCIDENTS'),
constant('SDKEnumsRMAStatus::PENDING'),
constant('SDKEnumsRMAStatus::AUTHORIZED'),
constant('SDKEnumsRMAStatus::NO_AUTHORIZED'),
constant('SDKEnumsRMAStatus::IN_PROCESS'),
constant('SDKEnumsRMAStatus::ACCEPTED'),
constant('SDKEnumsRMAStatus::DENIED'),
constant('SDKEnumsRMAStatus::COMPLETED'),
constant('SDKEnumsRMAStatus::DELETED')
],
showRmasActions:[
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_PDF'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_RETURNS'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_RETURNS_PDF'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_CORRECTIVE_INVOICE'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_CORRECTIVE_INVOICE_PDF'),
],
showRmasIcons:[
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_PDF'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_RETURNS'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_RETURNS_PDF'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_CORRECTIVE_INVOICE'),
constant('FWKViewHelpersUserMacroRmas::ACTION_RMA_CORRECTIVE_INVOICE_PDF'),
],
documentView: constant('FWKViewHelpersUserMacroRmas::WINDOW'),
}) }}

Relacionados

macros/modes/{{coreMode}}/user/rmas.html.twig

View Helper

FWK/ViewHelpers/User/Macro/Rmas.php

redeemRewardPoints

Parametros

Variable Tipo Por defecto Requerido
rewardPoints SDKCoreDtosElementCollection null true
showPending bool true false
showDistribution bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.redeemRewardPoints({
rewardPoints: controllerItem
}) }}

Relacionados

macros/modes/{{coreMode}}/user/redeemRewardPoints.html.twig

View Helper

FWK/ViewHelpers/User/Macro/RedeemRewardPoints.php

redeemVouchers

Parametros

Variable Tipo Por defecto Requerido
vouchers SDKCoreDtosElementCollection null true
showCode bool true false
showAvailableBalance bool true false
showExpirationDate bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.redeemVouchers({
vouchers: controllerItem
}) }}

Relacionados

macros/modes/{{coreMode}}/user/redeemVouchers.html.twig

View Helper

FWK/ViewHelpers/User/Macro/RedeemVouchers.php

salesAgentCustomers

Parametros

Variable Tipo Por defecto Requerido
salesAgentCustomers SDKCoreDtosElementCollection null false
parameters array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/SalesAgentCustomers::PID



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::EMAIL



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::NAME



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::NAME



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::COMPANY



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::NIF



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::ADDRESS



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::CITY



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::STATE



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::COUNTRY



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::PHONE



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::TOTAL_AMOUNT



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::COMMISSION_AMOUNT



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::PENDING_AMOUNT



FWK/ViewHelpers/User/Macro/SalesAgentCustomers::ACTIONS



request array [] false
availableActions array [FWK/ViewHelpers/User/Macro/SalesAgentCustomers::ACTION_SALES_AGENT_SALES, FWK/ViewHelpers/User/Macro/SalesAgentCustomers::ACTION_LOGIN_SIMULATION] false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.salesAgentCustomers({
salesAgentCustomers: controllerItem.salesAgentCustomers,
parameters: [
constant('FWKViewHelpersUserMacroSalesAgentCustomers::PID'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::COMPANY'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::NIF'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::CITY'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::TOTAL_AMOUNT'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::COMMISSION_AMOUNT'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::PENDING_AMOUNT'),
constant('FWKViewHelpersUserMacroSalesAgentCustomers::ACTIONS'),
],
request: controllerItem.salesAgentCustomersFormRequest
}) }}

Relacionados

macros/modes/{{coreMode}}/user/salesAgentCustomers.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentCustomers.php

salesAgentCustomersForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true

Ejemplo


{% import macrosCore macrosCore.user as userMacros %}
{{- userMacros.salesAgentCustomersForm({
form: controllerItem.salesAgentCustomersForm
}) -}}

Relacionados

macros/modes/{{coreMode}}/user/salesAgentCustomersForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentCustomersForm.php

salesAgentSales

Parametros

Variable Tipo Por defecto Requerido
salesAgentSales SDKCoreDtosElementCollection null false
parameters array [] false
Valores disponibles

FWK/ViewHelpers/User/Macro/SalesAgentSales::PID



FWK/ViewHelpers/User/Macro/SalesAgentSales::CLIENT



FWK/ViewHelpers/User/Macro/SalesAgentSales::DATE



FWK/ViewHelpers/User/Macro/SalesAgentSales::STATUS



FWK/ViewHelpers/User/Macro/SalesAgentSales::TOTAL



FWK/ViewHelpers/User/Macro/SalesAgentSales::COMMISSION



FWK/ViewHelpers/User/Macro/SalesAgentSales::PAID



FWK/ViewHelpers/User/Macro/SalesAgentSales::VIEW_ORDER



Ejemplo


{% import macrosCore.user as userMAcros %}
{{ userMacros.salesAgentSales({
salesAgentSales: controllerItem.salesAgentSales,
parameters: [
constant('FWKViewHelpersUserMacroSalesAgentSales::PID'),
constant('FWKViewHelpersUserMacroSalesAgentSales::CLIENT'),
constant('FWKViewHelpersUserMacroSalesAgentSales::DATE'),
constant('FWKViewHelpersUserMacroSalesAgentSales::STATUS'),
constant('FWKViewHelpersUserMacroSalesAgentSales::TOTAL'),
constant('FWKViewHelpersUserMacroSalesAgentSales::COMMISSION'),
constant('FWKViewHelpersUserMacroSalesAgentSales::PAID'),
constant('FWKViewHelpersUserMacroSalesAgentSales::VIEW_ORDER'),
]
}) }}

Relacionados

macros/modes/{{coreMode}}/user/salesAgentSales.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentSales.php

salesAgentSalesForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true

Ejemplo


{% import macrosCores.user as userMAcros%}
{{ userMacros.salesAgentSalesForm({
form: controllerItem.salesAgentSalesForm
}) }}

Relacionados

macros/modes/{{coreMode}}/user/salesAgentSalesForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentSalesForm.php

sendShoppingListRowsForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
products array null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.sendShoppingListRowsForm({
form: formSendShoppingListRows,
products: controllerItem.items
}) }}

Relacionados

macros/modes/{{coreMode}}/user/sendShoppingListRowsForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/sendShoppingListRowsForm.php

DEPRECATED sendShoppingListRowsModal

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.sendShoppingListRowsModal({
form: formShoppingListRowNotes,
showHeader: true,
headerTitle: languageSheet[constant('FWKEnumsLanguageLabels::SHOPPING_LIST_ROW_EDIT_BUTTON')]
dialogClasses: 'modal-lg modal-dialog-centered modal-fullscreen-sm-down'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/sendShoppingListRowsModal.html.twig

View Helper

FWK/ViewHelpers/User/Macro/sendShoppingListRowsModal.php

DEPRECATED setShoppingListModal

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.setShoppingListModal({
form: formShoppingListRowNotes,
showHeader: true,
headerTitle: languageSheet[constant('FWKEnumsLanguageLabels::SHOPPING_LIST_ROW_EDIT_BUTTON')]
dialogClasses: 'modal-lg modal-dialog-centered modal-fullscreen-sm-down'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/setShoppingListModal.html.twig

View Helper

FWK/ViewHelpers/User/Macro/setShoppingListModal.php

sendWishlistForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
products array null false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.sendWishlistForm({
form: formSendWishlist,
products: controllerItem.items
}) }}

Relacionados

macros/modes/{{coreMode}}/user/sendWishlistForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SendWishlistForm.php

shoppingListAddNoteButton

Parametros

Variable Tipo Por defecto Requerido
shoppingList SDKDtosUserShoppingList null true
class string '' false
rowTemplate string '' true
containerId string '' true
totalItems int 0 true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListAddNoteButton({
shoppingList: shoppingList,
rowTemplate: 'snippets/lists/ShoppingListRowNoteList.html.twig',
containerId: 'shoppingListRowsContainer',
class: 'btn btn-secondary',
totalItems: shoppingList.pagination.totalItems
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListAddNoteButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListAddNoteButton.php

shoppingListForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
shoppingList SDKDtosUserShoppingList null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListForm({
form: shoppingListForm,
shoppingList: shoppingList
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListForm.php

shoppingListDeleteButton

Parametros

Variable Tipo Por defecto Requerido
shoppingList SDKDtosUserShoppingList null true
class string '' false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListDeleteButton({
shoppingList: shoppingList,
class: 'btn btn-secondary'
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListDeleteButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListDeleteButton.php

shoppingListEditButton

Parametros

Variable Tipo Por defecto Requerido
shoppingList SDKDtosUserShoppingList null true
class string '' false
totalItems int 0 true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListEditButton({
shoppingList: shoppingList,
class: 'btn btn-secondary',
totalItems: session.shoppingList.shoppingLists.items
length
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListEditButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListEditButton.php

shoppingListRowDeleteButton

Parametros

Variable Tipo Por defecto Requerido
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
containerId string '' true
shoppingListId int 0 true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListRowDeleteButton({
shoppingListRow: row,
class: 'btn btn-secondary',
containerId: 'shoppingListRowContainer' ~ row.id,
shoppingListId: shoppingListId
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListRowDeleteButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowDeleteButton.php

shoppingListRowEditButton

Parametros

Variable Tipo Por defecto Requerido
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
totalItems int 0 true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListRowEditButton({
shoppingListRow: row,
class: 'btn btn-secondary',
totalItems: shoppingList.pagination.totalItems
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListRowEditButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowEditButton.php

shoppingListRowMoveButton

Parametros

Variable Tipo Por defecto Requerido
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
containerId string '' true
shoppingLists SDKCoreDtosElementCollection null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListRowMoveButton({
shoppingListRow: row,
class: 'btn btn-secondary',
containerId: 'shoppingListRowContainer' ~ row.id,
shoppingLists: movableShoppingLists
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListRowMoveButton.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowMoveButton.php

shoppingListRowNotesForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null true
shoppingListRow SDKDtosUserShoppingListRow null true

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.shoppingListRowNotesForm({
form: shoppingListRowNotesForm,
shoppingListRow: row
}) }}

Relacionados

macros/modes/{{coreMode}}/user/shoppingListRowNotesForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowNotesForm.php

smallNewsletterForm

Parametros

Variable Tipo Por defecto Requerido
form FWKCoreFormForm null false
showLabel bool true false
showPlaceolder bool false false
disableValidationMessages bool true false
hiddeWithLogin bool true false
addLegalCheck bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.smallNewsletterForm({
form: formNewsletter
showLabel: false,
showPlaceholder: true,
}) }}

Relacionados

macros/modes/{{coreMode}}/user/smallNewsletterForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/SmallNewsletterForm.php

stockAlerts

Parametros

Variable Tipo Por defecto Requerido
stockAlerts SDKCoreDtosElementCollection null true
allowRemove bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.stockAlerts({
stockAlerts: stockAlerts,
allowRemove: true
}) }}

Relacionados

macros/modes/{{coreMode}}/user/stockAlerts.html.twig

View Helper

FWK/ViewHelpers/User/Macro/StockAlerts.php

subscriptions

Parametros

Variable Tipo Por defecto Requerido
subscriptions SDKCoreDtosElementCollection null true
allowUnsubscribe bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{ userMacros.subscriptions({
subscriptions: subscriptions,
allowUnsubscribe: true
}) }}

Relacionados

macros/modes/{{coreMode}}/user/subscriptions.html.twig

View Helper

FWK/ViewHelpers/User/Macro/subscriptions.php

userForm

Parametros

Variable Tipo Por defecto Requerido
routeType string '' false
form FWKCoreFormForm null true
selectedCountry SDKDtosSettingsCountrySettings null false
selectedCountryLocations array [] false
showCreateAccountCheck bool true false
showShippingAddress bool false false
showCustomTagsTitle bool false false
forceUseShippingAddress bool false false
billingAddresses SDKCoreDtosElementCollection null false
shippingAddresses SDKCoreDtosElementCollection null false
selectMode string FWK/ViewHelpers/User/Macro/AddressBook::SELECT_MODE_BUTTON false
Valores disponibles

FWK/ViewHelpers/User/Macro/AddressBook::SELECT_MODE_BUTTON



FWK/ViewHelpers/User/Macro/AddressBook::SELECT_MODE_RADIO



showAddNewBilling bool true false
showAddNewShipping bool true false
showEditBilling bool true false
showEditShipping bool true false
showDeleteBilling bool true false
showDeleteShipping bool true false

Ejemplo


{% import macrosCore.user as userMacros %}
{{- userMacros.userForm({
form: customerForm,
selectedCountry: defaultSelectedCountry,
selectedCountryLocations: defaultSelectedCountryLocations,
billingAddresses: addresses.billingAddresses,
shippingAddresses: addresses.shippingAddresses,
selectMode: constant('FWKViewHelpersUserMacroAddressBook::SELECT_MODE_RADIO')
}) -}}

Relacionados

macros/modes/{{coreMode}}/user/userForm.html.twig

View Helper

FWK/ViewHelpers/User/Macro/UserForm