Document

billingInformation

Parameters

Variable Type Default Required
document SDKDtosDocumentsDocument null true
fields array |name, |nif, |address, |city, |state, |country, |email, |mobile| false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.billingInformation({
document: order,
}) }}

Related

macros/modes/{{coreMode}}/document/billingInformation.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/BillingInformation.php

buttons

Parameters

Variable Type Default Required
orderID int 0 false
showBackButton bool true false
showPrintButton bool true false
classList string '' false
token string '' false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.buttons({
orderId: controllerItem.id
}) }}

Related

macros/modes/{{coreMode}}/document/buttons.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/Buttons.php

confirmOrder

Parameters

Variable Type Default Required
order SDKDtosDocumentsOrder null true
confirmOrderPlugins array [] false
showTansactionId bool true false
showAuthNumber bool true false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.confirmOrder({
order: controllerItem,
confirmOrderPlugins: confirmOrderPlugins
}) }}

Related

macros/modes/{{coreMode}}/document/confirmOrder.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/ConfirmOrder.php

document

Parameters

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

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

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

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

Example


{% import macrosCore.document as documentMacros %}
{{- documentMacros.document({
document: order
}) -}}

Related

macros/modes/{{coreMode}}/document/document.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/Document.php

documentInformation

Parameters

Variable Type Default Required
document SDKDtosDocumentsDocument null true
showTransactionId bool false false
showAuthNumber bool false false
documentType string FWK/ViewHelpers/Document/Macro/DocumentInformation::TYPE_ORDER false
Available values

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



Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.documentInformation({
document: returns,
documentType: constant('FWKViewHelpersDocumentMacroDocumentInformation::TYPE_RETURN'),
}) }}

Related

macros/modes/{{coreMode}}/document/documentInformation.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/DocumentInformation.php

headquarterInformation

Parameters

Variable Type Default Required
document SDKDtosDocumentsDocument null false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.headquarterInformation({
document: controllerItem
}) }}

Related

macros/modes/{{coreMode}}/document/headquarterInformation.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/HeadquarterInformation.php

rewardPoints

Parameters

Variable Type Default Required
document SDKDtosDocumentsDocument null true
class string '' false
showHeader bool true false
showTotalRedeemed bool true false
showTotalEarned bool true false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.rewardPoints({
document: session.document, rewardPoints: userRewardPoints, maxAvailableRewardPoints: {'ePoint_1': 100, 'ePoint_2': 200}
}) }}

Related

macros/modes/{{coreMode}}/document/rewardPoints.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/RewardPoints.php

shippingInformation

Parameters

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

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.shippingInformation({
document: controllerItem,
}) }}

Related

macros/modes/{{coreMode}}/document/shippingInformation.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/ShippingInformation.php

pickingInformation

Parameters

Variable Type Default Required
document SDKDtosDocumentsDocument null true
fields array |name, |address, |city, |state, |country, |email, |phone| false

Example


{% import macrosCore.document as documentMacros %}
{{ documentMacros.pickingInformation({
document: controllerItem,
}) }}

Related

macros/modes/{{coreMode}}/document/pickingInformation.html.twig

View Helper

FWK/ViewHelpers/Document/Macro/PickingInformation.php