Guest Posted November 14, 2005 Share Posted November 14, 2005 And I've found that the cart contents are apparently saved for users when they logout and log back in - BUT..... the session problem if once you just placed an order - trying to go back and order again - sometimes the cart wont' allow you to put anything in it. If you close your browser and try again - I think usually it's fixed - but that's prettty annoying! Will keep searching for fix - can't have this going on when store goes live :) Quote Link to comment Share on other sites More sharing options...
nana Posted November 14, 2005 Author Share Posted November 14, 2005 thanks i figured it out i used $SID as far as the session problem i actually heard that once before but could not reproduce it although it should not be very hard to fix i really have not done any major changes to the way the checkout is done Quote Link to comment Share on other sites More sharing options...
Guest Posted November 14, 2005 Share Posted November 14, 2005 I'm sure it's not your checkout that's causing the problem. I fixed the paypal thing! Super! I also modified the email confirmation a bit as I was getting the weird key after the text - that seemed to serve no purpose - To fix the paypal email problem of them not getting a 2nd chance to make a password, I added this to lines 223-233 of includes/modules/payment/paypal/classes/osC/Order.class.php $check_customer = tep_db_fetch_array($check_customer_query); $new_password = $check_customer['confirmation_key']; //$crypted_password = tep_encrypt_password($new_password); $confirmation=$new_password; if (tep_session_is_registered('confirmation')) tep_session_unregister('confirmation'); if (!tep_session_is_registered('confirmation'))tep_session_register('confirmation'); // tep_db_query("update " . TABLE_CUSTOMERS . " set customers_password = '" . $crypted_password . "' where customers_id = '" . (int)$check_customer['customers_id'] . "'"); $email_order .= EMAIL_TEXT_INVOICE_PASSWORD . ' ' . tep_href_link('account_password_new.php', 'confirmation_password=' . $new_password.'&customers_id='.$check_customer['customers_id'], 'SSL', true) . "\n\n"; // $email_order .= EMAIL_TEXT_INVOICE_PASSWORD_NOLINK. $new_password . "\n"; In account_pasword_new.php I had to fix the password title not showing up correctly - I added a reference to a language file require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_PASSWORD); Quote Link to comment Share on other sites More sharing options...
baber_abbasi Posted November 14, 2005 Share Posted November 14, 2005 Hi, Its nice contrib and I have installed it on 2 different websites. During installation I have found there are some lines which should be added in the following file; Path: /includes/languages/english/create_account.php From the installation instructions, we add following 2 lines which is fine; define('LOGINBOX_NEW_CUSTOMER', 'New Customer - Please Fill in Your Details'); define('LOGINBOX_EXISTING_CUSTOMER', 'Existing Customer'); Just below these, we would need to add these additional lines which are not mentioned in installation instructions; define('LOGINBOX_EMAIL', 'E-mail address'); define('LOGINBOX_PASSWORD', 'Password'); define('LOGINBOX_TEXT_PASSWORD', 'Password Forgotten?'); define('LOGINBOX_FORGOT_PASSWORD', 'Click Here...'); These newly added lines will display proper text when u are at 'catalog/create_account.php' page I have noticed another thing that while u are at 'catalog/create_account.php', it don't display the defined text for 'LOGINBOX_EXISTING_CUSTOMER' box. When I chked, the file 'catalog/create_account.php' has wrong spellings for 'EXISTING'. You can correct the spelling and it will display the defined text i.e 'Existing Customer' I hope this will help. Quote Link to comment Share on other sites More sharing options...
jpluttme Posted November 15, 2005 Share Posted November 15, 2005 Great contribution! Thank you for all your work! Would you be so kind as to post the code for the files that have been updated since the last contribution that you use on your web site. It seems to flow quite smoothly and despite my best efforts in following the posts here and mondifying my code accordingly I can't seem to make it perform as it does on http://seelily.com. Your help is greatly appreciated! Justin Quote Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2005 Share Posted November 15, 2005 Ok here's a new feature I think would be very handy for customers as well as order processing... How about some formatting both for credit card entry and exp date? dealing w/ numbers 15 or 16 digits long w/ no space in between is a bit of a nightmare. I wouldn't mind if the customers enter it all in 1 box - but can we get the database to put a space in between every 4 digits as well as separating the exp date month from year - or code the query in the order manager (I'm actually using osc_active_desktop - to display the CC results in a formatted way? Quote Link to comment Share on other sites More sharing options...
jpluttme Posted November 16, 2005 Share Posted November 16, 2005 Currently when someone completes a purchase without an account they are brought to the page account_password_new.php?thx=1. When they sign up for an account at that screen, they are redirected to the shopping cart which is empty instead of seeing a thank you or account login screen. How do I change this? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2005 Share Posted November 16, 2005 yes I've had that problem too. I think if the same customer were to click on their invoice email - to fill out a password that way - then they don't have this blank screen problem, but rather get redirected upon selecting a password to a login screen. I wonder why the difference? Quote Link to comment Share on other sites More sharing options...
nana Posted November 16, 2005 Author Share Posted November 16, 2005 you have to change the redirect in the account_password_new.php this page is used for all three second chance create accounts you can change the redirects to any page you want it didn't bother me but i guess i have to look at its logic Quote Link to comment Share on other sites More sharing options...
acrylic-display Posted November 16, 2005 Share Posted November 16, 2005 Having Difficulty installing fast-easy-checkout2.0 contribution. Not sure where to add header info <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <a href="<?php if (!tep_session_is_registered('createaccount')) {echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; } else {echo tep_href_link('account_password_new.php', '', 'SSL'); ?>" class="headerNavigation"><?php echo 'Create Account'; } ?></a> | <?php } else { ?><a href="<?php echo tep_href_link(FILENAME_CREATE_ACCOUNT, 'fromlogin=1', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGIN; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> ?|? <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> ??</td> My Headers html is:- <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table cellspacing=0 cellpadding=0 width=736 align=center> <div id="Layer1" style="position:absolute; width:856px; height:256px; z-index:1; left: 3px; top: 2px; visibility: hidden;"> <p><strong><font color="#6699CC" size="-7" face="Arial, Helvetica, sans-serif"><strong><font color="#FF0000">perspex display, counter top displays, acrylic display cases, acrylic fabrication, point of sale, plastic cases, shop displays, display cases, ballot boxes, retail displays, acrylic stands, brochure holders, display units, display stands, display stand, literature holders, acrylic case, pos displays, signing, plastic displays, point of purchase, display case, literature displays, cd displays, sign holders, retail display, watch display, counter displays, point of purchase displays, pop displays, wall shelving, showcases, acrylic stands, sign holders, slatwall, acrylic display cases, plastic displays, display case, gridwall, custom display, perspex, displays, acrylic, brochure holders, acrylic container, dispensers, acrylic tubing, shop front display, presentation display, business card stand, perspex, pocket, shop fitting displays, shop fittings, acrylic pockets, display cases, sheets, leaflet dispenser, supply shop fitters, menu holders, stand, boxes, plastic, showcase, greeting card holders, refrigeration displays, literature stands, sign, point of sales, jewellery displays, show case, sheeting, acrylic collectibles displays, bookstands, cabinets, shelves, acrylic display stands, acrylic display cases, acrylic display cases, acrylic display stands, perspex display, display stands, counter top displays, acrylic fabrication, retail display, display box, acrylic, display cabinet, display cases, showcases, display stand, retail displays, pop displays, acrylic stands, display racks, display case, display shelves, wall shelving, counter displays, watch display, plastic displays, acrylic case display, plastic displays, acrylic cases, leaflet displays, card holders, ornament displays, gift displays, museum display, A4 poster holder, display stands, perspex panel, display case, poster holder, A5 poster holder, slatwall, showcase, acrylic cabinets, brochure, point of purchase, acrylic bases, custom displays, acrylic riser, display fixtures, acrylic boxes, dispensers, acrylic cube, acrylic easels, counter stands, jewellery stands, leaflet stands, display cabinet, acrylic shelves, displaying items, pen stands, acrylic antique, stands, acrylic show case, plate stand, plastic body, jewelry displays, bookstands, acrylic stand, acrylic risers, poster holders, angled stands, display cases, retail displays, acrylic cubes, polycarbonate, C pockets, wall displays, acrylic shelving, slanted stands, acrylic frame, wood, refrigeration dividers, leaflet dispenser, leaflet holders, sign holders, perspex, acrylic poster holder, brochure stands, acrylic easels, pen stands, pen dispensers, acrylic displays, acrylic products, leaflets holders, display stands, acrylic easel, business card holders, acrylic tube, U pockets, pvc, colored panels, acrylic stationary, leaflet dispenser, acrylic panels, office supplies, acrylic stationery, holders, display fixtures, cabinet, acrylic stand, plastic displays, jewelry stands, bag stand, acrylic case, adhesive, literature stands, acrylic tubes, sign holders, showcase, plastics, foil backing, acrylic bag displays, acrylic cabinets, acrylic sheet, custom made acrylic, aluminum, online shopping cart, paper stands, acrylic tubing, pen stands, angled poster holder, acrylic shelf, acrylic sheets, acrylic items, rack, bookstands, ticket holders, postcard stands, screen printing, aluminum, self adhesive sticky pads, acrylic box, display boxes, gift displays, display cases, acrylic supplies, counter stands, label stands, printed labels, printed signs, book stands, acrylic sheeting, plate stands, acrylic shelves, retail displays, screen printing, poster holders, polycarbonate, promotional displays, acrylic shelving, wall displays, document holders</font></strong></font><font color="#FF0000"><br> </font></strong><font color="#FF0000" face="Arial, Helvetica, sans-serif"><strong></strong></font></p> </div> <tr> <td> <table cellspacing=0 cellpadding=0> <tr> <td height=13 colspan=6></td> </tr> <tr> <td width="7" bgcolor="#3399CC">? </td> <td width=1></td> <td width="859" bgcolor="#3399CC"> <TABLE height=70 cellSpacing=0 cellPadding=0 width="97%" border=0> <TBODY> <TR> <TD width=75 bgColor=#3399CC>?</TD> <TD width=149> <div align="center"><img src="images/m01.gif" width="149" height="70"></div></TD> <TD width="634" bgColor=#3399CC><img height=70 alt="Point of sales displays direc from the manufacturers" src="images/101204_114758_top_bar.gif" width=400></TD> </TR> </TBODY> </TABLE></td> <td width=15 height=70 bgcolor="#3399CC">?</td> <td width="10" bgcolor="#3399CC">?</td> <td width=149 height=70 bgcolor="#3399CC"> <table cellspacing=0 cellpadding=0 align=center width=133> <tr> <td height=10 colspan=2></td> </tr> <tr> <td align=center bgcolor="#3399CC"><a href=http://acrylic-display.co.uk/catalog/shopping_cart.php><img src=images/m03new.gif width=33 height=33 border=0></a></td> <td bgcolor="#3399CC" class=cy><font color="#FFFFFF">Shoping<br> Cart</font></td> </tr> <tr> <td height=3 colspan=2></td> </tr> <tr bgcolor="#3399CC"> <td colspan=2><font color="#FFFFFF">now in your cart<b> </b></font><b>?<a href=http://acrylic-display.co.uk/catalog/shopping_cart.php class=ml> <font color="#FFFFFF"> <?=$cart->count_contents()?> items</font></a></b></td> </tr> <tr> <td height=8 colspan=2></td> </tr> </table></td> </tr> </table> <table cellspacing=0 cellpadding=0> <tr><td width=199 valign=top> <table cellspacing=0 cellpadding=0> <tr> <td><img src=images/m07.gif width=199 height=13></td> </tr> <tr> <td><a href=http://acrylic-display.co.uk/catalog/index.php><img src=images/m18.gif width=199 height=29 border=0></a></td> </tr> <tr> <td><a href=http://acrylic-display.co.uk/catalog/about_us.php><img src=images/m19.gif width=199 height=25 border=0></a></td> </tr> <tr> <td><a href=http://acrylic-display.co.uk/catalog/products_new.php><img src=images/m20.gif width=199 height=24 border=0></a></td> </tr> <tr> <td><a href=http://acrylic-display.co.uk/catalog/account.php><img src=images/m21.gif width=199 height=24 border=0></a></td> </tr> <tr> <td><a href=http://acrylic-display.co.uk/catalog/shopping_cart.php><img src=images/m22.gif width=199 height=31 border=0></a></td> </tr> <tr> <td><img src=images/m15.gif width=199 height=18></td> </tr> </table> </td> <td valign=top><img src=images/m08.jpg width=203 height=164><img src=images/m09.jpg width=174 height=164></td> <td> <table cellspacing=0 cellpadding=0 height=164 border=0> <tr> <td><img src=images/m10.gif width=160 height=16></td> </tr> <tr><td class=bg> <table cellspacing=0 cellpadding=0 width=127 align=center> <tr> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> ? <a href=http://acrylic-display.co.uk/catalog/products.php class=ml1>Products</a></td> </tr> <tr><td height=2></td></tr> <tr> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> ? <a href=http://acrylic-display.co.uk/catalog/pictures.php class=ml1>Pictures</a></td> </tr> <tr><td height=2></td></tr> <tr> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> ? <a href=http://acrylic-display.co.uk/catalog/contact_us.php class=ml1>Contact Us</a></td> </tr> <tr><td height=2></td></tr> <tr> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> ? <a href=http://acrylic-display.co.uk/catalog/create_account.php class=ml1>Create an account</a></td> </tr> <tr><td height=2></td></tr> <tr> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> ? <a href=http://acrylic-display.co.uk/catalog/login.php class=ml1>Customer Login</a></td> </tr> <tr><td height=12></td></tr> <tr><td><img src=images/m14.gif width=127 height=1></td></tr> <tr><td height=4></td></tr> <tr> <td><b>Currencies</b></td> </tr> <tr><td height=4></td></tr> <tr><td> <? // CURRENCIES echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'); reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width: 100%"') . $hidden_get_variables . tep_hide_session_id(); echo '</form>'; ?> </td></tr> </table> </td></tr> <tr> <td><img src=images/m16.gif width=160 height=18></td> </tr> </table> </td></tr> </table> <table cellspacing=0 cellpadding=0> <tr><td colspan=3 height=3></td></tr> <tr><td width=207 valign=top> <table cellspacing=0 cellpadding=0> <tr> <td><img src=images/m24.gif width=207 height=40></td> </tr> <tr><td class=bg1> <table cellspacing=0 cellpadding=0 width=167 align=center> <tr><td height=18></td></tr> <? // ---- CATEGORIES function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; if(!$tree[$counter]['level']){ $categories_string .= $categories_string ? '<tr><td><img src=images/m26.gif width=167 height=1><br><br class=px2></td></tr>' : ''; $categories_string .= '<tr><td><img src=images/m25.gif width=5 height=5 align=absmiddle> ? <a class=ml1 href='; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display category name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a><br><br class=px4></td></tr>'; }else{ $categories_string .= '<tr><td>'; for($i=0;$i<$tree[$counter]['level'];$i++) $categories_string .= '???'; $categories_string .= ' - <a class=ml1 href='; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display category name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a><br><br class=px4></td></tr>'; } if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } } define(TABLE_CATEGORIES, "categories"); define(TABLE_CATEGORIES_DESCRIPTION, "categories_description"); $categories_string = ''; $tree = array(); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $categories['categories_id']; } $parent_id = $categories['categories_id']; if (!isset($first_element)) { $first_element = $categories['categories_id']; } } //------------------------ if ($cPath) { $new_path = ''; reset($cPath_array); while (list($key, $value) = each($cPath_array)) { unset($parent_id); unset($first_id); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); if (tep_db_num_rows($categories_query)) { $new_path .= $value; while ($row = tep_db_fetch_array($categories_query)) { $tree[$row['categories_id']] = array('name' => $row['categories_name'], 'parent' => $row['parent_id'], 'level' => $key+1, 'path' => $new_path . '_' . $row['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $row['categories_id']; } $parent_id = $row['categories_id']; if (!isset($first_id)) { $first_id = $row['categories_id']; } $last_id = $row['categories_id']; } $tree[$last_id]['next_id'] = $tree[$value]['next_id']; $tree[$value]['next_id'] = $first_id; $new_path .= '_'; } else { break; } } } $categories_string .= ''; tep_show_category($first_element); $categories_string .= ''; echo $categories_string; ?> <tr><td height=5></td></tr> </table> </td></tr> <tr> <td><img src=images/m27.gif width=207 height=6></td> </tr> <tr><td height=3></td></tr> </table> <table cellspacing=0 cellpadding=0> <tr> <td><img src=images/m28.gif width=207 height=40></td> </tr> <tr><td class=bg1> <table cellspacing=0 cellpadding=0 width=175 align=center border=0> <? echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); echo '<tr><td height=17 colspan=2></td></tr> <tr><td valign=top align=right>'.tep_draw_input_field('keywords', '', 'size="20" maxlength="30" class=go') . '?' . tep_hide_session_id() . '</td><td valign=top align=left>?<input type=image src=images/m30.gif width=31 height=21></td></tr> <tr><td height=8 colspan=2></td></tr> <tr><td colspan=2><a class=ml2 href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a></td></tr> <tr><td height=8 colspan=2></td></tr> </form>'; ?> </table> </td></tr> <tr> <td><img src=images/m27.gif width=207 height=6></td> </tr> </table> </td> <td width=3 valign=top></td> <td width=526 valign=top>. Does anyone know where I need to put it as my header is very modified? Also when I try to checkout it comes up with this error:- Fatal error: Cannot redeclare tep_show_category() in /home/acrylic/public_html/catalog/includes/boxes/categories.php on line 13 Is it because I have not changed my header yet. I appreciate anyone who can help as this thing has been driving me crazy for ages. Thanks adam Quote Link to comment Share on other sites More sharing options...
Graveyard666 Posted November 16, 2005 Share Posted November 16, 2005 I just installed this contrib this morning, all over from scratch and after I hit "confirm order" button on create_account3.php it just puts me in a loop with this same page and empties my cart. any ideas why? www.graveyardrecords.com/2006/ jeff Quote Link to comment Share on other sites More sharing options...
baber_abbasi Posted November 16, 2005 Share Posted November 16, 2005 Great contribution! Thank you for all your work! Would you be so kind as to post the code for the files that have been updated since the last contribution that you use on your web site. It seems to flow quite smoothly and despite my best efforts in following the posts here and mondifying my code accordingly I can't seem to make it perform as it does on http://seelily.com. Your help is greatly appreciated! Justin Hi Justin, You may follow what I have mentioned as these are only 4 new lines to add and one correction in a file at root. Even if its not clear, you may talk to me over messenger(s) or email. Cheers. Baber Quote Link to comment Share on other sites More sharing options...
nana Posted November 16, 2005 Author Share Posted November 16, 2005 (edited) sorry guys for not answering quickly busy with a job!! baber thx for the help jeff your problem probably have something to do with setting the correct values in your configure file just do a search and there are a few times that this is mentioned along with solution adam who ever did your header have not done a very good job since all the links are static and will not pass the sid you should have him redo them using tep function try turning the cookies off add something to the product and click one of the links in the header and ck the cart see if the products are still there there is the my account link and create account link has to be changed <td><img src=images/m12.gif width=3 height=3 align=absmiddle> <a href=http://acrylic-display.co.uk/catalog/create_account.php class=ml1>Create an account</a></td> to <td><img src=images/m12.gif width=3 height=3 align=absmiddle> <a href=http://acrylic-display.co.uk/catalog/create_account.php class=ml1>Create an account</a></td> <td><img src=images/m12.gif width=3 height=3 align=absmiddle> <a href=http://acrylic-display.co.uk/catalog/create_account.php?fromlogin=1 class=ml1>Create an account</a></td> i would have helped more if it wasn't for that scrolling progress bar it is giving me pain Edited November 16, 2005 by nana Quote Link to comment Share on other sites More sharing options...
Guest Posted November 17, 2005 Share Posted November 17, 2005 Hi, Im looking to install this contribution as it looks great! , just one thing i notice on the test site - after completing a checkout without creating an account i get to this page: http://seelily.com/account_password_new.php?thx=1 However from this page i seem to get stuck, both the back and continue buttons just prompt for a 5 digit+ new password - there seems to be no option to not set a password and just go back to say index.php. The 'back' link is to account.php but when clicked just takes me to: http://seelily.com/account_password_new.php Is this normal or just a glitch? Thanks! Matt Quote Link to comment Share on other sites More sharing options...
giapet Posted November 17, 2005 Share Posted November 17, 2005 One quick question for using this code with stock CC payment module but wothout a merchant account. (I'm using propay on the side and manual enter cc numbers at their site) Do I use this code (checkout_confirmation) as is or do I have to change it? Thanks! //fast easy checkout start foreach ($_SESSION as $key => $val) { // print $key.' => '.$val.' - ';print_r($val);echo "<br>"; $HTTP_POST_VARS[$key] = $val; } // first two lines are for ccgv //tep_session_unregister('gv_redeem_code'); //tep_session_unregister('credit_covers'); tep_session_unregister('cc_number'); tep_session_unregister('cc_expires_month'); tep_session_unregister('cc_expires_year'); tep_session_unregister('cc_owner'); tep_session_unregister('authorizenet_cc_number'); tep_session_unregister('authorizenet_cc_expires_month'); tep_session_unregister('authorizenet_cc_expires_year'); tep_session_unregister('authorizenet_cc_owner');/ //fast easy checkout end Karen Quote Link to comment Share on other sites More sharing options...
toarney Posted November 17, 2005 Share Posted November 17, 2005 Hi, Im looking to install this contribution as it looks great! , just one thing i notice on the test site - after completing a checkout without creating an account i get to this page: http://seelily.com/account_password_new.php?thx=1 However from this page i seem to get stuck, both the back and continue buttons just prompt for a 5 digit+ new password - there seems to be no option to not set a password and just go back to say index.php. The 'back' link is to account.php but when clicked just takes me to: http://seelily.com/account_password_new.php Is this normal or just a glitch? Thanks! Matt I'm having the same issue, but I think I would like to just eliminate this page (account_password_new.php?thx=1) and go directly to the "normal" checkout_success.php after the checkout_confirmation.php How do I do this? -Todd Quote Link to comment Share on other sites More sharing options...
giapet Posted November 17, 2005 Share Posted November 17, 2005 Just added the first part of this, looks great but did lose my navagation Home|Store|Products. How do I get this back? Thanks! Karen Here's my header.php code <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ modified for PWA v0.90 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'firelogobanner.gif', 'glass_shop') . '</a>'; ?></td> <td align="right" valign="bottom"><font face="Amazone BT" size="6" color="#D2B48C"><i> G</i></font><font face="Tempus Sans ITC" size="4" color="#D2B48C"><I><b>lass... lightning's footprint in the sand. </i></b></font></p></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> Quote Link to comment Share on other sites More sharing options...
giapet Posted November 18, 2005 Share Posted November 18, 2005 (edited) Found my header problem, dumb mistake on my part when changing code on line 64. Frank, really like this one, thank you and all others who have worked so hard to help us all out! 2 more questions. 1- How do get the "Shipping Address" title to show in place of the "Billing Address" and drop the second box (current shipping address) completely from create_account3.php? The two addresses must match on my site for cc fraud and paypal protection, don't want the option to just change one. 2-Would also like to bypass account_password_new.php alltogether and need to know what files and lines of code need to be changed to something else to do that. Have to play with it to see where I want to direct to instead of account_password_new.php. Thanks in advance! Karen...who still doesn't know what php stands for. :blush: Edited November 18, 2005 by giapet Quote Link to comment Share on other sites More sharing options...
johnew Posted November 18, 2005 Share Posted November 18, 2005 hi, just installed the contribution and oscom so apologies if i sound a bit dim everything seems to work fine except... if an account has been created when you get to checkout_success.php i click on 'continue' and the redirection takes me to the index page of my shared secure hosting space but drops the /~shopdirectory/ so i see my web host holding page not my own index? and when an account hasn't been created it again drops my directory bit again in the url for shopping_cart.php any pointers would be appreciated. Thanks couple of thoughts on the functionality of the checkout... if you choose to to enter a password and create an account then i think most people would assume this has been done and don't need a confirmation screen to say so? Could the finished! page include a order reference number as a recipt? thanks for any help john Quote Link to comment Share on other sites More sharing options...
le6ha2 Posted November 18, 2005 Share Posted November 18, 2005 Hi Nana, I overwrited checkout_shipping.php you postes #482 but I still have the problem: My item's weight is 1, when i order 1 item and check out, shipping module calculate weight is 4 ??? if i order 2 items, the weght in shipping calculate is 5, I dont know why does it add 3 lbs? I use Zone rate shipping Please let me know, thanks Quote Link to comment Share on other sites More sharing options...
radders Posted November 18, 2005 Share Posted November 18, 2005 probably the tare weight you have in there. Quote Link to comment Share on other sites More sharing options...
nana Posted November 19, 2005 Author Share Posted November 19, 2005 johnew maybe you should change these link to non ssl but i do not remmember if i have changed this or not as far as removing the success page i posted a solution a while back in response to radder giapet and toarney to go back to regular checkout_success.php there is a redirect at top of that page and just remove it giapet you have to keep those changes to checkout_confirmation consoleplus the code for those buttons are at the buttom of the page you can change them so the right one becomes for login and the left one take you to index i haven't changed them i think sorry about the release of the new version but i am very busy now and i do not want to start a whole new sets of problems by rushing Quote Link to comment Share on other sites More sharing options...
Guest Posted November 19, 2005 Share Posted November 19, 2005 nana - 3 cheers for you for all the support you do for your contribution - thank you SO much! Quote Link to comment Share on other sites More sharing options...
nana Posted November 19, 2005 Author Share Posted November 19, 2005 (edited) thank you stacey both for your kind words and your donation Edited November 19, 2005 by nana Quote Link to comment Share on other sites More sharing options...
nana Posted November 20, 2005 Author Share Posted November 20, 2005 to remove the account_password_new at checkout success just comment this if(tep_session_is_registered('createaccount')) tep_redirect(tep_href_link('account_password_new.php','thx=1'));} to change the wording look in the language files 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.