X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Static page simulation. Search engine improvements (https://forum.x-cart.com/showthread.php?t=10128)

Gijs 11-24-2004 05:42 AM

Hi PhilJ,

Quote:

Originally Posted by PhilJ
It's ok, I've found a way round it, thanks again.


Cool ! Could you share this with us ?

Thanks in advance

Gijs

PhilJ 11-24-2004 06:31 AM

I didn't actually manage to get it into the x-cart template :oops: I wish there was a tutorial on how to do so.

I actually used the mod to show a list of all products in stock, which opens up in a remote control popup window.

Just change the db query to

Code:

$qry = "SELECT * FROM " . $sql_tbl["products"] . " where forsale='Y' AND avail>0 ";

and change the hyperlink to the product


GM 12-18-2004 05:27 PM

Nice Mod! This has great potential! :D

Zaja 12-19-2004 05:31 AM

If you want product thumbs in listing:

skin/SEO_listing.tpl

Code:

{* Smarty Template SEO_listing.tpl  by Fernando Borcel. MascotasMexico.com 2004/10/31 *}
{foreach from=$products item=v key=k}


{$products[$k].product}
 
{$products[$k].descr}
 
[img]{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$products[$k].productid}[/img]

{/foreach}


Demo: http://www.7dana.com/shop/all_products.html

Also, make your mycatalog.html(all_products.html) a valid HTML, spiders appreciate this.
http://validator.w3.org/check?uri=http://www.7dana.com/shop/all_products.html

aop 12-20-2004 09:56 AM

Hi there;
I'm in the process to upgrade from 3.2.2 to 4.x.x and one of the reason of my upgrading was the access to "HTML Catalog" feature, which I didn't have on 3.2.2. All my efforts are pointed to Search engines specially Google ( I have very good results on MSN, Yahoo, etc but terrible on Google).
Well, my simple question is if this Mod "simulating a static page" is the same thing ( do the same job ) of HTML Catalog; if not which would be better, or maybe I can use both and improve my position on Search Engines, etc.
Appreciate any help !
Thanks
Aldo

jimskodi 12-28-2004 08:11 AM

does this replace the html catalog or ?
 
Can we use this and the html catalog that is created? I would like to have it for all of my subcategories, did you ever get that finnished?

and when I add or change an item is it automatically updated or what do I have to do to run it if anything?

I want to install this soon. Jim

GM 01-04-2005 01:37 PM

This mod is great but needs a little work. If you click through a link and go to a product lets say http://www.mysite.com/catalog/big_fat_widget_1.html (using html pages) and then try to add the product to cart you will be redirected to http://www.mysite.com/catalog/big_fat_widget_1cart.php?mode=add is there a workaround for this?

markwhoo 01-04-2005 02:27 PM

Quote:

Originally Posted by GM
This mod is great but needs a little work. If you click through a link and go to a product lets say http://www.mysite.com/catalog/big_fat_widget_1.html (using html pages) and then try to add the product to cart you will be redirected to http://www.mysite.com/catalog/big_fat_widget_1cart.php?mode=add is there a workaround for this?


I think this mod was written more for spider effect than function effect.

The way it is laid out, it would so just that successfully.

If you just want to list all products add thumbs and use for listing for a single order type sheet, then you are talking about the need for function for the end user? or quick list for admin use?

There is another thread right now doing just that for an end user use...

markwhoo 01-05-2005 08:04 PM

So Fernando, Gijs Tell me,

Which of the two methods are really the best for spidering.

The one fernando came up with first or the one that PhilJ came up with.

Reason I ask is Fernandos goes nowhere to link to nothing, just shows products and info. So how effective is this?

Second PhilJ's goes to the php files, which HTML is best for spidering.

Which of these two methods will really do the best job. Maybe I am issing something here.

Do I try to duplicate the files and make them both and watch the logs or what?

Anyone have thoughts on this?

GM 01-05-2005 09:34 PM

I got it... if you put your full URL in the link full list of stuff
it WORKS!!!! 8O


All times are GMT -8. The time now is 04:06 PM.

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