Document
billingInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
fields | array | |name, |nif, |address, |city, |state, |country, |email, |mobile| | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.billingInformation({
document: order,
}) }}
Relacionados
macros/modes/{{coreMode}}/document/billingInformation.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/BillingInformation.php
buttons
Parametros
Variable | Tipo | Por defecto | Requerido |
orderID | int | 0 | false |
showBackButton | bool | true | false |
showPrintButton | bool | true | false |
classList | string | '' | false |
token | string | '' | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.buttons({
orderId: controllerItem.id
}) }}
Relacionados
macros/modes/{{coreMode}}/document/buttons.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/Buttons.php
confirmOrder
Parametros
Variable | Tipo | Por defecto | Requerido |
order | SDKDtosDocumentsOrder | null | true |
confirmOrderPlugins | array | [] | false |
showTansactionId | bool | true | false |
showAuthNumber | bool | true | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.confirmOrder({
order: controllerItem,
confirmOrderPlugins: confirmOrderPlugins
}) }}
Relacionados
macros/modes/{{coreMode}}/document/confirmOrder.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/ConfirmOrder.php
document
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
additionalItems | string | FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::ADDITIONAL_ITEMS_PRESENTATION | false |
mode | string | FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::MODE_DISCLOSURE | false |
Valores disponibles | |||
FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::MODE_DISCLOSURE FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::MODE_CASH_TICKET |
|||
linkable | bool | true | false |
showOptions | bool | true | false |
showOptionValuesName | string | FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::SHOW_OPTION_VALUES_NAME_SHOW_NAME | false |
Valores disponibles | |||
FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::SHOW_OPTION_VALUES_NAME_NOT_SHOW FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::SHOW_OPTION_VALUES_NAME_SHOW_NAME FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::SHOW_OPTION_VALUES_NAME_SHOW_DESCRIPTION |
|||
showOptionValuesSku | bool | false | false |
showZeroDiscount | bool | false | false |
showBrand | bool | false | false |
giftsPresentation | string | FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::GIFTS_PRESENTATION_PRODUCTS_BLOCK | false |
Valores disponibles | |||
FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::GIFTS_PRESENTATION_PRODUCTS_BLOCK FWK/Core/ViewHelpers/Basket/Macro/BaseOutput::GIFTS_PRESENTATION_INDEPENDENT |
|||
showTaxDisclosure | bool | true | false |
showTaxIncluded | bool | null | false |
showTaxName | bool | true | false |
tableClass | string | '' | false |
showPrices | bool | true | false |
showImage | bool | true | false |
showSku | bol | false | false |
showManufacturerSku | bool | false | false |
showCustomTags | bool | false | false |
showDevolutionButton | bool | false | false |
showDiscounts | bool | true | false |
showDiscountName | bool | false | false |
showDiscountValue | bool | true | false |
showZeroShipping | bool | true | false |
showZeroPayment | bool | true | false |
showFreeTaxMessage | bool | false | false |
showPreviousPrice | bool | false | false |
showPercentDifference | bool | false | false |
showPriceDifference | bool | false | false |
showProductStockId | bool | false | false |
showFooter | bool | true | false |
productTemplate | string | null | false |
productsBundleTemplate | string | null | false |
productsBundleItemTemplate | string | null | false |
productsGiftTemplate | string | null | false |
productSelectableGiftTemplate | string | null | false |
routeType | string | '' | false |
totalProductDiscounts | float | 0 | false |
showTaxesZeroTotalIncrement | bool | false | false |
mergeRows | bool | false | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{- documentMacros.document({
document: order
}) -}}
Relacionados
macros/modes/{{coreMode}}/document/document.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/Document.php
documentInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
showTransactionId | bool | false | false |
showAuthNumber | bool | false | false |
documentType | string | FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_ORDER | false |
Valores disponibles | |||
FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_ORDER FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_RMA FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_RETURN FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_CORRECTIVE_INVOICE |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.documentInformation({
document: returns,
documentType: constant('FWKViewHelpersDocumentMacroDocumentInformation::TYPE_RETURN'),
}) }}
Relacionados
macros/modes/{{coreMode}}/document/documentInformation.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/DocumentInformation.php
headquarterInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.headquarterInformation({
document: controllerItem
}) }}
Relacionados
macros/modes/{{coreMode}}/document/headquarterInformation.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/HeadquarterInformation.php
rewardPoints
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
class | string | '' | false |
showHeader | bool | true | false |
showTotalRedeemed | bool | true | false |
showTotalEarned | bool | true | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.rewardPoints({
document: session.document, rewardPoints: userRewardPoints, maxAvailableRewardPoints: {'ePoint_1': 100, 'ePoint_2': 200}
}) }}
Relacionados
macros/modes/{{coreMode}}/document/rewardPoints.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/RewardPoints.php
shippingInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
fields | array | |name, |nif, |address, |city, |state, |country, |email, |mobile| | false |
pickingFields | array | |name, |address, |city, |state, |country, |email, |phone| | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.shippingInformation({
document: controllerItem,
}) }}
Relacionados
macros/modes/{{coreMode}}/document/shippingInformation.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/ShippingInformation.php
pickingInformation
Parametros
Variable | Tipo | Por defecto | Requerido |
document | SDKDtosDocumentsDocument | null | true |
fields | array | |name, |address, |city, |state, |country, |email, |phone| | false |
Ejemplo
{% import macrosCore.document as documentMacros %}
{{ documentMacros.pickingInformation({
document: controllerItem,
}) }}
Relacionados
macros/modes/{{coreMode}}/document/pickingInformation.html.twig
View Helper
FWK/ViewHelpers/Document/Macro/PickingInformation.php