Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Custom Search / Product Listing pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-22-2011, 08:12 AM
 
xcart-dev xcart-dev is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 59
 

Default Custom Search / Product Listing pages

I came across this old thread:
http://forum.x-cart.com/showthread.php?t=13367

Basically users were looking for a way to create a search page using GET instead of post and it seems that after V3 this was no longer possible.

Here is what I'm after if anyone can help. It does not have to be a custom search but more a custom product listing.

I would like to create a page like page.php?search_term=banana (this can then be changed to something pretty with htaccess). This would return a listing of products that have 'banana' in a defined way (e.g. in Title or short description or long description or specified field).

Has anyone ever had a crack or success at any of the above?

Cheers
__________________
X-Cart 4.4.3
Reply With Quote
  #2  
Old 06-22-2011, 08:13 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default Re: Custom Search / Product Listing pages

We have done this for our customer. Basically, the administrator can manage (add/edit/delete) keywords from the backend. For each keyword, he can define meta title, meta description, URL, description. so, it will be a unique landing page.

Another advantage is the keywords database is built whenever the user enters keyword in search box. This will generate user generated pages and that will be a huge boost in SE if the meta are managed properly.

Email me at sales@mercuryminds.com. We shall send you the example URLs to have a look.
Reply With Quote
  #3  
Old 06-22-2011, 08:49 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Custom Search / Product Listing pages

"This page URL" link at the bottom of the search result produces a URL with the search variables for GET

http://forum.x-cart.com/showpost.php?p=225245&postcount=9

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #4  
Old 06-22-2011, 10:02 PM
 
xcart-dev xcart-dev is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 59
 

Default Re: Custom Search / Product Listing pages

@gb2world - thanks for that. It works brilliantly and is exactly what I'm after in terms of the search results listing. Any idea how I can persuade X-Cart to change the title and description meta tag based on the search?

At the moment for all searches it displays the default title/description but I want to include a number of searches in the sitemap.xml which means I'm going to have duplication issues and it will lack SEO impact....

@dongan - will be in touch!
__________________
X-Cart 4.4.3
Reply With Quote

The following user thanks xcart-dev for this useful post:
Dongan (06-23-2011)
  #5  
Old 06-22-2011, 10:32 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Custom Search / Product Listing pages

Quote:
Any idea how I can persuade X-Cart to change the title and description meta tag based on the search?

You can add it to http://ideas.x-cart.com and lobby for lots of votes for it.

You can contract QT or any number of 3rd party vendors to do customizations for you. It seems like you should be able to add to the title using an if statement.

You might also check with Websitecm to see if CDSEO supports this, or might be able to do it without too much trouble.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #6  
Old 07-04-2011, 08:17 AM
 
xcart-dev xcart-dev is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 59
 

Default Re: Custom Search / Product Listing pages

As suggested above I ended up using an if statement to make it happen but I've put it in the suggestions for future editions as well
__________________
X-Cart 4.4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:39 PM.

   

 
X-Cart forums © 2001-2020