Jump to content

Micholas

Members
  • Content count

    137
  • Joined

  • Last visited

Everything posted by Micholas

  1. Hello, I have "Paypal standard no login" and "Better Paypal Descriptions" installed. These were working great till this morning. Had a lengthy order and it cut off the order, so I don't know all that was ordered. Can I modify this so more information can go through upon checkout, when it sends order over to Paypal's page. Or is this a Paypal problem and I'm going to have to find something else to use? Here is how the cut off looks in case I'm not explaining it to well: Flower Findings Charm x 2 | Small Charm Findings x 4 | Heart Findings Charm x 2 | Sun Charms x 2 | Mermaid Charms x 2 | Ke Is there a way I can get more information than just that little bit that it allows? If not, can anyone suggest an easy way to use Paypal standard and no check out, plus getting the names and quantity of charms ordered? I tried to install the "order check" modification but that seems to require that a shopper has to have an account and I want accounts to be optional for my site. Any help will be greatly appreciated!
  2. Micholas

    Better Paypal Descriptions Modification

    I put a bunch of stuff in my shopping cart then went to check out, here is a picture of how the order shows up and how it cuts off, so when the order comes to me from Paypal, the item description is the exact same. I circled in red where it cut off at:
  3. Hi Diane, I just figured it out, having the same problem you were. Upload over your admin/product_thumb.php with the one from the catalog side. I just did that and it worked like a charm! Pics all where they should be.
  4. Micholas

    Paypal, checkout without account...

    Hi, I have switched to Paypal instead of using a credit card processor. And I need a bit of help. Right now if someone checks out, they still have to fill out name, address, number and then it takes them to the paypal page when they hit confirm. I'd like to bypass so when they click on checkout, they go right to paypal. I haven't updated or modified anything in forever and am very rusty. I'm not even sure where to look to get it changed. And I'm just on regular Paypal payments. Any help would be very appreciated, thank you! Oh my current checkout page is from when I installed 'checkout without account' over a year ago. Just in case that was needed.
  5. Micholas

    [Contrib] Make An Offer

    Yay!! It certainly did solve it. Thank you so much Wheeloftime! :)
  6. Micholas

    [Contrib] Make An Offer

    Oh lol. Still not awake yet here. I have the most updated version of MAO. Just installed it yesterday. Everything works fine but just that 0.00 price that shows up on the page to make an offer and when it comes through in email. No big deal really, was just wondering if anyone might know what I'd need to tweak to fix it.
  7. Micholas

    [Contrib] Make An Offer

    Sorry I'm a bit confused. So it's the estimated shipping contribution that is throwing off the price on the make an offer one?
  8. Micholas

    [Contrib] Make An Offer

    Hi Wheeloftime, I'm using v 1.0 on estimated shipping, on mysql: Ver 12.22 (Distrib 4.0.16) and for php: 4.4.1 Thank you, Brandi
  9. Micholas

    [Contrib] Make An Offer

    Hi Donna, probably to late in replying but if you see this, I had the same problem. I went into the admin/config section and clicked on 'make on offer' in left menu. Took the settings off about sending offer directly to the shopping cart and the button showed up after that. Now if anyone can help, I seem to have it all working well but when it goes to the email page to send an offer, the price of the item is on 0.00 and that's how it comes through in the email too. No big deal but if anyone knows what I could do to fix it, I'd appreciate it. Just a bit of a perfectionist over here lol. Thank you.
  10. Thank you so much! It's work great now! Shows right up where I need it, thank you again :)
  11. Hi, I've tried installing this twice. I can create the coupons just fine, but the problem is that I'm not seeing it anywhere to put the code in. It will NOT show up on the confirmation page. I added this code here, as I saw this solution in the early part of this thread.... but that didn't work either. if (!tep_session_is_registered('coupon')) tep_session_register('coupon'); if (tep_not_null($HTTP_POST_VARS['coupon'])) { $coupon = tep_db_prepare_input($HTTP_POST_VARS['coupon']); } require(DIR_WS_CLASSES . 'order.php'); $order = new order; Now if I hit back, it goes to an unsecured part, checkout payment.php which I think I bypass entirely as I'm using the Fast Easy Check out contribution (another problem I need to solve but that's something else here). When a person checks out on my site, it goes to create_account3.php, then ... checkout_shipping.php, then to checkout_confirmation.php Is there a way to add it to the checkout_shipping.php perhaps? I love this contribution and it was exactly what I was looking for but just can't get it to show up! Thank you. Or in my create_account3.php? here is the code in case anyone can help me here. <?php/* $Id: create+account3.php,v 2.00 2004/01/05 23:28:24 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $show_account_box = 0; //IF you want to give the option to create an account with random password choose to 0 if not $create_password =1;// set to 1 to create an account with random password $show_login=0;// set to 1 to show login box //////////////////////////////////////////////// require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . 'create_account.php'); require(DIR_WS_LANGUAGES . $language . '/' . 'fast_account.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN); // if we have been here before and are coming back get rid of the credit covers variable if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers'); //rmh M-S_ccgv //line 21-23 sends the customer ti index.php if he is logedin if ((tep_session_is_registered('customer_id'))&&(tep_session_is_registered('createaccount'))) { tep_redirect(tep_href_link('account_password_new.php', '', 'SSL')); } if (tep_session_is_registered('customer_id')) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'SSL')); } // redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started) if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); } $error = false; if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) { if (ACCOUNT_GENDER == 'false') { if (isset($HTTP_POST_VARS['gender'])) { $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']); } else { $gender = false; } } //START REGISTRATION CODE $createaccount='N'; //next two lines gives you a temporary fixed password you can change to what you like $password = tep_create_random_value(15); $confirmation = $password; //start type one create assount if ($create_password == 1) { $createaccount = tep_db_prepare_input($HTTP_POST_VARS['createaccount']); if ($createaccount!='Y')$createaccount='N'; } //start type two create account if ($show_account_box == 1) { $createaccount = tep_db_prepare_input($HTTP_POST_VARS['createaccount']); if ($createaccount=='Y') { $password = tep_db_prepare_input($HTTP_POST_VARS['password']); $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); } } $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']); if (ACCOUNT_DOB == 'false') $dob = tep_db_prepare_input($HTTP_POST_VARS['dob']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']); $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']); if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']); $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); $city = tep_db_prepare_input($HTTP_POST_VARS['City']); if (ACCOUNT_STATE == 'true') { $state = tep_db_prepare_input($HTTP_POST_VARS['state']); if (isset($HTTP_POST_VARS['zone_id'])) { $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); } else { $zone_id = false; } } $country = tep_db_prepare_input($HTTP_POST_VARS['country']); $telephone = tep_db_prepare_input($HTTP_POST_VARS['telephone']); $fax = tep_db_prepare_input($HTTP_POST_VARS['fax']); if (isset($HTTP_POST_VARS['newsletter'])) { $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); } else { $newsletter = false; } $error = false; if (ACCOUNT_GENDER == 'false') { if ( ($gender != 'm') && ($gender != 'f') ) { $error = false; $messageStack->add('create_account', ENTRY_GENDER_ERROR); } } if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_FIRST_NAME_ERROR); } if (strlen($lastname) < ENTRY_LAST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_LAST_NAME_ERROR); } //rmh M-S_addr-enhancer begin if (ACCOUNT_DOB == 'true' && REQUIRE_DOB == 'true') { if (checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false) { $error = true; $messageStack->add('create_account', ENTRY_DATE_OF_BIRTH_ERROR); } } //rmh M-S_addr-enhancer end if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR); } elseif (tep_validate_email($email_address) == false) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } else { $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); $check_email = tep_db_fetch_array($check_email_query); /* if ($check_email['total'] > 0) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS); }*/ if ($check_email['total'] > 0) { //PWA delete account $get_customer_info = tep_db_query("select customers_id, customers_email_address, createaccount from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); $customer_info = tep_db_fetch_array($get_customer_info); $customer_id = $customer_info['customers_id']; $customer_email_address = $customer_info['customers_email_address']; $customer_pwa = $customer_info['createaccount']; if ($customer_pwa =='Y') { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS); } else { // here i am adding another line just incase they change to an account immediatly i do not know if it is necessary or not if (tep_session_is_registered('registered_now')) tep_session_unregister('registered_now'); if (tep_session_is_registered('createaccount')) tep_session_unregister('createaccount'); tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $customer_id . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customer_id . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . $customer_id . "'"); tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . $customer_id . "'"); tep_db_query("delete from " . TABLE_WHOS_ONLINE . " where customer_id = '" . $customer_id . "'"); } } // END } if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_STREET_ADDRESS_ERROR); } if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_POST_CODE_ERROR); } if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_CITY_ERROR); } if (is_numeric($country) == false) { $error = true; $messageStack->add('create_account', ENTRY_COUNTRY_ERROR); } if (ACCOUNT_STATE == 'true') { $zone_id = 0; $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "'"); $check = tep_db_fetch_array($check_query); $entry_state_has_zones = ($check['total'] > 0); if ($entry_state_has_zones == true) { $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')"); if (tep_db_num_rows($zone_query) == 1) { $zone = tep_db_fetch_array($zone_query); $zone_id = $zone['zone_id']; } else { $error = true; $messageStack->add('create_account', ENTRY_STATE_ERROR_SELECT); } } else { if (strlen($state) < ENTRY_STATE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_STATE_ERROR); } } } if (strlen($telephone) < ENTRY_TELEPHONE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_TELEPHONE_NUMBER_ERROR); } if ($error == false) { $sql_data_array = array('customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'createaccount' => $createaccount, 'customers_newsletter' => $newsletter, 'confirmation_key' => $confirmation, 'customers_password' => tep_encrypt_password($password)); if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender; if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob); tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); $customer_id = tep_db_insert_id(); $sql_data_array = array('customers_id' => $customer_id, 'entry_firstname' => $firstname, 'entry_lastname' => $lastname, 'entry_street_address' => $street_address, 'entry_postcode' => $postcode, 'entry_city' => $city, 'entry_country_id' => $country); if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb; if (ACCOUNT_STATE == 'true') { if ($zone_id > 0) { $sql_data_array['entry_zone_id'] = $zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '0'; $sql_data_array['entry_state'] = $state; } } tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array); $address_id = tep_db_insert_id(); tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'"); tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())"); if (SESSION_RECREATE == 'True') { tep_session_recreate(); } $customer_first_name = $firstname; $customer_default_address_id = $address_id; $customer_country_id = $country; $customer_zone_id = $zone_id; tep_session_register('customer_id'); tep_session_register('customer_first_name'); tep_session_register('customer_default_address_id'); tep_session_register('customer_country_id'); tep_session_register('customer_zone_id'); $registered_now=1; tep_session_register('registered_now'); if ($createaccount == 'N') tep_session_register('createaccount'); $shipping_address_query = tep_db_query("select address_book_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "'"); $shipping_address = tep_db_fetch_array($shipping_address_query); $billto = $shipping_address['address_book_id']; $sendto = $shipping_address['address_book_id']; tep_session_register('billto'); tep_session_register('sendto'); $billto = $shipping_address['address_book_id']; $sendto = $shipping_address['address_book_id']; // restore cart contents $cart->restore_contents(); //END REGISTRATION CODE //START DIFFERENT SHIPPING CODE if (tep_not_null($HTTP_POST_VARS['ShipFirstName']) && tep_not_null($HTTP_POST_VARS['ShipLastName']) && tep_not_null($HTTP_POST_VARS['ShipAddress'])) { $process = true; $firstname = tep_db_prepare_input($HTTP_POST_VARS['ShipFirstName']); $lastname = tep_db_prepare_input($HTTP_POST_VARS['ShipLastName']); $street_address = tep_db_prepare_input($HTTP_POST_VARS['ShipAddress']); if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['shipsuburb']); $postcode = tep_db_prepare_input($HTTP_POST_VARS['shippostcode']); $city = tep_db_prepare_input($HTTP_POST_VARS['ShipCity']); $suburb = tep_db_prepare_input($HTTP_POST_VARS['shipsuburb']); $country = tep_db_prepare_input($HTTP_POST_VARS['shipcountry']); if (ACCOUNT_STATE == 'true') { if (isset($HTTP_POST_VARS['zone_id'])) { $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); } else { $zone_id = false; } $state = tep_db_prepare_input($HTTP_POST_VARS['shippingstate']); } if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_FIRST_NAME_ERROR); } if (strlen($lastname) < ENTRY_LAST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_LAST_NAME_ERROR); } if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_STREET_ADDRESS_ERROR); } if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_POST_CODE_ERROR); } if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_CITY_ERROR); } if (ACCOUNT_STATE == 'true') { $zone_id = 0; $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "'"); $check = tep_db_fetch_array($check_query); $entry_state_has_zones = ($check['total'] > 0); if ($entry_state_has_zones == true) { $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')"); if (tep_db_num_rows($zone_query) == 1) { $zone = tep_db_fetch_array($zone_query); $zone_id = $zone['zone_id']; } else { $error = true; $messageStack->add('checkout_address', ENTRY_STATE_ERROR_SELECT); } } else { if (strlen($state) < ENTRY_STATE_MIN_LENGTH) { $error = true; $messageStack->add('checkout_address', ENTRY_STATE_ERROR); } } } if ( (is_numeric($country) == false) || ($country < 1) ) { $error = true; $messageStack->add('checkout_address', ENTRY_COUNTRY_ERROR); } $error = false; if ($error == false) { $sql_data_array = array('customers_id' => $customer_id, 'entry_firstname' => $firstname, 'entry_lastname' => $lastname, 'entry_street_address' => $street_address, 'entry_postcode' => $postcode, 'entry_city' => $city, 'entry_country_id' => $country); if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb; if (ACCOUNT_STATE == 'true') { if ($zone_id > 0) { $sql_data_array['entry_zone_id'] = $zone_id; $sql_data_array['entry_state'] = ''; } else { $sql_data_array['entry_zone_id'] = '0'; $sql_data_array['entry_state'] = $state; } } tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array); $address_id = tep_db_insert_id(); $sendto =$address_id; tep_session_unregister('sendto'); ; tep_session_register('sendto'); $sendto = tep_db_insert_id(); } } //END DIFFERENT SHIPPING CODE tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING)); } } if ($error == true) { // $messageStack->add('create_account', TEXT_CREATE_ACCOUNT_ERROR); } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?> <!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 src="global.js"type=text/javascript></SCRIPT> <?php require('includes/form_check.js.php'); ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="3" rightmargin="3" > <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <? include("mymenu.php") ?> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3" align="center"> <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"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLES; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_login.gif', HEADING_TITLES, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php if ($show_login ==1) { require('login_box.php');}else{echo PRIMARY_ADDRESS_DESCRIPTION; } ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo tep_draw_form('checkout', tep_href_link('create_account3.php', '', 'SSL'), 'post','onSubmit="return check_form(checkout);"') . tep_draw_hidden_field('action', 'process'); ?><b><?php //echo TITLE_FORM; ?></b></td> </tr> </table></td> </tr> <tr> <td><br><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TITLE_PAYMENT_ADDRESS; ?></b></td> <td class="inputRequirement" align="right"><?php echo FORM_REQUIRED_INFORMATION; ?></td> </tr> <?php if ($messageStack->size('create_account') > 0) { ?> <tr> <td><?php echo $messageStack->output('create_account'); ?></td> </tr> <?php } ?> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="2" cellpadding="2" align="right"> <tr> <td class = "infoBoxContents"><?php echo PAYMENT_SHIPMENT; ?></td> <td class = "infoBoxContents"><input type="image" src="images/collapse_tcat.gif" name="row" value="1" onclick="return toggle_collapse('forumbit_1')"></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="2" cellpadding="2"> <tr><?php if (ACCOUNT_GENDER == 'true') { ?> <tr> <td class="infoBoxContents"><?php echo ENTRY_GENDER; ?></td> <td class="infoBoxContents"><?php echo tep_draw_radio_field('gender', 'm') . ' ' . MALE . ' ' . tep_draw_radio_field('gender', 'f') . ' ' . FEMALE . ' ' . (tep_not_null(ENTRY_GENDER_TEXT) ? '<span class="inputRequirement">' . ENTRY_GENDER_TEXT . '</span>': ''); ?></td> </tr> </tr> <?php } ?> <td class="infoBoxContents"><?php echo ENTRY_FIRST_NAME; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('firstname','','') . ' ' . (tep_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="infoBoxContents"><?php echo ENTRY_LAST_NAME; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('lastname','','') . ' ' . (tep_not_null(ENTRY_LAST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_LAST_NAME_TEXT . '</span>': ''); ?></td> <?php if (ACCOUNT_DOB == 'true') { ?> </tr> <tr> <td class="infoBoxContents"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('dob') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> <?php } ?> </tr><tr> <td class="infoBoxContents"><?php echo ENTRY_COMPANY; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('company') . ' ' . (tep_not_null(ENTRY_COMPANY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="infoBoxContents"><?php echo ENTRY_STREET_ADDRESS; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('street_address','','') . ' ' . (tep_not_null(ENTRY_STREET_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?></td> </tr><tr> <td class="infoBoxContents"><?php echo ENTRY_POST_CODE; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="infoBoxContents"><?php echo ENTRY_SUBURB; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('suburb') . ' ' . (tep_not_null(ENTRY_SUBURB_TEXT) ? '<span class="inputRequirement">' . ENTRY_SUBURB_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> <tr> <td class="infoBoxContents"><?php echo ENTRY_CITY; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('City') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> </tr> <?php if (ACCOUNT_STATE == 'true') { ?> <tr> <td class="infoBoxContents"><?php echo ENTRY_STATE; ?></td> <td class="infoBoxContents"> <?php if ($HTTP_POST_VARS['action'] == 'process') { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$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'); } } else { echo tep_draw_input_field('state'); } if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; ?> </td> </tr> <?php } ?> <tr> <td class="infoBoxContents"><?php echo ENTRY_COUNTRY; ?></td> <td class="infoBoxContents"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr><tr> <td class="infoBoxContents"><?php echo ENTRY_TELEPHONE_NUMBER; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('telephone','','') . ' ' . (tep_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="inputRequirement">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?></td> </tr><tr> <td class="infoBoxContents"><?php echo ENTRY_EMAIL_ADDRESS; ?></td> <td class="infoBoxContents"><?php echo tep_draw_input_field('email_address') . ' ' . (tep_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_NEWSLETTER; ?></td> <td class="main"><?php echo tep_draw_checkbox_field('newsletter', '1') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': '');?></td> </tr> <?php if ($create_password == 1) { ?> <tr> <td class="main"><?php echo YES_ACCOUNT; ?></td> <td class="main"><?php echo tep_draw_checkbox_field('createaccount', 'Y') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': '');?></td> </tr> <?php } ?> </table></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2"> <TBODY id=collapseobj_forumbit_1> <TD class=alt2 noWrap> <table border="0" width="100%" cellspacing="1" cellpadding="2"> <TBODY> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TITLE_SHIPPING_ADDRESS; ?></b></td> </tr> </table></td> </tr> &
  12. Micholas

    RSS contribution

    WEll I went back and installed an earlier version, which 'halfway' works :( I have SEO urls, I did see a fix in the contribution section but when I tried it, got more parse errors. http://www.angelic-giftstore.com/rss.php The links go to "no product found" I'm pretty sure I need to edit tthe second line of this part of the code here... $link = HTTP_SERVER . DIR_WS_CATALOG; $link .= "product_info.php/products_id/" . $id; $model = $row["products_model"]; $image = $row["products_image"]; $price = $row["products_price"]; But just can't find out how to do that! Anyone know? Thank you.
  13. Micholas

    RSS contribution

    I need help with this contribution please, keep getting errors. http://www.angelic-giftstore.com/rss.php?o...27e51910c6fd455 $store_name = Angelic Giftstore; $rss_title = angelic; $weblink = http://www.angelic-gifstore.com; $description = Religious Giftshop; $email_address = sales@angelic-giftstore.com; I'm not sure what I've done wrong because that is where the lines of code are at.
  14. Micholas

    Estimated Shipping Costs

    Ok thanks wheeloftime, I had it as low as possible but still wouldn't work. So extended my infobox width, fixed that problem but created another in the making lol. Not to do with that issue though, not sure what I did now! Thank you again.
  15. Micholas

    Estimated Shipping Costs

    Ok, I downloaded and found out where I can make the table right below the Country drop down menu smaller lol. :blink: But that was it. I looked and looked through all the files but am just not seeing it. If anyone can steer me in the right direction, would be most appreciated
  16. Micholas

    Estimated Shipping Costs

    Ok thank you. I can't seem to find that in the files I looked at. I'll redownload the package and see what I might be missing. Thank you again.
  17. Micholas

    Estimated Shipping Costs

    Hi, I've revamped my site, and having a little problem now. I combined all my infoboxes to the left of the page, and when I add something to the cart, the ESC mod makes my box pop out further than I want it to be. I've looked and set the BOX_WIDTH in it to 1, and it still justs out. Can anyone help me with this issue? Minor bug but it's driving me crazy :P Thank you. http://www.angelic-giftstore.com just add something to the cart to see what I mean for the infoxbox on the left.
  18. Micholas

    Estimated Shipping Costs

    Wow! That was so easy! Thank you so much! And for the quick reply :-) I would have never known to do that, I was just trying to edit out everything lol. Thank you again. This contribution was the final last thing I was looking for my site.
  19. Micholas

    Estimated Shipping Costs

    Hi, just installed this contribution and love it! The only thing I'm having a problem with is graphic wise... how can I get rid of the grey box that says "estimated shipping costs"? I've fiddled with it for awhile and everytime I just get a fatal error, including pic so you can see what I'm trying to do here... I tried removing the text part out of this part of the code in the includes/modules if ($cart->count_contents() > 0 && (((substr(basename($PHP_SELF), 0, 8) != 'checkout') && substr(basename($PHP_SELF), 0, 7) != 'account'))) { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => TABLE_HEADING_ESTIMATED_SHIPPING); new estimatedshippingBoxHeading($info_box_contents, true, false); but just received fatal error, I really don't know php though and pretty much have had wonderfully blind dumb luck in modifying everything so far lol. But scratching my head on this one, any help would be wonderful. Thank you! :)
  20. ::blushing:: I found the problem, in case anyone has ever installed the "specials by category contribution", have to change it in there too! Sorry, looked for this a long time, figures I'd snap as soon as I posted about it lol.
  21. Hi, just installed the contribution, had a few bugs but got all that worked out. My problem now though is that the "free" gift doesn't show up free at all. Comes up with the price in it, so I went back and set the price to 0.00 in the catalog/product part of admin, STILL coming up with the price. I have no idea what to do, scanned the thread and looks like this problem has happened in the past but was later on fixed with updates to the other scripts. I have the latest version installed. I don't even know where to begin looking now, looked at all the coding and it seems correct. I do have a very heavy modified site too. I'm hoping it's not conflicting with another contribution because at this point, I wouldn't even know which one, it's been a long time since I've added anything! Thank you.
×