gems-n-more Posted October 12, 2002 Posted October 12, 2002 Hi there, I have installed the Gift voucher addon and it really works great. But I have one small question: When you add a new gift voucher item, you need to write the letters "GIFT" in capitals at the article title. Since I?m working on a german shop, this should be "GUTSCHEIN"! Does anyone know, where to edit this? Thank you for your answers, Steffen
Ian Posted October 13, 2002 Posted October 13, 2002 To do this you will need to edit catalog/includes/modules/order_total/ot_gv.php look for function update_credit_account($i) { global $order, $customer_id, $insert_id; if (ereg('^GIFT', addslashes($order->products[$i]['model']))) { and change the '^GIFT' for '^GUTSCHEIN' That should do it. Trust me, I'm an Accountant.
gems-n-more Posted October 14, 2002 Author Posted October 14, 2002 Thank you, I?ll try this and I think it will work. Another question: Is there a possibility to charge no shipping costs when only gift vouchers are bought? How can this be done?
Ian Posted October 14, 2002 Posted October 14, 2002 Yes, What shipping module are you using? Trust me, I'm an Accountant.
gems-n-more Posted October 14, 2002 Author Posted October 14, 2002 I?m using the tabellaric shipping costs.
Ian Posted October 14, 2002 Posted October 14, 2002 ok, I have a modified version of table module. Please email me at [email protected] and I will send by return. Trust me, I'm an Accountant.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.