IPB

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Can Shipping Text Be Changed?
martiniguy
post Sep 1 2008, 03:04 PM
Post #1





Group: Verified NS Member
Posts: 284
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



Can the "Click here for rates" text that shows up on step 2 of checkout be changed to "Click here for additional shipping options"???

Thanks
Go to the top of the page
 
+Quote Post
Goomba
post Sep 1 2008, 05:47 PM
Post #2





Group: Verified NS Member
Posts: 215
Joined: 13-July 08
From: St. Louis, MO
Member No.: 1,446



QUOTE (martiniguy @ Sep 1 2008, 03:04 PM) *
Can the "Click here for rates" text that shows up on step 2 of checkout be changed to "Click here for additional shipping options"???

Thanks


Gimme a second to write up a JavaScript for it, but it should be possible.
Go to the top of the page
 
+Quote Post
martiniguy
post Sep 1 2008, 06:23 PM
Post #3





Group: Verified NS Member
Posts: 284
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



QUOTE (Goomba @ Sep 1 2008, 05:47 PM) *
Gimme a second to write up a JavaScript for it, but it should be possible.

You are the man!
Go to the top of the page
 
+Quote Post
Goomba
post Sep 1 2008, 06:46 PM
Post #4





Group: Verified NS Member
Posts: 215
Joined: 13-July 08
From: St. Louis, MO
Member No.: 1,446



QUOTE (martiniguy @ Sep 1 2008, 06:23 PM) *
You are the man!


CODE
<script type="text/javascript">
if(document.getElementById('ctl00_pageContent_checkoutWizard_USPS_showLink'

)) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_USPS_showLink');
  elm.innerHTML = "Click here to see USPS shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_CUST_showLink'

)) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_CUST_showLink');
  elm.innerHTML = "Click here to see other shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_FDX_showLink')

) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_FDX_showLink');
  elm.innerHTML = "Click here to see FedEx shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_UPS_showLink')

) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_UPS_showLink');
  elm.innerHTML = "Click here to see UPS shipping rates";
}
</script>


There ya go. Change it to your liking.
Go to the top of the page
 
+Quote Post
martiniguy
post Sep 1 2008, 07:02 PM
Post #5





Group: Verified NS Member
Posts: 284
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



QUOTE (Goomba @ Sep 1 2008, 05:46 PM) *
CODE
<script type="text/javascript">
if(document.getElementById('ctl00_pageContent_checkoutWizard_USPS_showLink'

)) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_USPS_showLink');
  elm.innerHTML = "Click here to see USPS shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_CUST_showLink'

)) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_CUST_showLink');
  elm.innerHTML = "Click here to see other shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_FDX_showLink')

) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_FDX_showLink');
  elm.innerHTML = "Click here to see FedEx shipping rates";
}
if(document.getElementById('ctl00_pageContent_checkoutWizard_UPS_showLink')

) {
  var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_UPS_showLink');
  elm.innerHTML = "Click here to see UPS shipping rates";
}
</script>


There ya go. Change it to your liking.

Wow - where exactly do I put this script?

Thank you soooo very much. I think you should be setting up a "Scripts N' Lemonade" stand near the corner of V7 & V4 (where traffic is pretty steady)- I have a feeling your stand will be pretty busy!
(IMG:http://forums.networksolutions.com/style_emoticons/default/martiniemoticon.gif)
Go to the top of the page
 
+Quote Post
Goomba
post Sep 2 2008, 12:01 AM
Post #6





Group: Verified NS Member
Posts: 215
Joined: 13-July 08
From: St. Louis, MO
Member No.: 1,446



QUOTE (martiniguy @ Sep 1 2008, 07:02 PM) *
Wow - where exactly do I put this script?

Thank you soooo very much. I think you should be setting up a "Scripts N' Lemonade" stand near the corner of V7 & V4 (where traffic is pretty steady)- I have a feeling your stand will be pretty busy!
(IMG:http://forums.networksolutions.com/style_emoticons/default/martiniemoticon.gif)


Sorry I forgot to mention that. Put it in your Checkout, Step 2, Bottom of Page.
Go to the top of the page
 
+Quote Post
martiniguy
post Sep 2 2008, 06:03 AM
Post #7





Group: Verified NS Member
Posts: 284
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



QUOTE (Goomba @ Sep 2 2008, 12:01 AM) *
Sorry I forgot to mention that. Put it in your Checkout, Step 2, Bottom of Page.

Thank you soooo much for the help!

Works like a charm!

I need some of your javascript ninja skills.
Go to the top of the page
 
+Quote Post
Rhonda
post Sep 4 2008, 05:22 PM
Post #8





Group: Verified NS Member
Posts: 240
Joined: 1-March 08
From: Dallas, TX
Member No.: 734



Goomba! You are da man! I have asked NS for a way to change this text and never got an answer.

I am using it to help my customers find the "Local Pickup" option that is a custom shipping method with a $0 charge.

I got a request for ya - I need to collect from the customer the name of the person picking up the order and their driver's license number and I just ask them to put that info in the customer notes field.

Can you give me some java that will change the text box label from "Customer Notes" to something like "Customer Notes: If Local Pickup, must provide name and driver's licence number of person picking up."

Otherwise, if you can think of a way to have a checkout question show only when a particular shipping method is chosen, that would be great ( I could collect it that way) ! NS told me it wasn't possible.
Go to the top of the page
 
+Quote Post
ddavisNS
post Sep 4 2008, 05:35 PM
Post #9





Group: Administrators
Posts: 953
Joined: 10-August 07
From: St. Louis
Member No.: 6



QUOTE (Rhonda @ Sep 4 2008, 05:22 PM) *
Can you give me some java that will change the text box label from "Customer Notes" to something like "Customer Notes: If Local Pickup, must provide name and driver's licence number of person picking up."


Goomba works here.

CODE

<script type="text/javascript">
var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_lblOrderNotes');
elm.innerHTML = "Customer Notes: If Local Pickup, must provide name and driver's licence number of person picking up.";
</script>

Put in checkout step 3 bottom of page html
Go to the top of the page
 
+Quote Post
Goomba
post Sep 4 2008, 05:38 PM
Post #10





Group: Verified NS Member
Posts: 215
Joined: 13-July 08
From: St. Louis, MO
Member No.: 1,446



QUOTE (ddavisNS @ Sep 4 2008, 05:35 PM) *
Goomba works here.


Indeed, I must confess. It is true.
Go to the top of the page
 
+Quote Post
cnmor
post Sep 4 2008, 05:50 PM
Post #11





Group: Verified NS Member
Posts: 152
Joined: 2-September 08
Member No.: 2,266



QUOTE (Goomba @ Sep 2 2008, 12:01 AM) *
Sorry I forgot to mention that. Put it in your Checkout, Step 2, Bottom of Page.


I am so lost. Where do I find Checkout?
Go to the top of the page
 
+Quote Post
ddavisNS
post Sep 4 2008, 05:54 PM
Post #12





Group: Administrators
Posts: 953
Joined: 10-August 07
From: St. Louis
Member No.: 6



QUOTE (cnmor @ Sep 4 2008, 05:50 PM) *
I am so lost. Where do I find Checkout?


Pages > Predefined pages > Checkout
Go to the top of the page
 
+Quote Post
PowderDay
post Sep 4 2008, 06:04 PM
Post #13





Group: Verified NS Member
Posts: 85
Joined: 14-August 08
Member No.: 1,942



Thanks Goomba!
Go to the top of the page
 
+Quote Post
msuz
post Sep 4 2008, 06:13 PM
Post #14





Group: Verified NS Member
Posts: 186
Joined: 13-August 08
Member No.: 1,898



Goomba,

I've added the code works well. Anyway edit the font though? I can bold it, but I cant change the size, color or font?

Much Appreciated
Msuz.
Go to the top of the page
 
+Quote Post
cnmor
post Sep 4 2008, 06:18 PM
Post #15





Group: Verified NS Member
Posts: 152
Joined: 2-September 08
Member No.: 2,266



Thanks Dave. I hadn't actually touched the tab "pages" yet. Yikes!

PS - the powers that be gave me my full 28 days for migration but don't tell any one. If you had anything to do with that thanks!
Go to the top of the page
 
+Quote Post
Rhonda
post Sep 4 2008, 08:22 PM
Post #16





Group: Verified NS Member
Posts: 240
Joined: 1-March 08
From: Dallas, TX
Member No.: 734



QUOTE (ddavisNS @ Sep 4 2008, 05:35 PM) *
CODE

<script type="text/javascript">
var elm =

document.getElementById('ctl00_pageContent_checkoutWizard_lblOrderNotes');
elm.innerHTML = "Customer Notes: If Local Pickup, must provide name and driver's licence number of person picking up.";
</script>

Put in checkout step 3 bottom of page html


AWESOME! Works like a charm!

I have needed this for weeks. Now that I have these two examples, I'm excited to practice with my own code to rename some of the checkout field labels. It was nice that we could do some of this in v4 admin console but using java here in v7 is just fine since it gives me what I need! THANK YOU GUYS SO MUCH!
Go to the top of the page
 
+Quote Post
Goomba
post Sep 4 2008, 10:38 PM
Post #17





Group: Verified NS Member
Posts: 215
Joined: 13-July 08
From: St. Louis, MO
Member No.: 1,446



QUOTE (msuz @ Sep 4 2008, 06:13 PM) *
Goomba,

I've added the code works well. Anyway edit the font though? I can bold it, but I cant change the size, color or font?

Much Appreciated
Msuz.


You can do this using CSS. JavaScript isn't required to do this. And it's easier and cleaner to use CSS.
Go to the top of the page
 
+Quote Post
RBrandt
post Sep 5 2008, 11:49 AM
Post #18





Group: Verified NS Member
Posts: 14
Joined: 2-September 08
From: Chesterfield, MO
Member No.: 2,262



I used your script as is but changed the line for Custom to say: "Click here for In-Store pickup" as that's the only custom option I use.

It works great and I thank you sincerely as I've had customers call me confused on how to select In-Store pickup.

*tips hat*
Go to the top of the page
 
+Quote Post
rajmontana
post Oct 6 2008, 12:00 PM
Post #19





Group: Verified NS Member
Posts: 7
Joined: 24-September 08
Member No.: 2,519



QUOTE (Goomba @ Sep 4 2008, 11:38 PM) *
You can do this using CSS. JavaScript isn't required to do this. And it's easier and cleaner to use CSS.


How would this be done in CSS exactly (color and size)?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2008 Time is now: 9th January 2009 - 12:35 AM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates