iflyamphib Posted October 30, 2009 Posted October 30, 2009 Can anyone explain which checkout file is responsible for displaying the customers 'state' on the checkout page. I cannot say for sure, but as I recall since I installed Oscommerce from the start the 'state' was never pulled into the checkout page display. I'm working with another contrib (ABF freight), and the state field is not being pulled into the query for freight rates, so I'm wondering if this related. Went to the live demo store last night, and the state field does show there, so it's a possibility I erased something while working a contrib.
germ Posted October 31, 2009 Posted October 31, 2009 Can anyone explain which checkout file is responsible for displaying the customers 'state' on the checkout page. I cannot say for sure, but as I recall since I installed Oscommerce from the start the 'state' was never pulled into the checkout page display. I'm working with another contrib (ABF freight), and the state field is not being pulled into the query for freight rates, so I'm wondering if this related. Went to the live demo store last night, and the state field does show there, so it's a possibility I erased something while working a contrib. /catalog/checkout_shipping_address.php is the only file in the checkout process I found code for the state in. Or at least it was the only one that had the state in the queries. That being said, if your's isn't working I really wouldn't know right off hand what to do to fix it. :blush: At least you have a place to start looking. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
iflyamphib Posted October 31, 2009 Author Posted October 31, 2009 Well this is really perplexing. I installed a fresh clean copy, version 2.2RC2a Created a account and then added item to the cart. Upon checkout, the customers 'state' is not shown. If I then go to http://www.oscommerce.com/solutions/oscommerce (2.2 Milestone 2) and create an order, on checkout the 'state' field shows. So what's the difference between 2.2RC2a and 2.2 Milestone 2? I've compared all the checkout related files in Winmerge this evening and the only portions of the files that are different are the added contribs. /catalog/checkout_shipping_address.php is the only file in the checkout process I found code for the state in. Or at least it was the only one that had the state in the queries. That being said, if your's isn't working I really wouldn't know right off hand what to do to fix it. :blush: At least you have a place to start looking.
iflyamphib Posted November 1, 2009 Author Posted November 1, 2009 bump - before I go crazy here, as I've been looking at this for 2 days now. Even with a fresh, stock (2.2RC2a) store install, the customer info is shown on the checkout page as: Test Customer 123 Main St 32927 Cocoa United States Why is the customers 'state' not showing? And how can I fix it, pretty please? Well this is really perplexing. I installed a fresh clean copy, version 2.2RC2a Created a account and then added item to the cart. Upon checkout, the customers 'state' is not shown. If I then go to http://www.oscommerce.com/solutions/oscommerce (2.2 Milestone 2) and create an order, on checkout the 'state' field shows. So what's the difference between 2.2RC2a and 2.2 Milestone 2? I've compared all the checkout related files in Winmerge this evening and the only portions of the files that are different are the added contribs.
Jacson Posted November 1, 2009 Posted November 1, 2009 That's a setting in admin, under configuration/customer details, you need to set the "state" to true. Jacson bump - before I go crazy here, as I've been looking at this for 2 days now. Even with a fresh, stock (2.2RC2a) store install, the customer info is shown on the checkout page as: Test Customer 123 Main St 32927 Cocoa United States Why is the customers 'state' not showing? And how can I fix it, pretty please?
iflyamphib Posted November 1, 2009 Author Posted November 1, 2009 Jacson, The value is set to 'true'. That's a setting in admin, under configuration/customer details, you need to set the "state" to true. Jacson
Recommended Posts
Archived
This topic is now archived and is closed to further replies.