markscarts Posted September 11, 2005 Share Posted September 11, 2005 Some folk could not care less, while to others reading misspelled words is a major irritant. If you've noticed that the word "shipping" is misspelled in the Ship-by-Weight module, at least through version 3.0.2, and would like to correct it, here's how: OPEN <root directory>/admin/modules/shipping/By_Weight/index.php FIND all instances of the word shiping and replace with shipping. Also, for those sites operating in the USA and allowing mail orders, you might want to use the word check in place of the UK spelling, cheque. OPEN <root directory>/modules/gateway/Print_Order_Form/orderForm.php FIND: if($module['cheque'] == 1){ Â $print_order_form->assign("LANG_PAY_BY_CHEQUE","Pay by cheque"); Â $print_order_form->assign("VAL_MAKE_CHEQUES_PAYABLE_TO","Please make cheques payable to ".$module['payableTo']."."); Â $print_order_form->parse("order_form.check_true"); } REPLACE WITH: if($module['cheque'] == 1){ Â $print_order_form->assign("LANG_PAY_BY_CHEQUE","Pay by check"); Â $print_order_form->assign("VAL_MAKE_CHEQUES_PAYABLE_TO","Please make checks payable to ".$module['payableTo']."."); Â $print_order_form->parse("order_form.check_true"); } While you're in the vicinity, you may wish to open the actual order form and add a link back to your site, so that customers can go back to the site easily after ordering by mail . . . OPEN <root directory>/modules/gateway/Print_Order_Form/orderForm.tpl FIND: </div> </body> </html> REPLACE WITH: </div><div><p align="center" class="copyText" style="margin-bottom:1em"><a style="color:blue" href="http://YOUR SITE'S URL/index.php"><b> Return to Store</b></a></p></div> </body> </html> Just remember in the code above to replace YOUR SITE'S URL with, you guessed it, your own site's actual URL As a CubeCart Newbie who is ignorant of PHP, I am happy to share my very simple tips for other newbies. Comments, suggestions appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.