VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: TimHoogland on May 19, 2014, 10:47:43 AM

Title: Delete customer-comment area
Post by: TimHoogland on May 19, 2014, 10:47:43 AM
Hi,

How can I delete the customer-comment area?
In earlier versions it is in: views/cart/template/default.php but I can't find it over there.
Is it replaced to another file?

I am using: Joomla 2.5.19 en VM 2.6.0.

Kind regards,

Tim Hoogland
Title: Re: Delete customer-comment area
Post by: JoomTut on May 19, 2014, 11:40:02 AM
You can select "Show/Hide" "Shopper Review/Rating System" in VirtueMart Configuration.
Title: Re: Delete customer-comment area
Post by: jenkinhill on May 19, 2014, 13:13:39 PM
Edit components/com_virtuemart/views/cart/tmpl/default.php  to remove the Leave A Comment Field section and use the edited file as a template override.


Or you can simply hide it with a css override,   .customer-comment  {display:none;}
Title: Re: Delete customer-comment area
Post by: TimHoogland on May 19, 2014, 17:16:51 PM
The css solution is quit simpel and very efficiƫnt. Thanks. :)