VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: carsten888 on October 02, 2014, 08:19:21 AM

Title: Where to disable 'customer notes' on the order form?
Post by: carsten888 on October 02, 2014, 08:19:21 AM
Where to disable 'customer notes' on the order form?

I checked everywhere in the config, but can't seem to find it. Maybe overlooking something obvious.

VM 2.6.10
Title: Re: Where to disable 'customer notes' on the order form?
Post by: GJC Web Design on October 02, 2014, 11:28:09 AM
just comment it out in  components\com_virtuemart\views\cart\tmpl\default.php as an override

<?php // Leave A Comment Field ?>
<!--<div class="customer-comment marginbottom15">
<span class="comment"><?php echo JText::('COM_VIRTUEMART_COMMENT_CART'); ?></span><br/>
<textarea class="customer-comment" name="customer_comment" cols="60" rows="1"><?php echo $this->cart->customer_comment?></textarea>
</div>-->
<?php // Leave A Comment Field END ?>
Title: Re: Where to disable 'customer notes' on the order form?
Post by: carsten888 on October 02, 2014, 13:39:30 PM
Thanks. With all those updates I rather not work with overrides in templates. So maybe I'll just use css, as that div's classname seems to be unique (just did a full code-search in all VM files)


div.customer-comment{
   display: none;
}