Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Search bar in webshop (/showthread.php?t=10987)

Estrella86 September 18th, 2014 05:50 AM

Search bar in webshop
 
Hi,

I was wondering whether it's possible to add a search bar somewhere else than in my sidebar? Say, next to the pagination line in my shop? See, I don't have a sidebar in my shop right now and I'd prefer not to add one... I'd rather put the search bar in the page itself. I was hoping I could do that somewhere in 'view'?

Website URL: http://babyaccessoires.eu/
URL to page in question: http://babyaccessoires.eu/webshop/ and all underlying categories.

Eric September 18th, 2014 06:50 AM

Hi,

The easiest way to do that is to add a new Text module to these views:

The Factory > Your Store > VIEWS > STORE FRONT PAGE > Default
The Factory > Your Store > VIEWS > CATEGORY PAGE > Default

In those Text modules add the following code:

Code:

[DFR:widget/simple-search]
Here's more information on working with Views:

http://www.datafeedr.com/videos/?vid...types#videotop
http://www.datafeedr.com/videos/?vid...ayout#videotop

Eric

Estrella86 September 18th, 2014 07:32 AM

Hi,

Thanks for your answer and sharing the video's, I hadn't seen those before (even though I watched a lot of them). They're really helpful! I was planning on doing something like that on the front page of my website, but I was still thinking about the best way to do it - I guess I found it now!

Is it possible to add any code I like into the text fields? Say, the code for a slide show?

Eric September 18th, 2014 07:35 AM

Hi,

Yes, you can add whatever HTML, CSS or PHP code you'd like to a Text widget.

Eric

Estrella86 September 18th, 2014 08:02 AM

Nice, thanks again!


All times are GMT -5. The time now is 01:10 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.