Notes / Additional Information

Started by Endermite, March 06, 2015, 05:41:47 AM

Endermite

Hello, I was just wondering, is there a way to disable the "Notes / Additional Information" field on order pages?

Thanks in advance!

BRJP

There is a way but only if the change the code on of the order page - which used SMARTy and normal HTML.  It will not be too hard to do at all.

What order pages are you using? 
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Endermite

Quote from: BRJP on March 06, 2015, 04:33:05 PM
There is a way but only if the change the code on of the order page - which used SMARTy and normal HTML.  It will not be too hard to do at all.

What order pages are you using?

Thank you for your reply. I'm using the dedicated server, full screen order form.

BRJP

OK - I do not know that one but that should not matter.

Do you have a HTML editor (like Adobe DreamWeaver or Notepad) that you can use to edit the files? 

What you are looking for is the TPL files for your order page which you need to open and find the below section and remove/remark out.  Its different in different order pages but here is one from our server.


<!-- Additional informations -->
                <div class="configuration-box">
                    <div class="configuration-header">
                        <h4>{$lang.cart_add}</h4>
                    </div>
                    <div class="configuration-body additional-information">
                        <textarea class="additional-notes" placeholder="{$lang.c_tarea}" name="notes">{$submit.notes}</textarea>
                    </div>
                </div>
        <!-- End of Additional informations -->


Make sure you backup your files!
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Endermite

Quote from: BRJP on March 06, 2015, 05:28:33 PM
OK - I do not know that one but that should not matter.

Do you have a HTML editor (like Adobe DreamWeaver or Notepad) that you can use to edit the files? 

What you are looking for is the TPL files for your order page which you need to open and find the below section and remove/remark out.  Its different in different order pages but here is one from our server.


<!-- Additional informations -->
                <div class="configuration-box">
                    <div class="configuration-header">
                        <h4>{$lang.cart_add}</h4>
                    </div>
                    <div class="configuration-body additional-information">
                        <textarea class="additional-notes" placeholder="{$lang.c_tarea}" name="notes">{$submit.notes}</textarea>
                    </div>
                </div>
        <!-- End of Additional informations -->


Make sure you backup your files!

I have downloaded the files, and used "Command + F" to try and find any of the code you mentioned, but I was unable to do so.

The textarea is on the 4th step of the cart, but the only thing that cart4.tpl shows is:

{include file='dedicated/cart_header.tpl'}


{if $paymodule}<br />
<br />

<center>
{$lang.redirection}<br />
<img src="{$template_dir}img/ajax-loading.gif" /><br />
{$paymodule}</center>

{elseif $thanks}

<h1 class="cart2">{$lang.order_ok}</h1>

<p>{$lang.order_thanks}</p>

<h2>{$lang.order_num} {$order_num}</h2>

<p>{$lang.order_thanks2}</p>
{/if}
{include file='dedicated/cart_footer.tpl'}

BRJP

Sometimes the steps don't alway add up.

I know this is a bit laborious but have a look in the other TPL files for that code.

The only other thing I can think of is that there is an 'include' statement that links to another file.

Send me a PM with the link to your HostBill site and Ill signup and have a look on Step 4 and see if I can hone in.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/