

computerwiz5
Members-
Content count
130 -
Joined
-
Last visited
Profile Information
-
Real Name
D M
-
Gender
Male
- Website
-
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
Has anyone been successful with integrating this with any paypent module, if so which ones? How about authorize.net? Thanks Danny -
Credit Class/Gift Vouchers/Discount Coupons 5.10
computerwiz5 replied to Strider's topic in General Add-Ons Support
I have the same problem, even if i try to trick the system it still displays that i redeemed the coupon while it should say that its not valid........ Big problems..... Danny -
Thats my problem to the product is not being carried over....
-
Credit Class/Gift Vouchers/Discount Coupons 5.10
computerwiz5 replied to Strider's topic in General Add-Ons Support
I am having a tax calculation problem with the voucher. The voucher is not being taxed. The tax rate is 5%. The 10$ voucher should be taxed .5 cents Sub-Total: $72.00 Discount Coupons:lampshades: -$36.00 Gift Vouchers: $10.00 GA TAX: $1.80 Federal Express (FEDEX) ( lbs) (Ground): $0.00 Total: $27.80 Here are my config's: Discount Coupons 740 Gift Vouchers 760 Low Order Fee Shipping 850 Sub-Total 1 Tax 800 Total 900 Gift Vouchers Display Total true Sort Order 760 Queue Purchases true Include Shipping false Include Tax false Re-calculate Tax None Tax Class --none-- Credit including Tax false Discount Coupon Display Total true Sort Order 740 Include Shipping false Include Tax false Re-calculate Tax Standard Tax Class --none-- THANKS!!!!! DANNY -
To create returns you need to edit the order in orders.php. Next to the item info will be the link, also when i click on the link, the product info doesnt get carried over? Danny
-
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
I am having problems with printorder now? Can anyone help me? Thanks Danny -
[Contribution] osC-PrintOrder with Store Logo v1.0
computerwiz5 replied to ugottasalsa's topic in General Add-Ons Support
Does anyone have a working file for PWA (purchase without account) Danny -
Disreguard the post before, i didnt read the instructions. Before I upgrade i'd like to know if this will affect any other contribution i might have. Also i think there is something wrong with the upgrade instructions for the new file porduct_returns.php or something similar. Check the filenames.php, there isnt a define for it......... Danny
-
Thank you so much, but how can i easily upgrade from the previous version? Is there any extra coding on shared files? Or can i just drop the new individual files? Thanks, Danny
-
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
Here you go man: <?php /* $Id: checkout_success.php,v 1.49 2003/07/24 23:03:53 Strider Exp $ $Id: checkout_success.php,v 1.49 2003/06/09 23:03:53 hpdl Exp $ $Id: checkout_success.php,v 1.6.2.1 2003/05/03 23:41:23 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // if the customer is not logged on, redirect them to the shopping cart page if (!tep_session_is_registered('customer_id')) { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update')) { $notify_string = 'action=notify&'; $notify = $HTTP_POST_VARS['notify']; if (!is_array($notify)) $notify = array($notify); for ($i=0, $n=sizeof($notify); $i<$n; $i++) { $notify_string .= 'notify[]=' . $notify[$i] . '&'; } if (strlen($notify_string) > 0) $notify_string = substr($notify_string, 0, -1); // tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); // Added a check for a Guest checkout and cleared the session - 030411 if (tep_session_is_registered('noaccount')) { tep_session_destroy(); tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL')); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS); $breadcrumb->add(NAVBAR_TITLE_1); $breadcrumb->add(NAVBAR_TITLE_2); $global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'"); $global = tep_db_fetch_array($global_query); if ($global['global_product_notifications'] != '1') { $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1"); $orders = tep_db_fetch_array($orders_query); $products_array = array(); $products_query = tep_db_query("select products_id, products_name from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$orders['orders_id'] . "' order by products_name"); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } } // PWA: Added a check for a Guest checkout and cleared the session - 030411 v0.71 if (tep_session_is_registered('noaccount')) { $order_update = array('purchased_without_account' => '1'); tep_db_perform(TABLE_ORDERS, $order_update, 'update', "orders_id = '".$orders['orders_id']."'"); // tep_db_query("insert into " . TABLE_ORDERS . " (purchased_without_account) values ('1') where orders_id = '" . (int)$orders['orders_id'] . "'"); tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . tep_db_input($customer_id) . "'"); tep_db_query("delete from " . TABLE_WHOS_ONLINE . " where customer_id = '" . tep_db_input($customer_id) . "'"); tep_session_destroy(); } ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript" src="includes/general.js"></script> <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=650,height=500,screenX=150,screenY=150,top=150,le ft=150') } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="4" cellpadding="2"> <tr> <td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td> <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br> <?php if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> </tr> </table></td> </tr> <?php // ###### Added CCGV Contribution ######### require('add_checkout_success.php'); //ICW CREDIT CLASS/GV SYSTEM // ###### Added CCGV Contribution ######### ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="left" class="main"><?php echo '<a href="javascript:popupWindow(\'' . (HTTP_SERVER . DIR_WS_CATALOG . FILENAME_ORDERS_PRINTABLE) . '?' . (tep_get_all_get_params(array('order_id')) . 'order_id=' . $HTTP_GET_VARS['order_id']) . '\')">' . tep_image_button('button_printorder.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></td> <td align="right" class="main"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="50%"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="25%" class="checkoutBarFrom"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_FINISHED; ?></td> </tr> </table></td> </tr> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> -
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
No i get redirected to the catalog page..index.php -
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
Adding to that you can have some text for the PWS customer saying you can print out an invoice through the automated email you just recieved.???? Danny -
Purchase Without Account Updated & Admin Functionality
computerwiz5 replied to bmcewan's topic in General Add-Ons Support
Well thats weird, when i checkout with a PWA account the print order page comes up fine? and when i click continue it redirects me to the login page as usual, am i missing something? Danny EDIT: OhhhI see what your saying, i can put another order number as the link and it can spit any order.........thats not good. -
Credit Class/Gift Vouchers/Discount Coupons 5.10
computerwiz5 replied to Strider's topic in General Add-Ons Support
Hey guys, what page are the posts about setting up the ccgv settings. I am having a tax calculation problem. When using the voucher the tax is calculated without deducting the voucher from the total. What settings should i have for the voucher module if i want to recalculate? Thanks Danny -
Yes i know its old but i have the other master product contribution, not the regular one and maxi pics and retail price, i am no coder so i cant edit the file, unless you can help me to integrate it? Yes, i do have a folder named temp and it has 777 permissions Thanks Danny