News:

Support the VirtueMart project and become a member

Main Menu

Removing notes and special request "Textarea" Field in the shopping cart

Started by olumytee4real, December 05, 2013, 12:32:27 PM

Previous topic - Next topic

olumytee4real

Someone pls kindly come to my aid. I have been battling with removing the special request textarea in the shopping cart but i cant locate it. In earlier version of virtuemart 1.1, the code is located in /components/com_virtuemart/themes/default/templates/checkout/get_final_confirmation.tpl.php
i.e.
<?php echo $VM_LANG->_('PHPSHOP_CHECKOUT_CUSTOMER_NOTE') ?>:<br />
<textarea title="<?php echo $VM_LANG->_('PHPSHOP_CHECKOUT_CUSTOMER_NOTE') ?>" cols="50" rows="5" name="customer_note"></textarea>

But right now i cant locate it in the virtuemart 2.0.22c.

Pls help......

jenkinhill

File is components/com_virtuemart/views/cart/tmpl/default.php

Code block begins/ends with <?php // Leave A Comment Field

Use the edited file as a template override.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

olumytee4real

Quote from: jenkinhill on December 05, 2013, 12:48:52 PM
File is components/com_virtuemart/views/cart/tmpl/default.php

Code block begins/ends with <?php // Leave A Comment Field

Use the edited file as a template override.

Hi Jenkinhill,
I tried commenting and even deleted that chunk of code block but yet the text area still existed. Pls what do u mean by "use the edited file as a template overide". I eagerly await your response and help. Thanks.

olumytee4real

@Jenk,
Thanks alot. I have figured out the template overide. Finally got that text area off. Thanks. Am so happy.