Page tree
Skip to end of metadata
Go to start of metadata




In de PostNL configuratie kunt u aangeven of u Track & Trace e-mails automatisch wilt laten versturen na het voormelden.

Zet hiervoor de optie Send Track and Trace email op Yes. U kunt zichzelf of iemand anders bij elke track and trace email op de BCC zetten. 


Aanpassen van de template.

Voor het aanpassen van de track and trace email kunt u vanaf versie 1.3.4 gebruik maken van de Marketing → communications → Email Templates van Magento. 

Klik op de "Add New Template" knop en volg de onderstaande stappen uit, om er voor te zorgen dat de correcte content in uw eigen template komt te staan.

U zult zien dat na het klikken op Load Template er in het veld Template Subject en Template Content gegevens automatisch worden gevuld. Deze kunt u nu naar wens aanpassen. 

Vanaf versie 1.5.0 : 
order.getActionFlag() // Retrieve can flag for action (edit, unhold, etc..)
order.getCanSendNewEmailFlag() // Return flag for order if it can sends new email to customer.
order.getStatusLabel() // Retrieve label of order status
order.getShippingMethod() // Retrieve shipping method
order.getRealOrderId() // Retrieve the Real Order Id
order.getOrderCurrency() // Get currency model instance. Will be used currency with which order placed
order.getTotalDue() // Retrieve order total due value
order.getBaseTotalDue() // Retrieve order total due value
order.getData($key) // Retrieve a value based on a key
order.getCustomerName() // Retrieve the customer name of the order
order.getIsVirtual() // Retrieve whether the order is a virtual order or not
order.getIncrementId() // Returns the increment id
order.getBaseCurrencyCode() // Returns base_currency_code
order.getCouponCode() // Returns coupon_code
order.getCreatedAt() // Returns created_at
order.getCustomerDob() // Returns customer_dob
order.getCustomerEmail() // Returns customer_email
order.getCustomerFirstname() // Returns customer_firstname
order.getCustomerGender() // Returns customer_gender
order.getCustomerIsGuest() // Returns customer_is_guest
order.getCustomerLastname() // Returns customer_lastname
order.getCustomerMiddlename() // Returns customer_middlename
order.getCustomerNote() // Returns customer_note
order.getCustomerPrefix() // Returns customer_prefix
order.getCustomerSuffix() // Returns customer_suffix
order.getCustomerTaxvat() // Returns customer_taxvat
order.getGrandTotal() // Returns grand_total
order.getStatus() // Returns order status
order.getStoreId() // Returns store_id
order.getStoreName() // Returns store_name	
order.getSubtotal() // Returns subtotal
order.getSubtotalInclTax() // Returns subtotal_incl_tax
order.getTaxAmount() // Returns tax_amount
order.getTotalItemCount() // Returns total_item_count
order.getTotalPaid() // Returns total_paid
order.getTotalQtyOrdered() // Returns total_qty_ordered
order.getTotalRefunded() // Returns total_refunded
order.getUpdatedAt() // Returns updated_at
order.getWeight() // Returns weight

postnlShipment.getShipmentId() // Returns the shipment id
postnlShipment.getMainBarcode() // Returns the main barcode of the shipment
postnlShipment.getBarcode() // Returns the barcode of the shipment
postnlShipment.getProductCode() // Returns the product code
postnlShipment.getShipmentType() // Returns the shipment type
postnlShipment.getParcelCount() // Returns the parcel count of the shipment
postnlShipment.getConfirmedAt() // Returns the date when the shipment was confirmed
postnlShipment.getTotalWeight() // Returns the total weight of the shipment
postnlShipment.getExtraCoverAmount() // Returns the extra cover amount
postnlShipment.getDeliveryDateFormatted('{format}') // Returns expected delivery day given by PostNL. Format like d-m-Y default is d-m-Y H:i:s


shippingAddress.getAddressType() // Gets the address type for the order address.
shippingAddress.getCity() // Gets the city for the order address.
shippingAddress.getCompany() // Gets the company for the order address.
shippingAddress.getCountryId() // Gets the country ID for the order address.
shippingAddress.getEmail() // Gets the email address for the order address.
shippingAddress.getFax() // Gets the fax number for the order address.
shippingAddress.getFirstname() // Gets the first name for the order address.
shippingAddress.getLastname() // Gets the last name for the order address.
shippingAddress.getMiddlename() // Gets the middle name for the order address.
shippingAddress.getPostcode() // Gets the postal code for the order address.
shippingAddress.getPrefix() // Gets the prefix for the order address.
shippingAddress.getRegion() // Gets the region for the order address.
shippingAddress.getRegionCode() // Gets the region code for the order address
shippingAddress.getSuffix() // Gets the suffix for the order address.
shippingAddress.getTelephone() // Gets the telephone number for the order address. 

billingAddress.getAddressType() // Gets the address type for the order address.
billingAddress.getCity() // Gets the city for the order address.
billingAddress.getCompany() // Gets the company for the order address.
billingAddress.getCountryId() // Gets the country ID for the order address.
billingAddress.getEmail() // Gets the email address for the order address.
billingAddress.getFax() // Gets the fax number for the order address.
billingAddress.getFirstname() // Gets the first name for the order address.
billingAddress.getLastname() // Gets the last name for the order address.
billingAddress.getMiddlename() // Gets the middle name for the order address.
billingAddress.getPostcode() // Gets the postal code for the order address.
billingAddress.getPrefix() // Gets the prefix for the order address.
billingAddress.getRegion() // Gets the region for the order address.
billingAddress.getRegionCode() // Gets the region code for the order address
billingAddress.getSuffix() // Gets the suffix for the order address.
billingAddress.getTelephone() // Gets the telephone number for the order address. 

Geef ook een duidelijke Template Name op, bijvoorbeeld 'Custom Track and Trace'

Keer terug naar de PostNL configuratie en selecteer als Template de gene die u wilt gebruiken.

Vergeet na het wijzigen van deze instellingen niet om uw Magento Configuratie en Page Cache te vernieuwen. 

LET OP: Voer geen wijzigingen door in de vendor map, deze worden namelijk overschreven zodra de extensie wordt ge-update.

Op de hoogte blijven?

U kunt zich als watcher aanmelden op deze pagina zodat u updates ontvangt bij wijzigingen.

Installatiehulp nodig bij de PostNL extensie? Stuur dan eerst een e-mail naar citservicedesk@postnl.nl of bel met PostNL op telefoonnummer 088-2255652. TIG kan u helpen zodra wij uw casenummer hebben van PostNL.

Heeft u feedback? Wij horen het graag op 020-2181001 of per e-mail op servicedesk@tig.nl.

  • No labels