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

Static page simulation. Search engine improvements

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 11-24-2004, 05:42 AM
  Gijs's Avatar 
Gijs Gijs is offline
 

eXpert
  
Join Date: Aug 2004
Location: Belgium
Posts: 295
 

Default

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
__________________
X-cart 4.1.11
PHP 5 MySQL 5
www.wheelpalace.eu
Reply With Quote
  #12  
Old 11-24-2004, 06:31 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

I didn't actually manage to get it into the x-cart template 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

__________________
xcartmods.co.uk
Reply With Quote
  #13  
Old 12-18-2004, 05:27 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Nice Mod! This has great potential!
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote
  #14  
Old 12-19-2004, 05:31 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

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
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #15  
Old 12-20-2004, 09:56 AM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default

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
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote
  #16  
Old 12-28-2004, 08:11 AM
 
jimskodi jimskodi is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: florida, usa
Posts: 33
 

Default 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
Reply With Quote
  #17  
Old 01-04-2005, 01:37 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

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?
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote
  #18  
Old 01-04-2005, 02:27 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

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...
__________________
vs 4.1.12
Reply With Quote
  #19  
Old 01-05-2005, 08:04 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

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?
__________________
vs 4.1.12
Reply With Quote
  #20  
Old 01-05-2005, 09:34 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

I got it... if you put your full URL in the link full list of stuff
it WORKS!!!!
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 09:03 PM.

   

 
X-Cart forums © 2001-2020