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)
-   -   List all products (only) - PHP Sitemap? (https://forum.x-cart.com/showthread.php?t=27013)

mbcummings 11-30-2006 12:34 PM

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,

PhilJ 11-30-2006 01:08 PM

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.

mbcummings 11-30-2006 01:42 PM

Re: List all products (only) - PHP Sitemap?
 
Quote:

Originally Posted by PhilJ
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.


The script is GREAT. Thanks so much!

Unfortunately by data is corrupted :(

PhilJ 12-01-2006 04:30 AM

Re: List all products (only) - PHP Sitemap?
 
It now lists static pages and speed bar items.

andreas04031 12-02-2006 12:55 PM

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

andreas04031 12-02-2006 12:59 PM

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

thentavius 12-27-2006 05:20 PM

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?

groovico 12-28-2006 02:36 AM

Re: List all products (only) - PHP Sitemap?
 
Quote:

Originally Posted by thentavius
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?


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/

thentavius 12-29-2006 10:43 PM

Re: List all products (only) - PHP Sitemap?
 
Thanks! Still mulling it over, but I'll likely end up buying it. :-)

groovico 12-30-2006 08:04 AM

Re: List all products (only) - PHP Sitemap?
 
Quote:

Originally Posted by thentavius
Thanks! Still mulling it over, but I'll likely end up buying it. :-)


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 :)


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.