Variables for selected Delivery Dates and Time Slots (Magento)

Variables for Delivery Dates and Time Slots (Magento)

If you are using Estimated Delivery Dates or Selected Delivery Dates and Time Slots features from Calcurates you may utilize 'date' or 'time' variables for your email or PDF templates in the Magento admin.
Use the following code to insert the variable:
  1. {{block class="Calcurates\ModuleMagento\Block\Order\DeliveryDateTime" type="date" area="frontend" order=$order order_id=$order_id template="Calcurates_ModuleMagento::order/delivery_date_time.phtml"}}
The parameter type may have 2 values:
  1. "date"
  2. "time"
You should insert this particular code in the Email Templates > "Insert Variables" modal window.
order=$order is used for older Magento versions, while order_id=$order_id is used in newer versions, where transfer of objects is prohibited.
Therefore the above code should work for all Magento versions.

Adding variables into the Amasty One Step Checkout success page

Unzip the file ( - attached) into your theme folder.

    • Related Articles

    • How to set Delivery Dates display format in Magento module config

      There are 2 additional settings available in the Calcurates Magento 2 module config, that are responsible for the display of Delivery Dates info at checkout. Ignore these settings if you don’t have “Delivery Dates” feature activated for your ...
    • How Delivery Dates feature works

      Video: How to Set Up Shipping Segments and Rules in Calcurates How to add Delivery Dates feature To add the Delivery Dates advanced feature to your Calcurates account you can in the left menu in the section Pro Features. Pricing for Delivery Dates ...
    • How to set up the Estimated Shipping App for Shopify

      Step 1: complete widget settings Complete widget settings in order to specify shipping rates, estimated delivery dates and countdown timer displayed on product pages. Main settings 1) Shipping method displayed in widget Select on of your existing ...
    • How Product Page Widget feature works

      General Information Product Page Widget (aka Shipping on Product Pages) is an advanced feature that is available in the left menu in the section Pro Features. Product Page Widget allows you to provide your customers with certain shipping methods and ...
    • How Multi-Origin Shipping feature works

      Video: How to Set Up Multi-Origin Shipping in Calcurates? Enable Multi-Origin feature To add the Multi-Origin advanced feature to your Calcurates account you need to enable toggle Multi-Origin Shipping on the Origins page Having the functionality ...