Support the VirtueMart project and become a member

Main Menu

Where to disable 'customer notes' on the order form?

Started by carsten888, October 02, 2014, 08:19:21 AM

Previous topic - Next topic


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

GJC Web Design

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>
<?php // Leave A Comment Field END ?>
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
Contact for any VirtueMart or Joomla development & customisation


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)

   display: none;