crombiecrunch Posted December 7, 2008 Share Posted December 7, 2008 (edited) Please post any issues here that you may have with the single page checkout. You will need basic HTML knowledge to format it to your site. It is setup right now to display as a single column. Thanks for downloading and installing it And I hope you enjoy it. Edited December 7, 2008 by crombiecrunch Quote Link to comment Share on other sites More sharing options...
Amrahp Posted December 7, 2008 Share Posted December 7, 2008 Nice work!!!! IMHO is this what Osc really needs! I have installed it now and testing it... First problem that has come up now is that the "toggle shipping" doesn't seem to work properly for me. I am using STS and did try to implement the javascript in the checkout.php.html header but then received code errors... Quote Link to comment Share on other sites More sharing options...
Amrahp Posted December 7, 2008 Share Posted December 7, 2008 Well in case someone else wonders did I get to know that this excellent addon not toggles the shipping information on/off if the "Shipping address same as billing address" is ticked. Instead it copies the information to the shipping fields. Nice work! Quote Link to comment Share on other sites More sharing options...
redrum Posted December 7, 2008 Share Posted December 7, 2008 Is there a demo available? Quote Link to comment Share on other sites More sharing options...
akvario Posted December 7, 2008 Share Posted December 7, 2008 The title got my attention :) "Singe page checkout" I would love to see a demo OR just some screenshoots. Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 (edited) Sorry you can see it on my live store at http://rentthisroom.com/salescart and then you can play with it at http://rentthisroom.com/test01 feel free to create accounts and orders at the /test01 Edited December 7, 2008 by crombiecrunch Quote Link to comment Share on other sites More sharing options...
Guest Posted December 7, 2008 Share Posted December 7, 2008 Please post any issues here that you may have with the single page checkout. You will need basic HTML knowledge to format it to your site. It is setup right now to display as a single column. Thanks for downloading and installing it And I hope you enjoy it. Wow, this is great!!! Exactly what I wanted, thanks for adding it to the contributions. Played with it on your test site & it appears to work perfectly. Quote Link to comment Share on other sites More sharing options...
akvario Posted December 7, 2008 Share Posted December 7, 2008 Thanks Jonathan Looks good, i'll have to test this one ;) Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 Thanks I hope a lot of people will find a good use for it. The page was really created for my website only at first, and then it was 'adapted' for a default OSC install. As some know from chatting with me in IM, I actually hired a developer for my site since I have zero skills :) I am more then happy to have any reasonable suggestions added in to the contribution. And the contribution will be fully supported by myself and my developer. And if the page really works for you, please try to show your support through a donation. Quote Link to comment Share on other sites More sharing options...
fernyburn Posted December 7, 2008 Share Posted December 7, 2008 Hi Excellent contribution - I was wondering though.... we use drop down states for the shipping, basically we get th pull down echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } else { echo tep_draw_input_field('state'); and change to echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } else { // FORM NOT PROCESSED YET $zone_id = 0; $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "'"); $check = tep_db_fetch_array($check_query); $entry_state_has_zones = ($check['total'] > 0); if ($entry_state_has_zones == true) { $zones_array = array(); $zones_array[] = array('id' => PULL_DOWN_DEFAULT, 'text' => PULL_DOWN_DEFAULT); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } however in checkout_shipping & checkout_billing it only shows this echo tep_draw_pull_down_menu('state', $zones_array,'',$disabled_ship." ".'onchange="toggleShipping_fields(\'state\',\'ship_state\');"'); } else { echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"'); } } else { echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"'); } if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; how do I alter this code so the state becomes a drop down with the zones listed Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 (edited) Hello The state drop down will be updated in the next release. Which should be tomorrow or the next day( DEC 8th or 9th). Hi Excellent contribution - I was wondering though.... we use drop down states for the shipping, basically we get th pull down echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } else { echo tep_draw_input_field('state'); and change to echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } else { // FORM NOT PROCESSED YET $zone_id = 0; $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "'"); $check = tep_db_fetch_array($check_query); $entry_state_has_zones = ($check['total'] > 0); if ($entry_state_has_zones == true) { $zones_array = array(); $zones_array[] = array('id' => PULL_DOWN_DEFAULT, 'text' => PULL_DOWN_DEFAULT); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } } however in checkout_shipping & checkout_billing it only shows this echo tep_draw_pull_down_menu('state', $zones_array,'',$disabled_ship." ".'onchange="toggleShipping_fields(\'state\',\'ship_state\');"'); } else { echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"'); } } else { echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"'); } if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; how do I alter this code so the state becomes a drop down with the zones listed Edited December 7, 2008 by crombiecrunch Quote Link to comment Share on other sites More sharing options...
fernyburn Posted December 7, 2008 Share Posted December 7, 2008 thank you, all i have to do next is figure out how to merge it with fast easy checkout !! as I dont need customers to have an account or password Quote Link to comment Share on other sites More sharing options...
kbking Posted December 7, 2008 Share Posted December 7, 2008 (edited) Hi! Yes very nice indeeed! I did a quick test, but got a blank page and parse errors saying unexpected end at the last line. I added a curly bracket not really knowing the correct spot for it, after the page showed up, but none of the checkout related areas were there... A few </td> </tr>, lines: 2560,2561,2563,2564 seems to be redundant. Edited December 7, 2008 by kbking Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 This will actually be added in as well was already on the to do list thank you, all i have to do next is figure out how to merge it with fast easy checkout !! as I dont need customers to have an account or password Quote Link to comment Share on other sites More sharing options...
fernyburn Posted December 7, 2008 Share Posted December 7, 2008 wow - i can't wait !!!!! Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 Yup see the error. Ill upload a new file in a min Hi! Yes very nice indeeed! I did a quick test, but got a blank page and parse errors saying unexpected end at the last line. I added a curly bracket not really knowing the correct spot for it, after the page showed up, but none of the checkout related areas were there... A few </td> </tr>, lines: 2560,2561,2563,2564 seems to be redundant. Quote Link to comment Share on other sites More sharing options...
danta67 Posted December 7, 2008 Share Posted December 7, 2008 Yup see the error. Ill upload a new file in a min just downloaded the contri but cant find this line in my check..comformation.php tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL')); Replace with tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); help please using rc2a danta67 Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 Hi Just do a search in your file for FILENAME_CHECKOUT_PAYMENT_ADDRESS, etc. just downloaded the contri but cant find this line in my check..comformation.php tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL')); Replace with tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); help please using rc2a danta67 Quote Link to comment Share on other sites More sharing options...
danta67 Posted December 7, 2008 Share Posted December 7, 2008 Hi Just do a search in your file for FILENAME_CHECKOUT_PAYMENT_ADDRESS, etc. thanks for the quik res[ponse i found <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') is this what im looking for danta67 Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 yes those are the ones, there are 4 edits you need to make. I think I left out a . so just search for the FILENAME_CHECKOUT_XXXX_XXXXX and youll pull them up thanks for the quik res[ponse i found <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') is this what im looking for danta67 Quote Link to comment Share on other sites More sharing options...
danta67 Posted December 7, 2008 Share Posted December 7, 2008 yes those are the ones, there are 4 edits you need to make. I think I left out a . so just search for the FILENAME_CHECKOUT_XXXX_XXXXX and youll pull them up found it thanks Quote Link to comment Share on other sites More sharing options...
verktoybutikken.no Posted December 7, 2008 Share Posted December 7, 2008 Hello. i can't find this in my "checkout_confirmation.php". tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL')); Replace with tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); Find tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); Replace tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); I use 2.2ms2-051113 Quote Link to comment Share on other sites More sharing options...
crombiecrunch Posted December 7, 2008 Author Share Posted December 7, 2008 (edited) Hello. i can't find this in my "checkout_confirmation.php". I use 2.2ms2-051113 Hi there see the previous post. I left out a . in the text I think so just do a search for FILENAME_CHECKOUT_XXXX_XXXXX (FILENAME_CHECKOUT_PAYMENT_ADDRESS, etc) for all 4 edits Edited December 7, 2008 by crombiecrunch Quote Link to comment Share on other sites More sharing options...
danta67 Posted December 7, 2008 Share Posted December 7, 2008 Hi there i just have to say this is an awesome contri thanks thanks alot installed it and it works great thanks again danta67 Quote Link to comment Share on other sites More sharing options...
verktoybutikken.no Posted December 7, 2008 Share Posted December 7, 2008 Hi there see the previous post. I left out a . in the text I think so just do a search for FILENAME_CHECKOUT_XXXX_XXXXX (FILENAME_CHECKOUT_PAYMENT_ADDRESS, etc) for all 4 edits The only thing i found is <td class="main"><?php echo '<b>' . HEADING_BILLING_ADDRESS . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> Is this the one???? Replace with: tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); ?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.