I've managed to add my interface to the address step.
I now need to save the data to the order. I'm not sure how to do this.
Here is my code so far:
Code:
public function getDeliveryNoteInterface($blnReview=false)
{
$objTemplate = new IsotopeTemplate('iso_checkout_delivery_notes');
$objTemplate->headline = 'Delivery Notes';
$objTemplate->message = '';
$objTemplate->fields = '';
if (!$this->doNotSubmit)
{
}
return $objTemplate->parse();
}
Not sure about the $blnReview variable either. In the Isotope Checkout module this is a boolean value which returns true if the customer is on the review page. In the method above it passes the ModuleIsotopeCheckout object.
I THINK isotope stores all of the checkout data in an array that is saved to an Order at the end of the checkout process. I'm not clear on how it works exactly though and how I can add my own data.
Does anyone know?
Thanks
Bookmarks