- Notifications
You must be signed in to change notification settings - Fork0
Basic module to store a user-selected pickup time with an order.
License
modmore/Commerce_PickupTime
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Stores the value of a "pickuptime" field in the shipping method step on an order and in the order shipments as tracking reference.
Requires Commerce 0.11 or higher.
You'll need to add a field with name "pickuptime" to your shipping template. Then the module stores the chosen pickuptime in the order properties (e.g. {{ order.properties.pickuptime }} will show it in most templates including emails),and also into the tracking reference field of order shipments to make it visible in the order interface.
A package is available in _packages on GitHub.
To run the module from source, for example if you'd like to contribute a change, you'll need to take a few steps.
Clone the repository (or better yet, a clone of your own fork)
Copy config.core.sample.php to config.core.php, and if needed adjust it so that it includes your MODX site's config.core.php. Make sure you haveCommerce installed as well, of course.
From the browser open
_bootstrap/index.php
, this will set up the necessary settings and will make the module known to Commerce.Enable the module under Configuration > Modules.
About
Basic module to store a user-selected pickup time with an order.