Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nana

Banned
  • Posts

    840
  • Joined

  • Last visited

Everything posted by nana

  1. happy holidays everyone faris i have not tried it but there is no reason why it should not work with every payment module just like stock osc please make sure everything works as you want before installing fec this way you can get help easier for your other contributions and then we can help you here with integration of fec if any issues comes up
  2. maybe changing <td><?phpif (tep_session_is_registered('customer_id')){ echo '<a href="' . to <td><?php if (tep_session_is_registered('customer_id')){ echo '<a href="' . notice space between <?php if might be the problem
  3. richmoijn make sure that all the files are copied and the include line for login box is there moonbeam gccv is comptable but all changes to checkout_payment.php and checkout_shipping.php must be made to checkout_shipping.php PWA is not necessary since this has its own version you might be able to modify FEC so you won't need to make all the edits to existing files but that is on you giftwrap i do not know but should not be a problem if it works with PWA let us know how it works out
  4. richmoijn in the file at top you can set the value to 1 just read the first few lines of the file redrum you if this is done in the oscommerce just replace the few line of could regarding newsletter and i will fix this in the next version
  5. i thought this is done in the install instruction and the changes are explained please check that this is not done with the changes for the edit address files if not then i make available one of my pages
  6. redrum you has store owner can set this contribution to manage this in diffrent ways you can give the customer choice and let him to choose a password or you can have the store create a random password for him setup on top of the page or you can have him decide if he wants to create an account after purchase an account is created and stored in the db if a customer with a no account comes back the old customer entery in the db is erased and a new one is created all the no_accounts are hidden from the customer you can give the no_accounts a second chance to create an account either from a link in the header or after checkout or in the email or all you can omit any of these choices when you are doing the file edits this contribution is not a set of predetermined steps but it gives you the store owner to set its flow to the way you want easier you do not have to use all of its options but just what you want the best way of using this is first decide how you want the account process to function think about how you want the flow to be and then use and adjust this to that model that you want also you can collect one address or two address at the time pf create account by using either one of the files you combine the checkout shipping and checkout payment you can decide the order of the form in checkout customer can also get a grand total before entering his cc info what it is meant to do is not only make the account creation optional but reduce a few steps from the checkout if you can do a little bit oc coding you should be able to remove checkout confirmation also i hope i answered most of your questions also there is a demo site it does not work all the time since i do some work on it now and then but you can check it out http://seelily.com just try them out
  7. there are a few contributions that combines phpbb and oscommerce you can probably look at them to see how they do two diffrent registeration at the same time i am not using any of them but it might give you an idea
  8. keith i will take a look but i am trying diffrent things at the moment and it could be the result of one
  9. redrum nothing it is a leftover from a previous version you can remove it
  10. maybe you can look in your error log to see what the problem is
  11. sorry people i had an error and i did not notice it the site is back and running Ed Douglas adding this line allows your entery for ccgv to be changed so if was not changing it should solve your problem redrum an account with a random password is actually created although it should be invisible to the customer . actually very little is changed so i do not know why there should be any problem john in account_password_new.php change if (tep_session_is_registered('customer_id')){ if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } to tep_redirect(tep_href_link('welcome.php', '', 'SSL')); this should do it
  12. you can either make a new box and then include it anywhere in the email in checkout_process.php i would put it before $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . or just put the code right there
  13. ed thank you for bringing this to my attention there should have been a line in both create accoubr files right after if ($error == false) { if ($createaccount == 'Y') {$confirmation='completeaccount';} this seems to be lost in the files sometime when i was editing the files i will upload anew version tonight
  14. as far as i remember i think once these customers create account this change they password and this becomes useless if this is not true then i have to find a work around
  15. eww change all occurances of FILENAME_CHECKOUT_PAYMENT to FILENAME_CHECKOUT_SHIPPING in checkout confirmation.php it is supposed to take you back and show you the total i do not remember if i had this in the install instructions redrum i never tested that , just comment the line of code that calls the shipping box and see what happnds and let us know it might work
  16. the new version takes you to checkout_confirmation when you pick the payment as usuall
  17. no i will do it tommorrow are you sure it does not work as is and are you sure you have a redirect.php that is not modified
  18. that is the only way you can get this to work once the customer chooses his shipping method he can clicks get total button before adding his payment info you might want to use javascript but its not a very good idea
  19. put this code if ($createaccount != 'Y') tep_session_register('createaccount'); in your create_account2.php right before if ($createaccount == 'Y') { if ($cart->count_contents() > 0) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } else { tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL')); } } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } } if not pm me the link
  20. can you try this if not post your original if possible i am not on my computer and don't have my files <tr> <td align="right" bgcolor="#cccccc"> <?php if (!tep_session_is_registered('createaccount')) { ?> <?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 echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> <?php } else { ?> <a href="<?php echo tep_href_link(FILENAME_LOGIN, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGIN;?></a> <?php } ?> <?php } else { ?> <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link('account_password_new.php', '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> <?php } else { ?> <a href="<?php echo tep_href_link(FILENAME_LOGIN, '', '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; ?><?php echo $currencies->format($cart->show_total());?></a> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr>
  21. if you do not want to have the logoff use this <tr> <td align="right" bgcolor="#cccccc"><?php if (tep_session_is_registered('customer_id')) { if (!tep_session_is_registered('createaccount')) {?><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_LOGIN, '', '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; ?><?php echo $currencies->format($cart->show_total());?></a> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr>
  22. thx cleve for your donation and you have a happy holidays too for sending the email you can put this code // build the message content $name = $firstname . ' ' . $lastname; if (ACCOUNT_GENDER == 'true') { if ($gender == 'm') { $email_text = sprintf(EMAIL_GREET_MR, $lastname); } else { $email_text = sprintf(EMAIL_GREET_MS, $lastname); } } else { $email_text = sprintf(EMAIL_GREET_NONE, $firstname); } $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; if ($createaccount=='Y') tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); right after // restore cart contents $cart->restore_contents(); and this should do it
  23. post your code cleve and i see where the problem is
  24. this is the code for email <?php if (QUESTION_LOCATION == 'orders'){$locID= $insert_id; }else{ $locID=$customers_id; } $extra_questions_query = tep_db_query("select first_answer,second_answer,third_answer, fourth_answer,fifth_answer from " . TABLE_ANSWERS . " where location_id = '" . $locID . "'and location='" .QUESTION_LOCATION . "'" ); $extra_questions = tep_db_fetch_array($extra_questions_query); if (DISPLAY_FIRST_QUESTION == 'true') { $email_order .= $extra_questions['first_answer'] . "\n"; } if (DISPLAY_SECOND_QUESTION == 'true') { $email_order .= $extra_questions['second_answer'] . "\n"; } if (DISPLAY_THIRD_QUESTION == 'true') { $email_order .= $extra_questions['third_answer'] . "\n"; } if (DISPLAY_FOURTH_QUESTION == 'true') { $email_order .= $extra_questions['fourth_answer'] . "\n"; } if (DISPLAY_FIFTH_QUESTION == 'true') { $email_order .= $extra_questions['fifth_answer'] . "\n"; } ?> i have been very busy but i have completed the boxes for updating the answers if it is in account i will post it as soon as i do a little testing
×
×
  • Create New...