Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bawler

Pioneers
  • Posts

    1
  • Joined

  • Last visited

Everything posted by bawler

  1. Good day. Sorry for my English. it's very poor, but I try to describe a problem. First - many thanx for this contribution. In my checkout process I need only 2 required fields "First Name" and "email " (it's a user login). Other are optional. I edited billing_adrress.php (just delete class="required" : <td class="main" width="50%"><?php echo tep_draw_input_field('billing_lastname', (isset($billingAddress) ? $billingAddress['lastname'] : ''), 'class="required" style="width:75%;float:left;"'); ?></td> to <td class="main" width="50%"><?php echo tep_draw_input_field('billing_lastname', (isset($billingAddress) ? $billingAddress['lastname'] : ''), 'style="width:75%;float:left;"'); ?></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="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> to <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), '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> <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> <td class="main"><?php echo tep_draw_input_field('billing_street_address', (isset($billingAddress) ? $billingAddress['street_address'] : ''), 'style="width:80%;float:left;"'); ?></td> <td class="main" width="33%"><?php echo tep_draw_input_field('billing_city', (isset($billingAddress) ? $billingAddress['city'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> <td class="main" width="33%"><?php echo tep_draw_input_field('billing_city', (isset($billingAddress) ? $billingAddress['city'] : ''), 'style="width:80%;float:left;"'); ?></td> deleted (don't need it) <td class="main" width="33%"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> After fill in required fields form do nothing I can't check billing and shipping options. If I add <td class="main" width="33%"><?php echo tep_draw_input_field('billing_zipcode', (isset($billingAddress) ? $billingAddress['postcode'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td> without class="required" I can select billing and shipping method. But I don'd need ZIPCODE. 1. How make "required" fields - "optional" correct ? Is it enought to delete class="required"? What other changes I should to do ? Why ZIPCODE field wait for action ? 2. I don't need column "Shipping Address" "Shipping address" always = "Billing address". Can I switch it off ? Becouse after any action Popup message updating Shipping address.
×
×
  • Create New...