Hi,
I want to remove the +/- sign just after the product name. I cant seem to find the php file to modify. thanks
stolen from Spyros.. https://www.virtuemarttemplates.eu/
<?php
$search = array('+/-', '-/+');
$replace = array('', '');
$subject = $this->orderByList['orderby'];
echo str_replace($search, $replace, $subject);
?>
Thanks alot for the code. But in which PHP file do i paste it in and what code do I have to comment out?
I am using VM3 and the lastest Joomla
replaces what ever is displaying the sort field in what ever template you are displaying on.
Other than that I can't see more in my crystal ball.....
http://forum.virtuemart.net/index.php?topic=79799.0
I removed +/- for a client site by using Nonumber's Rereplacer. It was such a bad all singing & dancing template that installing another extension would not matter to him! It was just a 2 minute job....
Hi,
I got it removed finally. I removed it by going to the file components/com_virtuemart/model/ product.php and removing the correct element in line 2436. Thats where the divs and the +/- sign element were coded.
Thanks for your help
Just remember to apply that hack every time the VM version is updated.
and Spyros's hack would not get over written as it is in a template