Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: [SOLVED] Removing "Choose product type" in search

[SOLVED] Removing "Choose product type" in search 11 years 6 months ago #700

Nice clean template - thanks. I implemented VM search in left position. Looks great. When I actually do a search I get a second search box above the product display plus "Choose product type" box - need to get rid of the second search box along with the "Choose product type." Please see before and after attachments.
Attachments:
Last Edit: 11 years 6 months ago by Support.
The topic has been locked.

2 Search Boxes After a Search 11 years 6 months ago #709

Hi,

It was actually how it was in original Virtuemart.
So we decided not to touch it at all, But you can remove this field from there easily. You would need little PHP editings though.

Open this PHP file:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/category/default.php
(default.php, flexv2.php, defaultlist.php etc.. which ever category browse page you are using, make the changes only in that file)

And look for this LINES:
<?php echo $this->searchcustom ?>
<br />
Delete them completely, or change them with these:
<?php // echo $this->searchcustom ?>

then the 1st field, which is "choose product type" field, will be gone.

Cheers.
The topic has been locked.

2 Search Boxes After a Search 11 years 6 months ago #711

Thank you. Looks much better.
The topic has been locked.

2 Search Boxes After a Search 11 years 6 months ago #716

Your welcome.

Case solved. Topic is Closed.
The topic has been locked.
Time to create page: 0.124 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo