If you're new to the CafePress Community Forums, be sure to read our Forum Guidelines before you post anything.
Community Forums: Home
CafePress Community Forums
General Help & Sharing
Shop Customization & HTML
CP's new search box - tips and tricks|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
|
Ah! I'm an idiot, Jim. First time I plugged it into dreamweaver to get the code. Here's a cleaner version if it confused some. Obviously you have to add your CJ PID where the x's are and change the YOURSHOP to "your actual shop name"
But I dint no u kood disable html here. Never sed I wuz the sharpest knife in the drawer. <form id='searchForm' name='searchForm' action='http://www.qksrv.net/click-xxxxxxxx-10463747?url=http://www.cafepress.com/cp/storesearchresults.aspx' method='post'><span id='searchBoxLabel'>Search Our Designs: </span><input type='text' id='searchterm' name='searchterm'/><input type='hidden' id='s' name='s' value='YOURSHOP' /><input id='submitSearch' type='submit' value='Go' /></form> itsmeuluckydevils - wudooeyeno? - donot hunter extraordinaire! - IITYWYBMAD? |
|||
|
|
moderator |
T-Shirts & Clothing) t-shirts
+(Men) mens-clothing ++(T-Shirts) mens-t-shirts +++(Short Sleeve) mens-short-sleeve-t-shirts ++++(White T-Shirts) white-t-shirts ++++(Light T-Shirts) light-t-shirts ++++(Yellow T-Shirts) yellow-t-shirts ++++(Green T-Shirts) green-t-shirts ++++(Dark T-Shirts) dark-t-shirts ++++(Fitted T-Shirts) fitted-t-shirts +++(Long Sleeve) long-sleeve-t-shirts ++++(Long Sleeve T-Shirts) mens-long-sleeve-t-shirts ++++(Dark Long Sleeve T-Shirts) dark-long-sleeve-t-shirts ++(Ringers) ringer-t-shirts ++(Baseball Jerseys) baseball-jerseys ++(Sleeveless) sleeveless-t-shirts ++(Organic T-Shirts) organic ++(Polos and Shirts) mens-polos-and-shirts +++(Denim Shirts) denim-shirts +++(Men's Polos) mens-polo-shirts +++(Golf Shirts) golf-shirts ++(Outerwear) outerwear +++(Men's Performance Jackets) mens-performance-jacket ++(Sweatshirts) sweatshirts +++(Hooded Sweatshirts) hooded-sweatshirts +++(Sweatshirts) mens-sweatshirts ++(Undergarments) underwear +++(Boxers) boxer-shorts +(Women) womens-clothing ++(T-Shirts) womens-t-shirts +++(Short Sleeve) womens-short-sleeve-t-shirts ++++(Women's T-Shirts) womens-white-t-shirts ++++(Women's Light T-Shirts) womens-light-t-shirts ++++(Women's Dark T-Shirts) womens-dark-t-shirts ++++(Women's V-Neck T-Shirts) womens-v-neck-t-shirts ++++(Women's Dark V-Neck T-Shirts) womens-dark-v-neck-t-shirts +++(Long Sleeve) womens-long-sleeve-t-shirts ++++(Women's Long Sleeve T-Shirts) womens-white-long-sleeve-t-shirts ++++(Women's Long Sleeve Dark T-Shirts) womens-dark-long-sleeve-t-shirts +++(Cap Sleeve) cap-sleeve-t-shirts +++(Tank Tops) tank-tops ++(Polos and Shirts) womens-polos-and-shirts +++(Women's Polos) womens-polo-shirts ++(Outerwear) womens-outerwear +++(Women's Performance Jackets) womens-performance-jacket ++(Maternity) maternity-t-shirts +++(Maternity T-Shirts) white-maternity-t-shirts +++(Maternity Dark T-Shirts) dark-maternity-t-shirts ++(Plus Size) plus-size-t-shirts +++(Scoop Neck) plus-size-scoop-necks ++++(Women's Plus Size Scoop Neck T-Shirts) light-plus-size-scoop-necks ++++(Women's Plus Size Dark Scoop Neck T-Shirts) dark-plus-size-scoop-necks +++(V-Neck) plus-size-v-necks ++++(Womens's Plus Size V-Neck T-Shirts) light-plus-size-v-necks ++++(Women's Plus Size Dark V-Neck T-Shirts) dark-plus-size-v-necks ++(Activewear) womens-activewear +++(Raglan Hoodies) raglan-hoodie +++(Tracksuits) womens-tracksuit ++(Undergarments) undergarments +++(Classic Thongs) thong +(Juniors) juniors-clothing ++(T-Shirts) juniors-t-shirts +++(Jr. Jerseys) juniors-jerseys +++(Jr. Ringers) juniors-ringers +++(Jr. Raglans) juniors-raglan +++(Jr. Spaghetti Tanks) juniors-spaghetti-tank-tops ++(Activewear) juniors-activewear +++(Jr. Hoodies) juniors-hoodie +(Kids & Baby) kids-and-baby-clothing ++(Kids' T-Shirts) kids-t-shirts +++(Short Sleeve) kids-short-sleeve-t-shirts +++(Baseball Jerseys) kids-baseball-jerseys ++(Kids' Sweatshirts) kids-fleece +++(Hoodies) kids-hoodie-sweatshirts +++(Sweatshirts) kids-sweatshirts ++(Infant/Toddler T-Shirts) infant-and-toddler-t-shirts ++(Infant Bodysuits) infant-bodysuits ++(Infant Bibs) infant-bibs +(Hats & Bags) hats-and-bags ++(Hats) hats +++(Military Caps) military-caps +++(Stonewashed Caps) stonewashed-caps +++(Trucker Hats) trucker-hats +++(Black Caps) black-caps +++(Caps) caps ++(Bags) bags +++(Tote Bags) tote-bags +++(Messenger Bags) messenger-bags |
|||
|
|
|
I've used the default setting to set it to show in the sidebar and I'm happy with that. I would like to change the default SEARCH text to something like SEARCH NAMES if that is possible?
I just dawned on my how big of an addition a search function in our shops is...I'm very excited about it! Thank you CP! DDK |
|||
|
|
|
Starting to run into a problem.
Lots of folks are starting to use the search. BUT... They're looking for tools, raincoats, umbrellas... Someone should make that "search DESIGNS" or we're going P*** off a lot of folks. And the others will leave thinking we have nothing they want. itsmeuluckydevils - wudooeyeno? - donot hunter extraordinaire! - IITYWYBMAD? |
|||
|
|
|
I've noticed the same thing. Using the search style definitions on this page here:
http://www.cafepress.com/cp/members/toolbox/search_styling.aspx (have to be logged in to see the page) I added this to the 'head' area of my shop: <style>#searchBoxLabel{display:none}</style> That deletes the 'Search:' that is the default text, and then you can put whatever text you want before the search code. I've used "Search by Design:" or "Search Designs By Keyword:". I've considered adding a 'Do not include product types in the search' but that seems a bit LONG already? Anyway - that should help a little bit at least! Kristen |
|||
|
|
|
I'm lazy, Foxy.
Anything is better than just "search", but I think pretty much no matter what you do there'll still be some who look for shoes or rocket guns. itsmeuluckydevils - wudooeyeno? - donot hunter extraordinaire! - IITYWYBMAD? |
|||
|
|
|
Time, time.. i just need more time....
I'm pretty sure there's something you could do with javascript to do a function that passes the query term through the function and clean it of most product type names, then submit it to the form. I that on teesed.com but with asp on the server. But, you'd have to hard-code the search form. Shouldn't be that hard to do. Should have it ready by March. Teesed@Cafepress ~ OurGayApparel ~ RightWingSwag ~ Undamned Teesed ~ getahoodie ~ search4tees ~findmytee ~findmycalendar ~ findmysticker CafePress Tools at Cafewish.com: WishAds™! | Categories Script! | Likewise™ for Premium Shops | Teesed's Bag O' Scripts Affiliate Tools: ToMyInbox.com - affiliate donots in your inbox - and more! |
|||
|
|
|
Tomorrow, you say? Excellent! LA LA LA LA LA!!!! Kristen |
|||
|
|
|
art (Art & Posters)
+posters (Posters) ++mini-posters (Mini Posters) ++small-posters (Small Posters) ++large-posters (Large Posters) +framed-prints (Framed Prints) ++small-framed-prints (Small Framed Prints) ++large-framed-prints (Large Framed Prints) ++framed-panel-prints (Framed Panel Prints) |
|||
|
|
|
cards (Cards & Stationery)
+stationery (Greeting Cards) ++greeting-cards (Greeting Cards) ++greeting-cards-10-pack (Greeting Cards (Pk of 10)) ++greeting-cards-20-pack (Greeting Cards (Pk of 20)) ++note-cards-10-pack (Note Cards (Pk of 10)) ++note-cards-20-pack (Note Cards (Pk of 20)) ++postcards (Postcards) +calendars (Calendars) ++wall-calendars (Wall Calendars) ++oversized-wall-calendars (Oversized Wall Calendars) ++calendar-prints (Calendar Prints) |
|||
|
|
|
Gary Teesed - I used Garys code in my CP shop store.
What do I do to enbed the results in my CP shop and not get it to kick to my cafepress store ? http://serendipityposters.com/posters.cgi My script sits here : http://serendipityposters.com/store.html If you right click it should show you the coding. |
|||
|
|
|
MA, is that all of them combined?!
Mish, Since the form action goes to CP, I don't think it can stay in your CP shop. I could be wrong. Teesed@Cafepress ~ OurGayApparel ~ RightWingSwag ~ Undamned Teesed ~ getahoodie ~ search4tees ~findmytee ~findmycalendar ~ findmysticker CafePress Tools at Cafewish.com: WishAds™! | Categories Script! | Likewise™ for Premium Shops | Teesed's Bag O' Scripts Affiliate Tools: ToMyInbox.com - affiliate donots in your inbox - and more! |
|||
|
A quick and dirty workaround to change the text that appears next to the search box.
To make the word 'search' disappear, use span#searchBoxLabel {display:none;} Use absolute positioning to position the input box top right of the page, say e.g. div#cpSearchFormContainer {position:absolute; top:-204px;right:0px;} /*Search box*/ Create another div, put some text in it and use absolute positioning to put this text next to your search box. |
||||
|
|
|
Yeah, Mish. The form is actually running on CP so if it's possible it's a job for 'Mighty Marty!!!'
Never used CP shop (it is an awesome prog) but in this case, it "seems" it would have to be a feature incorporated into CP shop independent of CP for various reasons. But I could be wrong too! itsmeuluckydevils - wudooeyeno? - donot hunter extraordinaire! - IITYWYBMAD? |
|||
|
| Powered by Eve Community | Page 1 2 3 4 5 |
| Please Wait. Your request is being processed... |
|
Community Forums: Home
CafePress Community Forums
General Help & Sharing
Shop Customization & HTML
CP's new search box - tips and tricks