yesitshere Posted June 1, 2009 Posted June 1, 2009 Hi to all, I've been looking around to remove the (lbs) on the checkout_confirmation.php page where it gives the total sum of the products and shipping costs. The only thing I found so far is to change lbs to kg, which not what I need + I succeeded in removing the word lbs. The problem is removing those brackets -after the word Shipping, and before the ":"-, and as much as I tried playing around I did not manage so far. It seems ridiculously easy, but I'm still not able to do it... Thank you so much in advance.
yesitshere Posted June 3, 2009 Author Posted June 3, 2009 Hi all, I cannot understand that no one had the same problem before... I charge shipping according to order price elevation, so the words kg/lbs and it's brackets are obsolete. Thanks guys !
FIMBLE Posted June 3, 2009 Posted June 3, 2009 Check the file in catalog / includes / languages / english / modules / shipping / Your installed module.php The code is likely to be there Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
yesitshere Posted June 4, 2009 Author Posted June 4, 2009 Thanks for replying, but nope, its not there. If it might make a difference, I'm using the geozone Mod. Thanks everyone
web-project Posted June 4, 2009 Posted June 4, 2009 No big headaches, you need the knowledge of osc and php language! Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
yesitshere Posted June 4, 2009 Author Posted June 4, 2009 No big headaches, you need the knowledge of osc and php language! okay, lets see, do you have the answer....
yesitshere Posted June 5, 2009 Author Posted June 5, 2009 okay, lets see, do you have the answer.... Hey Alex, I'm also called Alex by the way, but I still cannot find a way out, and believe me, I'm not the kind that surfs around for 20 minutes and then already asks. I'll sweat several days before I bother other people.
Pektsekye Posted June 7, 2009 Posted June 7, 2009 Re: Please... Download full backup of your site (all the files) then search for "Shipping" case sensitive with any file search program. If no result do the same search in the database. Stanislav
oscrocks Posted June 8, 2009 Posted June 8, 2009 Re: Please... Just so I understand what you want, you want the weight removed from the shipping. Also, you would like the surrounding parenthesis removed as well? Amit
yesitshere Posted June 8, 2009 Author Posted June 8, 2009 Download full backup of your site (all the files) then search for "Shipping" case sensitive with any file search program.If no result do the same search in the database. Stanislav I did already-case sensitive obviously-, but not in the database, will try. thanks Just so I understand what you want, you want the weight removed from the shipping. Also, you would like the surrounding parenthesis removed as well? Amit The weight I have managed to remove, for some reason, the brackets (not parenthesis) have a different source. thanks
Pektsekye Posted June 9, 2009 Posted June 9, 2009 Nope, it's not in the sql either. Can you give me a link in PM where I can download the full_site_backup.zip and the full_database_dump.zip ? Stanislav
yesitshere Posted June 9, 2009 Author Posted June 9, 2009 done, I guess the full_database_dump.zip means the sql backup that is done via the admin section, right? thank you so much.
Pektsekye Posted June 9, 2009 Posted June 9, 2009 done, I guess the full_database_dump.zip means the sql backup that is done via the admin section, right? thank you so much. Yes Have you tried to change this code in the catalog/checkout_shipping.php : $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); Stanislav
yesitshere Posted June 9, 2009 Author Posted June 9, 2009 Genius !!! Thanks a lot ! After all changes, my code looks like this: $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title']:$quote[0]['module'].$quote[0]['methods'][0]['title'].), 'cost' => $quote[0]['methods'][0]['cost']); the result is: Sub-Total: €263.00 Shipping : €15.00 Total: €278.00 is there a way, to get rid of the space in Shipping : (that is between the word "shipping" and the ":")?
Pektsekye Posted June 9, 2009 Posted June 9, 2009 Genius !!! Thanks a lot ! After all changes, my code looks like this: $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title']:$quote[0]['module'].$quote[0]['methods'][0]['title'].), 'cost' => $quote[0]['methods'][0]['cost']); the result is: Sub-Total: €263.00 Shipping : €15.00 Total: €278.00 is there a way, to get rid of the space in Shipping : (that is between the word "shipping" and the ":")? Check again : includes/languages/english/modules/shipping/mzmt.php includes/modules/shipping/mzmt.php - function quote() Try to remove .$quote[0]['methods'][0]['title']. in the checkout_shipping.php So the code will look like: $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module']), 'cost' => $quote[0]['methods'][0]['cost']); Stanislav
yesitshere Posted June 9, 2009 Author Posted June 9, 2009 Check again :includes/languages/english/modules/shipping/mzmt.php includes/modules/shipping/mzmt.php - function quote() Try to remove .$quote[0]['methods'][0]['title']. in the checkout_shipping.php So the code will look like: $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module']), 'cost' => $quote[0]['methods'][0]['cost']); Stanislav Super Genius, thanks so much.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.