VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: olumytee4real on December 05, 2013, 12:32:27 PM

Title: Removing notes and special request "Textarea" Field in the shopping cart
Post by: olumytee4real on December 05, 2013, 12:32:27 PM
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......
Title: Re: Removing notes and special request "Textarea" Field in the shopping cart
Post by: 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.
Title: Re: Removing notes and special request "Textarea" Field in the shopping cart
Post by: olumytee4real on December 05, 2013, 14:16:25 PM
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.
Title: Re: Removing notes and special request "Textarea" Field in the shopping cart
Post by: olumytee4real on December 05, 2013, 15:11:27 PM
@Jenk,
Thanks alot. I have figured out the template overide. Finally got that text area off. Thanks. Am so happy.