Linda, the problem is not fixed. You created an account in our test environment domain/zcv1371 which is why you're not seeing the problem there.
The problem is in an production environment at www.clevershoppers.com
Linda, the problem is not fixed. You created an account in our test environment domain/zcv1371 which is why you're not seeing the problem there.
The problem is in an production environment at www.clevershoppers.com
Of course it is ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Set the sort order to 100 on Free Shipping Options freeoptions ...
I know there is an issue on the invisible box with Zones when conditions exist and that has been fixed in v1.3.8 ...
I have not seen it on Free Shipping Options freeoptions ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
DrByte, switching the template to classic or template default (by renaming classic as Linda suggested) still shows the problem. I do not believe it's a template problem because it would have been different when switching between on template or the other.
Which update template_default version fix are you referring to?
As far as comparing the whole site, I can do that as a last resort I was hoping I won't have to compare 1,000s of file one at a time.
The fact that even when free shipping option is enabled with other option, we are seeing the wrong text for shipping methods makes me wonder which file is responsible for what text to display on checkout_shipping.php. I thought there are going to be some obvious files to compare for differences.
I abandoned this problem months ago because I wasn't getting anywhere. I might just have to change the border to white for that page (I hope that's an option). At least that will take care of the look problem since the functionality works as intended.
You're going to love this Linda...
When I did as suggested (changed sort order to 100) the Free Shipping Options moves to the bottom of the list on that page but the empty box is there without the title.
However, the Shipping Method text displayed reads: Please select the preferred shipping method to use on this order.
If I change the sort order back to 1 the error still exists but the shipping method text in the middle of the screen reads: This is currently the only shipping method available to use on this order.
If I change all shipping options sort order to 0 I get the same effect as changing Free Shipping Option to 100.
The only zone that we currently have is one tax zone for Georgia and it's set up similar to the default Florida Tax zone in the test environment except for different tax rate.
Number your Sort Orders by 10s or set ALL to 0s ...
If that does not fix it, try editing the tpl_checkout_shipping_default.php and add the changes:
PHP Code:<?php
} else {
$radio_buttons = 0;
for ($i=0, $n=sizeof($quotes); $i<$n; $i++) {
// bof: field set
if ($quotes[$i]['module'] != '') {
?>
<fieldset>
<legend><?php echo $quotes[$i]['module']; ?> <?php if (isset($quotes[$i]['icon']) && zen_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></legend>
<?php
if (isset($quotes[$i]['error'])) {
?>
<div><?php echo $quotes[$i]['error']; ?></div>
<?php
} else {
for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) {
// set the radio button to be checked if it is the method chosen
$checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $_SESSION['shipping']['id']) ? true : false);
if ( ($checked == true) || ($n == 1 && $n2 == 1) ) {
//echo ' <div id="defaultSelected" class="moduleRowSelected">' . "\n";
//} else {
//echo ' <div class="moduleRow">' . "\n";
}
?>
<?php
if ( ($n > 1) || ($n2 > 1) ) {
?>
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></div>
<?php
} else {
?>
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . zen_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></div>
<?php
}
?>
<?php echo zen_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked, 'id="ship-'.$quotes[$i]['id'] . '-' . $quotes[$i]['methods'][$j]['id'].'"'); ?>
<label for="ship-<?php echo $quotes[$i]['id'] . '-' . $quotes[$i]['methods'][$j]['id']; ?>" class="checkboxLabel" ><?php echo $quotes[$i]['methods'][$j]['title']; ?></label>
<!--</div>-->
<br class="clearBoth" />
<?php
$radio_buttons++;
}
}
?>
</fieldset>
<?php
}
// eof: field set
}
}
?>
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Using this code change solved the problem with free shipping option box displaying when it shouldn't. However, it introduces another problem. Now FedEx Ground and FedEx Express are gone. The only shipping option showing is USPS even though I have not changed anything else in Admin-Module-Shipping
Thanks!
Also wanted to report that if I add enough item so cart is => $99 Free shipping options shows up as expected.
Another point of interest, if I enabled UPS shipping and use the file with your updated code, the free shipping option box issue is resolved and USPS and UPS shipping methods are available but NOT fedEx Ground or Express. It appears that your updated code only recognize default shipping methods.
Comparing 1000 files that should be largely identical takes about 10 seconds using WinMerge, once you've downloaded them. It's not a laborious task. In fact, it's the first place to start in troubleshooting. Surely you've done this while preparing for a site-upgrade before?
If one can concretely rule out 'files', then the next place to look is whether you have all the same modules installed in both sites.
Then compare configuration settings:
Try running this SQL on both databases, take the output and compare (winmerge again) the two resultsets to determine which database config settings are different:Save to CSV format and compare the files.Code:select configuration_key, configuration_value from configuration order by configuration_key;
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.