News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

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

carsten888

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>
</div>-->
<?php // Leave A Comment Field END ?>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

carsten888

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;
}