X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Custom Search / Product Listing pages (https://forum.x-cart.com/showthread.php?t=59899)

xcart-dev 06-22-2011 08:12 AM

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

Dongan 06-22-2011 08:13 PM

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.

gb2world 06-22-2011 08:49 PM

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

---

xcart-dev 06-22-2011 10:02 PM

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!

gb2world 06-22-2011 10:32 PM

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.

---

xcart-dev 07-04-2011 08:17 AM

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


All times are GMT -8. The time now is 01:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.