Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 form location for cart.php
Author « Topic »  

ardade
Advanced Member

257 Posts

Pre-sales questions only
(More Details...)

Posted - 11/20/2018 :  12:07:32  
trying to add some javascript to the checkout ford address fields. where is the for information located for the cart.php page for the address information? div class=billformrow

Andy
ECT Moderator

95440 Posts

Posted - 11/20/2018 :  12:40:02  
Hi

I think that is going to be pretty tricky. I mean you can look for that in inccart.php but inserting code there isn't straightforward.

Andy

Please feel free to review / rate our software

dbdave
ECT Moderator

USA
10468 Posts

Posted - 11/20/2018 :  13:01:20  
Hi Roger, sorry I didn't get more details in the response to your message last night.
For the address verification, you just add it all to cart.php
No mods to the core files at all.
When you are on the address page of your site, just right click on the address fields and click "inspect" in your browser to get the ID's of all of the address fields.

I'll form up a post tonight and put the install details in a post here on the forum.
I can't do it right now - In the office busy...

dbdave
ECT Moderator

USA
10468 Posts

Posted - 11/20/2018 :  13:13:18  
I looked up some of the info you need and here are the id's

address1: "#address",
address2: "#address2",
locality: "#city",
administrative_area: "#state",
postal_code: "#zip",
country: "#country"

But I had some custom code I wrote to handle when the customer opens up the secondary address to ship to a different location. In that case, two instances are shown.

The javascript will all go in your cart.php file after the cart include lines.
I'll post more later.

dbdave
ECT Moderator

USA
10468 Posts

Posted - 11/20/2018 :  20:06:09  
Hi Roger, can you check my last post in this thread to see if you can get it working?
https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110167

Edited by - dbdave on 11/20/2018 20:06:27

ardade
Advanced Member

257 Posts

Pre-sales questions only
(More Details...)

Posted - 11/21/2018 :  06:08:42  
Thanks. I'll work on it today. I was just getting confused because i was looking at your code and was wondering where to put everything.

dbdave
ECT Moderator

USA
10468 Posts

Posted - 11/21/2018 :  07:18:01  
I think I covered it well in that new post, so give it a try.

David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000