User

addressBook

Parameters

Variable Type Default Required
billingAddresses SDKCoreDtosElementCollection null true
shippingAddresses SDKCoreDtosElementCollection null true
selectMode string FWK/ViewHelpers/Basket/Macro/AddressBook::SELECT_MODE_BUTTON false
Available values

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

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/AddressBook.php

addressForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
selectedCountry SDKDtosSettingsCountrySettings null false
selectedCountryLocations array null false
prefix string FWK/ViewHelpers/User/Macro/AddressForm::BILLING_PREFIX false
Available values

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



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



addressBook bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/AddressForm.php

DEPRECATED addShoppingListRowNotesModal

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Example


{% 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'
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/addShoppingListRowNotesModal.php

buttonShoppingListRows

Parameters

Variable Type Default Required
type string '' false
Available values

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



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



class string '' false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/ButtonShoppingListRows.php

DEPRECATED buttonWishlist

Parameters

Variable Type Default Required
type string '' false
Available values

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



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



class string '' false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/ButtonWishlist.php

changePasswordForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/ChangePasswordForm.php

customerOrders

Parameters

Variable Type Default Required
orders SDKCoreDtosElementCollection null false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/CustomerOrder.php

deleteAccountForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/DeleteAccountForm.php

deleteShoppingListRowsForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
products array null false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/DeleteShoppingListRowsForm.php

DEPRECATED deleteWishlistForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
products array null false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/DeleteWishlistForm.php

DEPRECATED deleteShoppingListRowsModal

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Example


{% 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'
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/deleteShoppingListRowsModal.php

DEPRECATED editShoppingListRowNotesModal

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Example


{% 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'
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/editShoppingListRowNotesModal.php

DEPRECATED filterShoppingListRowsForm

Parameters

Variable Type Default Required
applicableFilters FWKCoreThemeDtosApplicableFilters null true
appliedFilters array [] false
defaultParametersValues array [] false
autosubmit bool false false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/filterShoppingListRowsForm.php

locationsPath

Parameters

Variable Type Default Required
fieldName string '' false
countryCode string '' false
country string '' false
state string '' false
city string '' false
postalCode string '' false
selectedIds SDKCoreDtosElementCollection null true

Example


{% 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
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/LocationsPath.php

loginForm

Parameters

Variable Type Default Required
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
userWarnings bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/LoginForm.php

lostPasswordForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/LostPasswordForm.php

oauthCallback

Parameters

Variable Type Default Required
checkoutLoginRedirect string '' false
commonLoginRedirect string '' false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/oauthCallback.php

orderRmas

Parameters

Variable Type Default Required
rmas array [] true
userId int 0 true
orderId int 0 false
showRmasActions array [] false
Available values

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



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



showRmasIcons array [] false
Available values

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



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



documentView string FWK/ViewHelpers/User/Macro/OrderRmas::POPUP false
Available values

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



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



Example


{% 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'),
]
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/OrderRmas.php

orders

Parameters

Variable Type Default Required
orders SDKCoreDtosElementCollection null true
userId int 0 true
showOrderStates array [] false
Available values

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
Available values

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
Available values

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
Available values

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



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



returnProductView string FWK/ViewHelpers/User/Macro/Orders::POPUP true
Available values

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



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



returnTracingView string FWK/ViewHelpers/User/Macro/Orders::POPUP true
Available values

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



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



showStatus string true false
Available values

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



Example


{% 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')
]
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/Orders.php

orderShipments

Parameters

Variable Type Default Required
order SDKDtosUserUserOrder null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/OrderShipments.php

orderTrackings

Parameters

Variable Type Default Required
shipments array null true
itemClass string userOrderActionWrap false
showContainer bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/OrderTrackings.php

panel

Parameters

Variable Type Default Required
itemList array FWK/ViewHelpers/User/Macro/Panel::ITEMS_LIST false
icons array [] false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/Panel.php

paymentCards

Parameters

Variable Type Default Required
paymentCards array [] true
Available values

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



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



Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/PaymentCards.php

returnRequestForm

Parameters

Variable Type Default Required
returnProducts SDKCoreDtosElementCollection null false
returnRequestForm FWKCoreFormForm null false
returnPointsContent string false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/ReturnRequestForm.php

rmas

Parameters

Variable Type Default Required
rmas SDKCoreDtosElementCollection null true
userId int 0 true
showRmasStates array [] false
Available values

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
Available values

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
Available values

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
Available values

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



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



Example


{% 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'),
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/Rmas.php

redeemRewardPoints

Parameters

Variable Type Default Required
rewardPoints SDKCoreDtosElementCollection null true
showPending bool true false
showDistribution bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/RedeemRewardPoints.php

redeemVouchers

Parameters

Variable Type Default Required
vouchers SDKCoreDtosElementCollection null true
showCode bool true false
showAvailableBalance bool true false
showExpirationDate bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/RedeemVouchers.php

salesAgentCustomers

Parameters

Variable Type Default Required
salesAgentCustomers SDKCoreDtosElementCollection null false
parameters array [] false
Available values

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

Example


{% 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
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentCustomers.php

salesAgentCustomersForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentCustomersForm.php

salesAgentSales

Parameters

Variable Type Default Required
salesAgentSales SDKCoreDtosElementCollection null false
parameters array [] false
Available values

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



Example


{% 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'),
]
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentSales.php

salesAgentSalesForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SalesAgentSalesForm.php

sendShoppingListRowsForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
products array null false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/sendShoppingListRowsForm.php

DEPRECATED sendShoppingListRowsModal

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Example


{% 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'
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/sendShoppingListRowsModal.php

DEPRECATED setShoppingListModal

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
showHeader bool true false
headerTitle string '' false
dialogClasses string '' false
element SDKCoreDtosElement null false

Example


{% 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'
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/setShoppingListModal.php

sendWishlistForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
products array null false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SendWishlistForm.php

shoppingListAddNoteButton

Parameters

Variable Type Default Required
shoppingList SDKDtosUserShoppingList null true
class string '' false
rowTemplate string '' true
containerId string '' true
totalItems int 0 true

Example


{% 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
}) }}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListAddNoteButton.php

shoppingListForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
shoppingList SDKDtosUserShoppingList null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListForm.php

shoppingListDeleteButton

Parameters

Variable Type Default Required
shoppingList SDKDtosUserShoppingList null true
class string '' false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListDeleteButton.php

shoppingListEditButton

Parameters

Variable Type Default Required
shoppingList SDKDtosUserShoppingList null true
class string '' false
totalItems int 0 true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListEditButton.php

shoppingListRowDeleteButton

Parameters

Variable Type Default Required
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
containerId string '' true
shoppingListId int 0 true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowDeleteButton.php

shoppingListRowEditButton

Parameters

Variable Type Default Required
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
totalItems int 0 true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowEditButton.php

shoppingListRowMoveButton

Parameters

Variable Type Default Required
shoppingListRow SDKDtosUserShoppingListRow null true
class string '' false
containerId string '' true
shoppingLists SDKCoreDtosElementCollection null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowMoveButton.php

shoppingListRowNotesForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null true
shoppingListRow SDKDtosUserShoppingListRow null true

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/shoppingListRowNotesForm.php

smallNewsletterForm

Parameters

Variable Type Default Required
form FWKCoreFormForm null false
showLabel bool true false
showPlaceolder bool false false
disableValidationMessages bool true false
hiddeWithLogin bool true false
addLegalCheck bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/SmallNewsletterForm.php

stockAlerts

Parameters

Variable Type Default Required
stockAlerts SDKCoreDtosElementCollection null true
allowRemove bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/StockAlerts.php

subscriptions

Parameters

Variable Type Default Required
subscriptions SDKCoreDtosElementCollection null true
allowUnsubscribe bool true false

Example


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

Related

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

View Helper

FWK/ViewHelpers/User/Macro/subscriptions.php

userForm

Parameters

Variable Type Default Required
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
Available values

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

Example


{% 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')
}) -}}

Related

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

View Helper

FWK/ViewHelpers/User/Macro/UserForm