Gsmtronix Posted July 19, 2003 Posted July 19, 2003 Hi, I don't want to use billing in my checkout procedure, so I've passed that step. The payment and shipping options are selected in the shipping page at the same time. I have bank transfer and COD modules installed, bank transfer has a fixed fee, meanwhile COD is by table rate. What I can't get to work is to display the bank transfer details in the checkout confirmation and send them in the e-mail also. I'm not a PHP expert, but I was wondering if that can't be made with something like an if clause (in very general way): If "shipping" = "bank transfer" then echo bank transfer details and send e-mail Any help is welcome. Thank you in advance.
Daemonj Posted July 19, 2003 Posted July 19, 2003 Edit your catalog/includes/modules/payment/banktransfer.php file, and in the confirmation() member function return the appropriate information. Take a look at the moneyorder.php file for an example. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Gsmtronix Posted July 20, 2003 Author Posted July 20, 2003 I'm not using payment modules, only shipping. I'm using flat shipping as bank transfer payment and I want that the bank details show up in the confirmation page when this "shipping" is selected, and send it in the e-mail also. I've check the confirmation() function from bank transfer module, function confirmation() { global $HTTP_POST_VARS; $confirmation = array('title' => $this->title . ': ' . $this->check, 'fields' => array(array('title' => MODULE_PAYMENT_BANKTRANSFER_TEXT_DESCRIPTION))); return $confirmation; } How do I use it with the shipping module? Where do I put the bank details?
Daemonj Posted July 21, 2003 Posted July 21, 2003 It won't work as a shipping module, only as a payment module. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.