Page 1 of 1

Remove "Notes and special requests"

PostPosted: Thu Mar 09, 2017 5:29 pm
by krisvekaopc
Hi!

I want to completely remove the ""Notes and special requests" feature from my checkout.
How can I do that?

I tried to delete the notes shopping fields in Virtuemart but that does not work. The notefield keeps appearing.

Greetings,

Kris

Re: Remove "Notes and special requests"

PostPosted: Fri Mar 10, 2017 10:43 am
by krisvekaopc
Hi,

Could an admin please move this topic to Virtuemart 3 with Joomla 3?

Thanks!

Kris

Re: Remove "Notes and special requests"

PostPosted: Tue Mar 21, 2017 7:23 pm
by admin
hello Kris, i don't know how to move the topics here and it's not that of a problem.

to hide the TOS the only way how to do it right now is to hide it with CSS or remove it from OPC's onepage.unlogged+logged.tpl.file

for example in clean_simple2, locate this block:

Code: Select all

<?php
                           $comment = JText::_('COM_VIRTUEMART_COMMENT_CART');
                            if ($comment == 'COM_VIRTUEMART_COMMENT_CART')
                           $comment = JText::_('COM_VIRTUEMART_COMMENT');
   
?>

<h3 class="shipping_h3"><?php echo $comment; ?></h3>
<!-- customer note box -->
<fieldset class="notes_checkout">

<div id="customer_note_input" ><textarea cols="30" rows="3" name="customer_note" id="customer_note_field"></textarea></div>
</fieldset>


and just delete it.

the same can be done with CSS's "display: none;" per your theme in onepage.css.

if you send me an email with your URL, i can suggest you an exact CSS for this.

best regards, stan