![]() |
List all products (only) - PHP Sitemap?
I've been digging forums for simply a mothod of outputting a list of all products, only, to no avail. Tried a couple things but nothing yet....
NOTHING FANCY needed: just a list of all product titles anchored to respective product page. It could be a sitemap formatted like php.net/sitemap.php or just a product list like inlustro.com/sitemap.php Ideas? |
Re: List all products (only) - PHP Sitemap?
Depends what you are after,
If you want a PHP page for display on your site, the firetank advanced sitemap will do what you need, just set it to display all products http://www.firetanksoftware.com/fts/customer/X-cart-Site-Map-advanced-sitemap-pid-70.html If you want to actually output to a CSV file lists of products and URL, take a look at our shopping feed generators, one like the googlebase/froogle one will do it and you can alter it to match your requirements http://www.firetanksoftware.com/fts/customer/X-cart-Shopping-Feeds-cid-26.html |
Re: List all products (only) - PHP Sitemap?
Thank you Firetank Sales. Did you look at the examples?
What you offer is great for some. Too much for me in this case. Solutions/suggestions anyone? Simple mod or paring down of products.php? I JUST NEED A LOOP TO CALL AND LIST ALL PRODUCT TITLES IN ANCHOR TO PRODUCT PAGE. I've seen it in product pull down lists... just need to apply same loop to list, instead, so that when link is clicked all products are listed WITHOUT the long search string in the URL. Suggestions/tips much appreciated! :) |
Re: List all products (only) - PHP Sitemap?
Buy the sitemap generator from www.xml-sitemaps.com - only $15
|
Re: List all products (only) - PHP Sitemap?
Quote:
Please look at the examples. Simple product list in php loop... It should be clear... scripting suggestions only, please (no third party products ;) ) THX! |
Re: List all products (only) - PHP Sitemap?
Actually, the xml-sitemap generator generates a static HTML page which you could include in an X-Cart static page like this...
Code:
{include file="../sitemap.html"} Just for you I've made a simple sitemap, go to my website. |
Re: List all products (only) - PHP Sitemap?
Quote:
Any PHP types in the hizzy? Loop scripting suggestions only please :) |
Re: List all products (only) - PHP Sitemap?
I've just made you one, you ungrateful *&^%$
http://www.xcartmods.co.uk/files/X-Cart_Simple_Sitemap.zip |
Re: List all products (only) - PHP Sitemap?
Sorry, I thought you'd output just HTML from xml-sitemaps... not my intention to offend! I guess I misunderstood what you did... taking a look now. Thanks! :D (Peace... as they say.)
...looks AWESOME... LET'S GIVE IT A GO! CHEERS PHIL!!! :D Sorry we went south there for a sec.! |
Re: List all products (only) - PHP Sitemap?
Try it now, there was a typo.
|
Re: List all products (only) - PHP Sitemap?
Looks good but I think it is not quite returning the intended result yet:
http://heartthroblingerie.com/sitemap.php BTW, changed func_display("customer/home.tpl",$smarty); to func_display("customer/sitemap.tpl",$smarty); but same result (in home.tpl or no) either way. I did a Save As... and made sure file creator, save state, line breaks and encoding (latin 1) are all unix compatible... no change. Also, sent small Paypal donation... :) Warm regards, |
Re: List all products (only) - PHP Sitemap?
That's a wierd output! It works fine on a fresh install.
It's meant to be... Code:
func_display("customer/home.tpl",$smarty); Thanks for the donation, I've emailed you the code. |
Re: List all products (only) - PHP Sitemap?
Quote:
The script is GREAT. Thanks so much! Unfortunately by data is corrupted :( |
Re: List all products (only) - PHP Sitemap?
It now lists static pages and speed bar items.
|
Re: List all products (only) - PHP Sitemap?
I took the liberty and added something to it to make the links to the items a bit stick out if description is also shown. I'm not sure if the css is perfect but it does what it it supposed to do, maybe some css guru can clean that up :)
add at the end to skin1/skin1.css /*sitemap*/ .sitemapList { COLOR: #330000; FONT-WEIGHT: bold; } .sitemapListDisabled { COLOR: #909090; } A.sitemapList:link { COLOR: #FF8600; FONT-WEIGHT: bold; TEXT-DECORATION: none; } A.sitemapList:visited { COLOR: #330000; FONT-WEIGHT: bold; TEXT-DECORATION: none; } A.sitemapList:hover { COLOR: #FF6347; FONT-WEIGHT: bold; TEXT-DECORATION: none; } A.sitemapList:active { COLOR: #330000; FONT-WEIGHT: bold; TEXT-DECORATION: none; } /*sitemap*/ -------------------- add to line 18 in /skin1/customer/sitemap.tpl class="sitemapList" it should look like this: <a href="product.php?productid={$products[$s].productid}" title="{$products[$s].product}" class="sitemapList">{$products[$s].product}</a><br> ---------------------- add link to sitemap in /skin1/help.tpl <a href="http://{$config.Company.company_website}/shopping-cart/sitemap.php" class="VertMenuItems">{$lng.lbl_sitemap}</a><br /> maybe helpful for someone |
Re: List all products (only) - PHP Sitemap?
I have another thought:
what would it take to split that up and show also the categories? Category 1: item 1 item 2 item 3 Category 2 item 1 item 2 item 3 item 4 Cat.... well you get the picture :) Andy |
Re: List all products (only) - PHP Sitemap?
If we purchase some of your individual feed mods and later decide to upgrade to the pro (the package with all of them), is there any kind of a price break for the mods already purchased? Like a discounted or pro-rated rate?
|
Re: List all products (only) - PHP Sitemap?
Quote:
Hi, If you are refering to the Firetank X-cart Feed Manager series, the answer is yes, you can request an upgrade at any time to the full package and only pay the difference :) http://www.firetanksoftware.com/ |
Re: List all products (only) - PHP Sitemap?
Thanks! Still mulling it over, but I'll likely end up buying it. :-)
|
Re: List all products (only) - PHP Sitemap?
Quote:
Give it a try, purchase the google/froogle one, you can put that to immediate use and it gives you a good feel as to how the whole system works, if you want to upgrade to the full package we'll allocate you a discount coupon equal to it's full value :) |
Re: List all products (only) - PHP Sitemap?
philj. followed instructions in file and this is output:
Quote:
|
Re: List all products (only) - PHP Sitemap?
By the way, to rewrite sitemap.php to sitemap.html ...
In /.htaccess add... Code:
Options +FollowSymlinks In /robots.txt add... Code:
Disallow: /sitemap.php |
Re: List all products (only) - PHP Sitemap?
Will the add-on (http://www.bcsengineering.com/store/catalog/Xcart_Site_Map_advanced-p-60.html) show pictures of the product as well? I am looking for a sitemap to not only show the product title, but a picture of that product too.
Is this possible? |
Re: List all products (only) - PHP Sitemap?
The mod doesn't show images by default. If you have a lot of products, then this probably isn't a good idea anyway.
However, if you edit the template that comes with it you should be able to show the images. |
All times are GMT -8. The time now is 05:56 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.