Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Code Problem


Guest

Recommended Posts

I have come up with an interesting problem.

 

I have the following code in this file:

 

<?php
   }

   if ($free_shipping == true) {
?>
             <tr>
               <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
               <td colspan="2" width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                 <tr>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                   <td class="main" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                 </tr>
                 <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)">
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                   <td class="main" width="100%"><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field('shipping', 'free_free'); ?></td>
                   <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                 </tr>
               </table></td>
               <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
             </tr>

 

If I delete this code, I get shipping options. If I leave it in, I get nothing but "Free Shipping for orders over $0" regardless of weight or anything else. So I guess I'll leave it out & try to work with the "add weight" contribution (I need to have the option for the customer to download the product w/o shipping costs or have it mailed) -- none of which has worked well yet.

 

I wondered if anyone else has come across this or if I am missing something.

 

Thanks!

 

Wendy

Link to comment
Share on other sites

To allow downloads all you need to do is turn it on in the admin. Give the product a zero weight and make sure your tare weight is set to zero.

 

Not sure I exactly understand your other problem. Is free shipping set to true in your admin?

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

To allow downloads all you need to do is turn it on in the admin. Give the product a zero weight and make sure your tare weight is set to zero.

 

Not sure I exactly understand your other problem. Is free shipping set to true in your admin?

 

 

Thanks for replying. In checkout, whether the item has a weight or not, it is listed as having free shipping. This happens even when free shipping is turned off in Admin. It started after I installed the attributes options & add-weight contributions, and is not repaired even after I uninstalled them.

 

The only thing that takes it off is to remove the above code, at which point even zero-weight products (for downloading) are assigned shipping charges. :'(

 

Thanks!

 

Wendy

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...