Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ronb

Pioneers
  • Posts

    138
  • Joined

  • Last visited

Everything posted by ronb

  1. Opayo server is going to the old sagepay URL (https://live.sagepay.com/gateway/service/carddetails) it needs updating by March 31st to this url https://live.opayo.eu.elavon.com/gateway/service/vspserver-register.vsp please see https://developer.elavon.com/products/opayo-server/v1/test-and-live-urls-4515 this is quite an urgent request as this payment method will cease to work in 5 weeks
  2. Hi guys No its not a template site, hundreds of mods in it though, can't find an answer to the problem anywhere
  3. I have checked for whitespaces on the files, I have checked that the temp in mysql and admin show the same and changed both to /tmp both config files are actually set to sessions 'mysql' and there are sessions in the sql table help
  4. Hi Steve done that - i have a large list of errors, and i have searched and searched - but cannot find a solution the sessions are stored in mysql (bot admin and config checked), there are no whitespaces, line 78 of application_top reads can you help !
  5. Strange problem ..... When a product is entered into the cart and checkout is clicked a blank page is loaded I mean checkout.php shows in the URL, but doesn't actually show any informatio, when checkout is re clicked - the information to add billing and shipping appears any one got any ideas why this is happening thanks ron
  6. Already tried that - don't know what it does, as it doesn't show anything different any other suggestions ..... all that is needed is a box at the very bottom of the page showing the shipping, and billing addresses so that any errors can be fixed before the final 'GO' Ron
  7. Many thanks got the code working eventually ( i think) - the code on checkout.php is different so its ... For the header tag area (place anywhere before the </head> in checkout.php Then the confirm order button: should be
  8. another question... can someone tell me how to prevent the order button being clicked multiple times. I understand that there is javascript to prevent this - but can't figure out how to implement it on checkout.php can anyone help ?
  9. Hi Is there any way to add a box that shows the billing and shipping address, before checkout is confirmed. (like the one that shows when an account is made) We have had a few orders where the customer has pressed the continue button to go to payment, and the delivery address has been wrong, or the information has been lost. Thanks Ron
  10. ignore the above post - my database tables were wrong !
  11. Held Orders problem Just tried to add the held orders contribution but for some really bizarre reason its taking the tax of the product. All the products in the customers cart and in the held orders section are showing net instead of gross any one seen this before - or know how to fix, using the latest versions of both contributions!
  12. Quick query ... Just started playing with this contribution.... is there any way that the line Current Reviews: 1 could open the reviews in a pop up window - or even go to the correct link thanks
  13. is anyone using this with google checkout ?
  14. Has anyone noticed that when the the payment method is checked - then the delivery loads - that it looses what payment type was originally selected - so the customers has had to reselect the payment method. does anyone one know how to get the payment method to be preselected - ie credit card automatically bulleted. thanks ron
  15. Ok - after spending hours going through it bit by bit, I have managed to get it to display correctly in IE8 & Firefox Etc I have put the code for horizontal billing and shipping below Please note - every input is on a new line Here is the code includes/checkout/billing_address_horizontal.php <table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (ACCOUNT_GENDER == 'true' && !tep_session_is_registered('customer_id')) { $gender = $billingAddress['entry_gender']; if (isset($gender)) { $male = ($gender == 'm') ? true : false; $female = ($gender == 'f') ? true : false; } else { $male = false; $female = false; } ?> <tr> <td class="main" ><?php echo ENTRY_GENDER; ?> <?php echo tep_draw_radio_field('billing_gender', 'm', $male) . ' ' . MALE . ' ' . tep_draw_radio_field('billing_gender', 'f', $female) . ' ' . FEMALE; ?></td> </tr> <?php } ?> <tr> <td class="main" nowrap><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('billing_country', (isset($billingAddress) && tep_not_null($billingAddress['country_id']) ? $billingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY), 'class="required" style="float:left;width:80%"'); ?><div class="success_icon ui-icon-green ui-icon-circle-check" style="margin-left: 3px; margin-top: 1px; float: left;" title="false" /></td> </tr> <tr> <td class="main" width="50%"><?php echo ENTRY_FIRST_NAME; ?> </td> <td class="main" width="50%" ><?php echo tep_draw_input_field('billing_firstname', (isset($billingAddress) ? $billingAddress['firstname'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <tr> <td class="main" width="50%"><?php echo ENTRY_LAST_NAME; ?> </td> <td class="main" width="50%"><?php echo tep_draw_input_field('billing_lastname', (isset($billingAddress) ? $billingAddress['lastname'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_DOB == 'true' && !tep_session_is_registered('customer_id')) { ?> <tr> <td class="main" nowrap><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_dob', (isset($customerAddress) ? $customerAddress['dob'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <?php } if (!tep_session_is_registered('customer_id')){ ?> <tr id="newAccountEmail"> <td class="main" nowrap><?php echo ENTRY_EMAIL_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_email_address', (isset($customerAddress) ? $customerAddress['email_address'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } if (ACCOUNT_COMPANY == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_COMPANY; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_company', (isset($billingAddress) ? $billingAddress['company'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <tr> <td class="main" nowrap><?php echo ENTRY_STREET_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_street_address', (isset($billingAddress) ? $billingAddress['street_address'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_SUBURB; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_suburb', (isset($billingAddress) ? $billingAddress['suburb'] : ''), 'style="width:80%;float:left"'); ?></td> </tr> <tr> <td class="main" nowrap><?php echo ENTRY_CITY; ?></td> <td class="main" ><?php echo tep_draw_input_field('billing_city', (isset($billingAddress) ? $billingAddress['city'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <tr> <?php if(ONEPAGE_ZIP_BELOW == 'True'){ ?> <tr> <td class="main"><?php echo ENTRY_POST_CODE ?></td> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <?php if(!tep_session_is_registered('customer_id')){ ?> <tr> <td class="main"><?php echo ENTRY_TELEPHONE; ?></td> <td> <?php if(ONEPAGE_TELEPHONE == 'True') echo tep_draw_input_field('billing_telephone', (isset($customerAddress) ? $customerAddress['telephone'] : ''), 'class="required" style="width:80%;float:left;"'); else echo tep_draw_input_field('billing_telephone', (isset($customerAddress) ? $customerAddress['telephone'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_STATE == 'true') { ?> <?php if (ACCOUNT_STATE == 'true') { $defaultCountry = (isset($billingAddress) && tep_not_null($billingAddress['country_id']) ? $billingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY); ?> <tr> <td class="main" ><?php echo ENTRY_STATE; ?></td> <td class="main" id="stateCol_billing"><?php echo $onePageCheckout->getAjaxStateField($defaultCountry);?><div <?php if(tep_not_null($billingAddress['zone_id']) || tep_not_null($billingAddress['state'])){ ?>class= "success_icon ui-icon-green ui-icon-circle-check" <?php }else{?> class="required_icon ui-icon-red ui-icon-gear" <?php } ?> style="margin-left: 3px; margin-top: 1px; float: left;" title="Required" /></div></td> </tr> <?php } ?> </tr> <tr> <?php } ?> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> <?php } ?> </tr> </td> </tr> <tr> <td colspan="2"><table cellpadding="0" cellspacing="0" border="0" width=""> <?php if (ONEPAGE_ACCOUNT_CREATE != 'required'){ ?> <tr> <td colspan="2" class="main"><br>If you would like to create an account (Optional) please enter a password below</td> </tr> <?php } ?> <tr> <td class="main"><?php echo ENTRY_PASSWORD; ?></td> <td class="main"><?php echo tep_draw_password_field('password', '', 'autocomplete="off" ' . (ONEPAGE_ACCOUNT_CREATE == 'required' ? 'class="required" ' : '') . 'maxlength="40" style="float:left;"'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></td> <td class="main"><?php echo tep_draw_password_field('confirmation', '', 'autocomplete="off" ' . (ONEPAGE_ACCOUNT_CREATE == 'required' ? 'class="required" maxlength="40" ' : 'maxlength="40" ') . 'style="float:left;"'); ?></td> </tr> <tr> <td class="main" colspan="2"><div id="pstrength_password"></div></td> </tr> </table></td> </tr> <tr> <td class="main" colspan="2"><?php echo ENTRY_NEWSLETTER; ?> <?php echo tep_draw_checkbox_field('billing_newsletter', '1', (isset($customerAddress) && $customerAddress['newsletter'] == '1' ? true : false)); ?></td> </tr> <?php } ?> </table> includes/checkout/shipping_address_horizontal.php <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" nowrap><?php echo ENTRY_COUNTRY; ?></td> <td class="main" ><?php echo tep_get_country_list('shipping_country', (isset($shippingAddress['country_id']) ? $shippingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY), 'class="required" style="width:80%;float:left;"'); ?><div class="success_icon ui-icon-green ui-icon-circle-check" style="margin-left: 3px; margin-top: 1px; float: left;" title="false" /></td> </tr> <tr> <td class="main" width="50%"><?php echo ENTRY_FIRST_NAME; ?></td> <td class="main" width="50%"><?php echo tep_draw_input_field('shipping_firstname', $shippingAddress['firstname'], 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <tr> <td class="main" width="50%"><?php echo ENTRY_LAST_NAME; ?></td> <td class="main" width="50%"><?php echo tep_draw_input_field('shipping_lastname', $shippingAddress['lastname'], 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_COMPANY == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_COMPANY; ?></td> <td class="main" ><?php echo tep_draw_input_field('shipping_company', '', 'style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <tr> <td class="main" ><?php echo ENTRY_STREET_ADDRESS; ?></td> <td class="main" ><?php echo tep_draw_input_field('shipping_street_address', $shippingAddress['street_address'], 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_SUBURB; ?></td> <td class="main" ><?php echo tep_draw_input_field('shipping_suburb', $shippingAddress['suburb'], 'style="width:80%;float:left;"'); ?></td> </tr> <tr> <td class="main" width="33%"><?php echo ENTRY_CITY; ?></td> <td class="main" width="33%"><?php echo tep_draw_input_field('shipping_city', $shippingAddress['city'], 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if(ONEPAGE_ZIP_BELOW == 'True'){ ?> <tr> <td class="main"><?php echo ENTRY_POST_CODE.' ' ?></td> <td class="main"><?php echo tep_draw_input_field('shipping_zipcode', $shippingAddress['postcode'], 'class="required" style="width:80%;float:left;"'); ?> </td> </tr> <?php } ?> <?php if (ACCOUNT_STATE == 'true') { ?> <td class="main" width="33%"><?php echo ENTRY_STATE; ?></td> <?php } ?> <?php if (ACCOUNT_STATE == 'true') { $defaultCountry = (isset($shippingAddress) && tep_not_null($shippingAddress['country_id']) ? $shippingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY); ?> <td class="main" width="33%" id="stateCol_delivery"><?php echo $onePageCheckout->getAjaxStateField($defaultCountry, 'delivery');?> <div <?php if(tep_not_null($shippingAddress['zone_id']) || tep_not_null($shippingAddress['state'])){ ?>class= "success_icon ui-icon-green ui-icon-circle-check" <?php }else{?> class="required_icon ui-icon-red ui-icon-gear" <?php } ?> style="margin-left: 3px; margin-top: 1px; float: left;" title="Required" /></div> </td> <?php } ?> <tr> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main" width="33%"><?php echo ENTRY_POST_CODE; ?></td> <?php } ?> </tr> <tr> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main" width="33%"><?php echo tep_draw_input_field('shipping_zipcode', $shippingAddress['postcode'], 'class="required" style="width:80%;float:left;"'); ?></td> <?php } ?> </tr> </td> </tr> <?php } ?> </table> I Hope that helps someone !!! ps postcode / zip is set to below line Ron
  16. Ok - this is driving me bonkers !! I have reinstalled version 1.4 this has a problem with the form display .... 1.4 gives you 2 extra files (/includes/checkout) billing_address_horizontal.php & billing_address_vertical.php Firefox & opera displays fine - but IE8 is totally screwed. Firefox etc looks like this Internet Explorer look like this as you can see the lines are totally over to the right I cannot for the life of me figure out how to get the input fields over to the left hand side on Internet Explorer this is the code <table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (ACCOUNT_GENDER == 'true' && !tep_session_is_registered('customer_id')) { $gender = $billingAddress['entry_gender']; if (isset($gender)) { $male = ($gender == 'm') ? true : false; $female = ($gender == 'f') ? true : false; } else { $male = false; $female = false; } ?> <tr> <td class="main" colspan="2"><?php echo ENTRY_GENDER; ?> <?php echo tep_draw_radio_field('billing_gender', 'm', $male) . ' ' . MALE . ' ' . tep_draw_radio_field('billing_gender', 'f', $female) . ' ' . FEMALE; ?></td> </tr> <?php } ?> <tr> <td class="main"><?php echo ENTRY_FIRST_NAME; ?> </td> <td class="main"><?php echo tep_draw_input_field('billing_firstname', (isset($billingAddress) ? $billingAddress['firstname'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_LAST_NAME; ?> </td> <td class="main"><?php echo tep_draw_input_field('billing_lastname', (isset($billingAddress) ? $billingAddress['lastname'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_DOB == 'true' && !tep_session_is_registered('customer_id')) { ?> <tr> <td class="main" nowrap><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_dob', (isset($customerAddress) ? $customerAddress['dob'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <?php } if (!tep_session_is_registered('customer_id')){ ?> <tr id="newAccountEmail"> <td class="main" nowrap><?php echo ENTRY_EMAIL_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_email_address', (isset($customerAddress) ? $customerAddress['email_address'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } if (ACCOUNT_COMPANY == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_COMPANY; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_company', (isset($billingAddress) ? $billingAddress['company'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <tr> <td class="main" nowrap><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('billing_country', (isset($billingAddress) && tep_not_null($billingAddress['country_id']) ? $billingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY), 'class="required" style="float:left;width:80%"'); ?><div class="success_icon ui-icon-green ui-icon-circle-check" style="margin-left: 3px; margin-top: 1px; float: left;" title="false" /></td> </tr> <tr> <td class="main" nowrap><?php echo ENTRY_STREET_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_street_address', (isset($billingAddress) ? $billingAddress['street_address'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_SUBURB; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_suburb', (isset($billingAddress) ? $billingAddress['suburb'] : ''), 'style="width:80%;float:left"'); ?></td> </tr> <?php } ?> <tr> <td colspan="2"> <table cellpadding="0" cellspacing="0" border="0" width="92%"> <tr> <td class="main" width="33%"><?php echo ENTRY_CITY; ?></td> <?php if (ACCOUNT_STATE == 'true') { ?> <td class="main" width="33%"><?php echo ENTRY_STATE; ?></td> <?php } ?> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main" width="33%"><?php echo ENTRY_POST_CODE; ?></td> <?php } ?> </tr> <tr> <td class="main" ><?php echo tep_draw_input_field('billing_city', (isset($billingAddress) ? $billingAddress['city'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> <?php if (ACCOUNT_STATE == 'true') { $defaultCountry = (isset($billingAddress) && tep_not_null($billingAddress['country_id']) ? $billingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY); ?> <td class="main" id="stateCol_billing"><?php echo $onePageCheckout->getAjaxStateField($defaultCountry);?><div <?php if(tep_not_null($billingAddress['zone_id']) || tep_not_null($billingAddress['state'])){ ?>class= "success_icon ui-icon-green ui-icon-circle-check" <?php }else{?> class="required_icon ui-icon-red ui-icon-gear" <?php } ?> style="margin-left: 3px; margin-top: 1px; float: left;" title="Required" /></div></td> <?php } ?> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> <?php } ?> </tr> </table> </td> </tr> <?php if(ONEPAGE_ZIP_BELOW == 'True'){ ?> <tr> <td class="main"><?php echo ENTRY_POST_CODE ?></td> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <?php if(!tep_session_is_registered('customer_id')){ ?> <tr> <td class="main"><?php echo ENTRY_TELEPHONE; ?></td> <td> <?php if(ONEPAGE_TELEPHONE == 'True') echo tep_draw_input_field('billing_telephone', (isset($customerAddress) ? $customerAddress['telephone'] : ''), 'class="required" style="width:80%;float:left;"'); else echo tep_draw_input_field('billing_telephone', (isset($customerAddress) ? $customerAddress['telephone'] : ''), 'style="width:80%;float:left;"'); ?></td> </tr> <tr> <td colspan="2"><table cellpadding="0" cellspacing="0" border="0" width=""> <?php if (ONEPAGE_ACCOUNT_CREATE != 'required'){ ?> <tr> <td colspan="2" class="main"><br>If you would like to create an account please enter a password below</td> </tr> <?php } ?> <tr> <td class="main"><?php echo ENTRY_PASSWORD; ?></td> <td class="main"><?php echo tep_draw_password_field('password', '', 'autocomplete="off" ' . (ONEPAGE_ACCOUNT_CREATE == 'required' ? 'class="required" ' : '') . 'maxlength="40" style="float:left;"'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></td> <td class="main"><?php echo tep_draw_password_field('confirmation', '', 'autocomplete="off" ' . (ONEPAGE_ACCOUNT_CREATE == 'required' ? 'class="required" maxlength="40" ' : 'maxlength="40" ') . 'style="float:left;"'); ?></td> </tr> <tr> <td class="main" colspan="2"><div id="pstrength_password"></div></td> </tr> </table></td> </tr> <tr> <td class="main" colspan="2"><?php echo ENTRY_NEWSLETTER; ?> <?php echo tep_draw_checkbox_field('billing_newsletter', '1', (isset($customerAddress) && $customerAddress['newsletter'] == '1' ? true : false)); ?></td> </tr> <?php } ?> </table> is it just me - any solutions HELP !
  17. hi the files needed to change the look of checkout are located in /includes/checkout/ shipping_address_horizontal etc I have managed to change the look of the old 1.2 contribution - but want to get the 1.3 installed however because of the horizontal and vertical files Im having problems getting it to display correctly (its fine in firefox and chrome - but no good in IE) I want the town, region and postcode all on seperate lines (city, state & zip ) but because of the codeing around the tr / td and the span of 2 cells lines its really complicated to do ! If anyone has managed to get the horizontal pages looking good - please put your code below so I can copy it !! this is the small section that needs changing <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main" nowrap><?php echo ENTRY_SUBURB; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_suburb', (isset($billingAddress) ? $billingAddress['suburb'] : ''), 'style="width:80%;float:left"'); ?></td> </tr> <tr> <td class="main" nowrap><?php echo ENTRY_CITY; ?></td> <td class="main" ><?php echo tep_draw_input_field('billing_city', (isset($billingAddress) ? $billingAddress['city'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <tr> <td colspan="2"> <table cellpadding="0" cellspacing="0" border="0" width="92%"> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main" width="33%"><?php echo ENTRY_POST_CODE; ?></td> <?php } ?> </tr> <tr> <?php if(ONEPAGE_ZIP_BELOW == 'False'){ ?> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> <?php } ?> </tr> </table> </td> </tr> <?php if(ONEPAGE_ZIP_BELOW == 'True'){ ?> <tr> <td class="main"><?php echo ENTRY_POST_CODE ?></td> <td class="main"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> </tr> <?php } ?> <?php if (ACCOUNT_STATE == 'true') { ?> <td class="main"><?php echo ENTRY_STATE; ?></td> <?php } ?> <?php if (ACCOUNT_STATE == 'true') { $defaultCountry = (isset($billingAddress) && tep_not_null($billingAddress['country_id']) ? $billingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY); ?> <td class="main" id="stateCol_billing"><?php echo $onePageCheckout->getAjaxStateField($defaultCountry);?><div <?php if(tep_not_null($billingAddress['zone_id']) || tep_not_null($billingAddress['state'])){ ?>class= "success_icon ui-icon-green ui-icon-circle-check" <?php }else{?> class="required_icon ui-icon-red ui-icon-gear" <?php } ?> style="margin-left: 3px; margin-top: 1px; float: left;" title="Required" /></div></td> <?php } ?> Many Thanks
  18. Hi Steve what I mean is that Im presuming that the drop down box of Zones (states - counties) should show as the same as the countries - that the default one picked should show in the drop down list (instead of showing please select) This isnt happening this is the state code (zones) if (ACCOUNT_STATE == 'true') { $defaultCountry = (isset($shippingAddress) && tep_not_null($shippingAddress['country_id']) ? $shippingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY); ?> <td class="main" width="33%" id="stateCol_delivery"><?php echo $onePageCheckout->getAjaxStateField($defaultCountry, 'delivery');?> <div <?php if(tep_not_null($shippingAddress['zone_id']) || tep_not_null($shippingAddress['state'])){ ?>class= "success_icon ui-icon-green ui-icon-circle-check" <?php }else{?> class="required_icon ui-icon-red ui-icon-gear" <?php } ?> style="margin-left: 3px; margin-top: 1px; float: left;" title="Required" /></div> </td> and this is the country code <tr> <td class="main" nowrap><?php echo ENTRY_COUNTRY; ?></td> <td class="main" ><?php echo tep_get_country_list('shipping_country', (isset($shippingAddress['country_id']) ? $shippingAddress['country_id'] : ONEPAGE_DEFAULT_COUNTRY), 'class="required" style="width:80%;float:left;"'); ?><div class="success_icon ui-icon-green ui-icon-circle-check" style="margin-left: 3px; margin-top: 1px; float: left;" title="false" /></td> </tr> I have noticed that the zone and country are ONEPAGE_DEFAULT_COUNTRY or $defaultCountry shouldnt this be Zone or State or something similar ? Thanks Ronnie
  19. I have just decided to try and make the latest version to work and have a few queries In admin it gives you the following options ..... Auto-show billing/shipping Default State - I have got this set to England - but it doesnt show on the checkout page - just shows - please select - the default country works fine any ideas toget this working ? Auto-show billing/shipping Default zip code ?? what does this do - Ive left it blank Dont show shipping and handling address checkbox or ship methods ditto above - false or true doesnt change anyrhing (that I can see) thanks Ronnie
  20. FashionSense - I had this problem as well and had to delete some of the javascript, search on my name as I put the solution of what to delete .....
  21. Ive found the places Do i simply change TABLE_CUSTOMERS & address_book to orders and billing_company ?
  22. Hi Im using this contribution for wholesale/trade dropshipping. Ive noticed that the entries of whom is allowed to see certain products / categories is pulkled from the address book. This means that when I send somthing I need to change the shipping address, therefore the list of customers in the categories shows the drop ship customers name instead of the company that will be billed for it. How can I update the information to show billing address not address book address Thanks Ron
  23. when i add this into the space in 1.3 it works properly for the tax being shown - so leaving it out creats problems ?
  24. this is in version 1.2 but missing in 1.3 ???
  25. hi the store admin is set to true and this doesn't exist in includes/classes/onepage_checkout.php
×
×
  • Create New...