Alien-Tech Posted January 18, 2004 Share Posted January 18, 2004 The thing is, that none of the shipping modules works for me so I decided to do the following... In the checkout_shipping.php at the end.. line 29 and 30 reads: define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', 'blablablabla'); define'TEXT_CONTINUE_CHECKOUT_PROCEDURE', 'blablablabla'); I can add text in the first line something like: Shipping will be charged, based on price of the country Post. But in the last line i would like to add hyperlink instead of text. How many files (and which) would I need to modify for this! Please answer if somebody knows the way! I tryed like this (newbee in php): define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', 'blablabla'); define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', 'http://www.posta.si/Namizje.aspx?tabid=95'); but it is offcourse NO GO! Link to comment Share on other sites More sharing options...
Alien-Tech Posted January 19, 2004 Author Share Posted January 19, 2004 :o Come on this should be no problem for somebody who knows about PHP! Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 19, 2004 Share Posted January 19, 2004 it is not that simple... here is an example of how a std link to a OSC page is formed tep_href_link(FILENAME_LOGIN, '', 'SSL') since it appears that you are attempting to link to a non-OSC page, it will require a bit more work. i hope i helped point you in the right direction... Link to comment Share on other sites More sharing options...
Alien-Tech Posted January 19, 2004 Author Share Posted January 19, 2004 .. I solved the problem a few minutes ago, so thnx anyway... I am posting the answer to my question writen in all code of checkout_shipping.php, the change is only in line 30... if it'll help to somebody else too. <?php/* $Id: checkout_shipping.php,v 1.3 2003/02/06 17:38:16 thomasamoulton Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE_1', 'Checkout'); define('NAVBAR_TITLE_2', 'Shipping Method'); define('HEADING_TITLE', 'Delivery Information'); define('TABLE_HEADING_SHIPPING_ADDRESS', 'Shipping Address'); define('TEXT_CHOOSE_SHIPPING_DESTINATION', 'Please choose from your address book where you would like the items to be delivered to.'); define('TITLE_SHIPPING_ADDRESS', 'Shipping Address:'); define('TABLE_HEADING_SHIPPING_METHOD', 'Shipping Method'); define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred shipping method to use on this order.'); define('TITLE_PLEASE_SELECT', 'Please Select'); define('TEXT_ENTER_SHIPPING_INFORMATION', 'This is currently the only shipping method available to use on this order.'); define('TABLE_HEADING_COMMENTS', 'Add Comments About Your Order'); define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', 'Continue Checkout Procedure'); define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', '<a href="' . ('http://www.postoffice.com') . '"><font color="#FFCC00">Link text</a>'); ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.