Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing "add comments about your order" box


jcr100

Recommended Posts

Hi,

 

I am new to oscommerce and so far think it is amazing compared to some of the other e-shops I have used.

 

I was wondering if anyone knows how remove all the 'add comments about your order' boxes that appear when a customer is checking out?

 

Many thanks,

 

james

Link to comment
Share on other sites

  • 1 year later...
Hi,

 

I am new to oscommerce and so far think it is amazing compared to some of the other e-shops I have used.

 

I was wondering if anyone knows how remove all the 'add comments about your order' boxes that appear when a customer is checking out?

 

Many thanks,

 

james

 

I also would like to remove the box, but could not yet figure out how. On a different forum, somebody said to remove the following text from checkout_payment.php:

<tr> 
     <td> 
       <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\"> 
         <tr> 
           <td class=\"main\"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td> 
         </tr> 
       </table></td> 
     </tr> 
<tr> 
       <td><table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"2\" class=\"infoBox\"> 
         <tr class=\"infoBoxContents\"> 
           <td><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\"> 
             <tr> 
               <td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5') . tep_draw_hidden_field('comments_added', 'YES'); ?></td> 
             </tr> 
           </table></td> 
         </tr> 
       </table></td> 
     </tr>

 

The problem is that I cannot find this code in catalog/checkout_payment.php, but I do have some code which is similar:

 

<tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
         <tr>
           <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
     </tr>

 

However, when I delete these lines, the box still appears.

Can anybody help me to get rid of the box? I don't think it makes too much sense,really, and I am sure many customers will not understand what that box is there for.

 

Thanks a lot,

Rose

Link to comment
Share on other sites

The comments box is used quite often by customers in my store -- either to clarify a shipping address (in cases where they need more lines than the cart offers), or to enter delivery instructions, questions about delivery time, etc. You can add a preamble to it to explain what type of information a customer can put there, which is what I did on my site. I'm not sure I'd recommend deleting it.

 

If you still want to remove it, however, I believe you need to remove references to it in these files:

 

- /catalog/checkout_shipping.php

- /catalog/checkout_payment.php

- /catalog/checkout_confirmation.php

- /catalog/checkout_process.php

- /catalog/includes/classes/order.php

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

The comments box is used quite often by customers in my store -- either to clarify a shipping address (in cases where they need more lines than the cart offers), or to enter delivery instructions, questions about delivery time, etc. You can add a preamble to it to explain what type of information a customer can put there, which is what I did on my site. I'm not sure I'd recommend deleting it.

 

If you still want to remove it, however, I believe you need to remove references to it in these files:

 

- /catalog/checkout_shipping.php

- /catalog/checkout_payment.php

- /catalog/checkout_confirmation.php

- /catalog/checkout_process.php

- /catalog/includes/classes/order.php

 

HTH,

 

Terry

 

Hello Terry,

thanks a lot for your reply. But now I'm not too sure anymore that I should really delete the box. I think my basic problem is that I didn't understand myself what the box is there for. Maybe you can help me with the two questions which came up now:

(1) Who will see the information a customer types into the box? Is it only myself in the admin-area, or will the information also be sent with the invoice or made public anywhere else?

(2) You said your clients use the box quite regularly. What kind of information do they put there, apart of the three topics you already mentioned? If I undestand better how customers use the box, I could give some instructions in the box header (I know how to change the box header).

Regards,

Rose

Link to comment
Share on other sites

Hi Rose,

 

I don't know what you're selling, but my site sells children's music products, often sent as gifts to others. I put the following text above the comments box:

 

Please add any comments about your order here. If your order is being shipped to someone else as a gift, we would be happy to include a free gift card. In that case, please indicate the occasion (birthday, baby shower, etc.) and the message you would like included on the card.

 

The comments are stored with the order and appear in:

 

- The Email confirmation sent to the customer

- The Email confirmation sent to the store

- The 'Comments' section of the order when you view/edit the order

- The Customer's Order History (related to the order in question)

- Comments section of database ORDERS table

 

The comments are not appended to further order updates, but do remain in the database unless you manually delete them.

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

(2) You said your clients use the box quite regularly. What kind of information do they put there, apart of the three topics you already mentioned? If I undestand better how customers use the box, I could give some instructions in the box header (I know how to change the box header).

 

I've had comments with instructions about customs form from a customer from another country; 'date needed by' messages (I need this by tomorrow, but am too cheap to pay more than regular shipping... could you rush it anyway), product questions, etc. It's hard to know WHAT a customer might have in mind when they enter something there, but it's definitely worth giving them a place to do so, I think.

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Hi Rose,

 

I don't know what you're selling, but my site sells children's music products, often sent as gifts to others. I put the following text above the comments box:

The comments are stored with the order and appear in:

 

- The Email confirmation sent to the customer

- The Email confirmation sent to the store

- The 'Comments' section of the order when you view/edit the order

- The Customer's Order History (related to the order in question)

- Comments section of database ORDERS table

 

The comments are not appended to further order updates, but do remain in the database unless you manually delete them.

 

HTH,

 

Terry

 

Hi Terry,

thanks for your help. I think I'll try to get rid of the box; if I manage, I'll post the solution here to share. I'm not sure thought that I will manage tweaking the files without killing my store.

Thanks anyway,

Rose

Link to comment
Share on other sites

Hi Terry,

thanks for your help. I think I'll try to get rid of the box; if I manage, I'll post the solution here to share. I'm not sure thought that I will manage tweaking the files without killing my store.

Thanks anyway,

Rose

 

Just in case somebody might want to remove the box and wonders how i did it: i didn't remove it, I went the easy way instead and changed the heading title of the box :P Customers can now enter a code to apply for a price reduction adverised in my marketing activities.

The box title can be changed here:

catalog/includes/languages/english/checkout_shipping.php,

line 27:

define('TABLE_HEADING_COMMENTS', '<New Text>');

 

Rose

Link to comment
Share on other sites

  • 3 months later...

Archived

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

×
×
  • Create New...