Remove "Notes and special requests"

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Remove "Notes and special requests"

Postby krisvekaopc » Thu Mar 09, 2017 5:29 pm

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
krisvekaopc
 
Posts: 10
Joined: Wed Mar 08, 2017 2:25 pm

Re: Remove "Notes and special requests"

Postby krisvekaopc » Fri Mar 10, 2017 10:43 am

Hi,

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

Thanks!

Kris
krisvekaopc
 
Posts: 10
Joined: Wed Mar 08, 2017 2:25 pm

Re: Remove "Notes and special requests"

Postby admin » Tue Mar 21, 2017 7:23 pm

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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron