Floob Posted March 9, 2003 Share Posted March 9, 2003 (I'm using MS1 with zones postage method) In the Invoice URL: http://www.DOMAIN.com/admin/invoice.php?oID=6 There is a postage line that says Standard Post (Ship to GB : 450 gram(s)): ?1.00 Where do I change it so it says: Standard Post: ?1.00 I want to keep the variables: MODULE_SHIPPING_GLOBALMAIL_TEXT_WAY MODULE_SHIPPING_GLOBALMAIL_TEXT_UNITS to be unchanged though, as I want it to appear ok on the checkout screen, I just want to manually exclude the info from the invoice. Thanks for any help. Link to comment Share on other sites More sharing options...
Floob Posted March 9, 2003 Author Share Posted March 9, 2003 Will it just be an area in invoice.php that I need to edit? Or does it include another related file? Link to comment Share on other sites More sharing options...
Ajeh Posted March 10, 2003 Share Posted March 10, 2003 If you do not want to see something on the Invoice, then edit the /admin/invoice.php file and comment out or remove the code. I am one to comment things out rather than remove code as I change my mind a lot ... 8) Link to comment Share on other sites More sharing options...
Floob Posted March 10, 2003 Author Share Posted March 10, 2003 Thats what I thought - but for the life of me I cant see where in invoice.php, these are being brought in: MODULE_SHIPPING_GLOBALMAIL_TEXT_WAY MODULE_SHIPPING_GLOBALMAIL_TEXT_UNITS Any ideas? Link to comment Share on other sites More sharing options...
Ajeh Posted March 10, 2003 Share Posted March 10, 2003 Once you get to the orders.php they no longer are pulled from the modules. The information is stored in the orders_total table. You need to read through the code and find where that information is grabbed. Then, you can comment out or change the info. shown on the page. Link to comment Share on other sites More sharing options...
Floob Posted March 10, 2003 Author Share Posted March 10, 2003 So, does this mean I need to pull it out from everywhere it is used. I dont fancy re-writing code to get it not to write certain bits at checkout. Link to comment Share on other sites More sharing options...
Ajeh Posted March 10, 2003 Share Posted March 10, 2003 No, you just need to alter the actual Display unless you have some reason not to save this information at all. I would just change displays. If you start altering what is stored in the tables, later, should you want it, you will have broken the relationships and data will be missing, etc. Link to comment Share on other sites More sharing options...
Floob Posted March 10, 2003 Author Share Posted March 10, 2003 Do you know whereabouts in invoice.php I need to edit it to stop that bit being displayed? I cant see where it is being called. Link to comment Share on other sites More sharing options...
Ajeh Posted March 10, 2003 Share Posted March 10, 2003 Not without reconfiguring a store and going through the code. As I say, I have not used the zones. Perhaps someone who uses them could better answer this one ... :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.