View Full Version : Verbiage change
reach100
February 13th, 2004, 03:14 PM
Hi,
Can I slightly alter the statement "click the Continue... button at the bottom of the page to submit your address information."
My client feels strongly that "complete checkout" is better so i created a button to comply. http://terrytanakadds.com
Please let me know which file to alter, thanks!
Rich V
Jamie
February 13th, 2004, 03:27 PM
Hi Rich,
Yes, you can do that. You have to modify the "squirrelcart/functions/show_cart.func" file. The code is around lines 45 - 56, and appears 3 different times (depending on where you are in the checkout process):
if ($SC['order']['Bill_Addr'] && !$SC['order']['Bill_Addr']['missing']) { // if shipping address info already exists, this button will go to shipping method form
if($SC['order']['shipping']['courier']){ // if shipping method is already set, this button will go on to payment method gathering
$instructions = "Confirm that all information is correct, then click the <b>Continue...</b> button <br>at the bottom of the page to continue to payment section.<br>";
$Checkout_Button = "<a href=\"$SC[secure_cart_page]?payment_info=1$SC[send_sid]\">$checkout_cart_img</a>";
} else {
$instructions = "Click the <b>Continue...</b> button at the bottom of the page to choose your shipping method.<br>";
$Checkout_Button = "<a href=\"$SC[secure_cart_page]?shipping_method=1$SC[send_sid]\">$checkout_cart_img</a>";
}
} else { // otherwise, it will go to shipping info page
$instructions = "Click the <b>Continue...</b> button at the bottom of the page to submit your address information.<br>";
$Checkout_Button = "<a href=\"$SC[secure_cart_page]?shipping_info=1$SC[send_sid]\">$checkout_cart_img</a>";
}
Thanks,
Jamie
Jamie
February 13th, 2004, 03:29 PM
BTW...I am moving this post to the customization section of the forums. The Anything Goes form at the very top is for topics not related to Squirrelcart.
Thanks,
Jamie
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.