Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moonpie

Archived
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Mister Moonpie

moonpie's Achievements

  1. Hi Seth, I'm running OSX and was having the same problem with configuring the .htaccess file. The problem is in the httpd.conf file. Default setting for AllowOverride for .htaccess files is None. It needs to be set to All. Here's the fix. Open httpd.conf file. Find the follow lines: # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride None and replace with: # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride All Make sure you restart the server for the changes to take effect. Good Luck.
  2. It's a javascript problem - the script the shipping is using is the same as the giftwrap. My work-around was to create a duplicate version of the javascript and replacing shipping with giftwrap. Here's the code for catalog/checkout_shipping.php: around line 215 - replace <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> with this <script language="javascript"><!-- var selected; var selectedgift; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } function selectRowEffectGift(object, buttonSelect) { if (!selectedgift) { if (document.getElementById) { selectedgift = document.getElementById('defaultSelectedGift'); } else { selectedgift = document.all['defaultSelectedGift']; } } if (selectedgift) selectedgift.className = 'moduleRow'; object.className = 'moduleRowSelected'; selectedgift = object; // one button is not an array if (document.checkout_address.giftwrap[0]) { document.checkout_address.giftwrap[buttonSelect].checked=true; } else { document.checkout_address.giftwrap.checked=true; } } function rowOverEffectGift(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffectGift(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> around line 361 replace this if ( ($quotes1[$i]['id'] . '_' . $quotes1[$i]['methods'][$j]['id'] == $giftwrap_info['id']) || (tep_count_giftwrap_modules() == (int)1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } with this if ( ($quotes1[$i]['id'] . '_' . $quotes1[$i]['methods'][$j]['id'] == $giftwrap_info['id']) || (tep_count_giftwrap_modules() == (int)1) ) { echo ' <tr id="defaultSelectedGift" class="moduleRowSelected" onmouseover="rowOverEffectGift(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffectGift(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffectGift(this)" onmouseout="rowOutEffectGift(this)" onclick="selectRowEffectGift(this, ' . $radio_buttons . ')">' . "\n"; } That is what is working for me. Good Luck!
×
×
  • Create New...