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

how to show Bestsellers and specials on all pages including static pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-22-2007, 02:41 AM
 
onewebsite onewebsite is offline
 

Newbie
  
Join Date: Jun 2006
Posts: 6
 

Question how to show Bestsellers and specials on all pages including static pages

Hi does any one know how to show the Bestsellers and specials on all pages including static pages. Currently when im under say contact us/about us pages the specials and bestsellers displays nothing.

Is anyone able to help.
Thanks

X-cart version 4.1
__________________
X-cart Gold V4.1.1
Reply With Quote
  #2  
Old 01-22-2007, 03:52 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: how to show Bestsellers and specials on all pages including static pages

Have you had a look in the Custom Mods forum? I believe there are a few mods for this kind of functionality.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-22-2007, 08:02 PM
 
onewebsite onewebsite is offline
 

Newbie
  
Join Date: Jun 2006
Posts: 6
 

Default Re: how to show Bestsellers and specials on all pages including static pages

Hi yes have tried that but didnt find anything.
__________________
X-cart Gold V4.1.1
Reply With Quote
  #4  
Old 01-23-2007, 02:59 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: how to show Bestsellers and specials on all pages including static pages

Here's a start:

http://forum.x-cart.com/showthread.php?t=6073&highlight=bestsellers+all+pa ges
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-23-2007, 11:41 AM
 
ranger82nd ranger82nd is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 159
 

Default Re: how to show Bestsellers and specials on all pages including static pages

This one caused me fits as well, so I coughed up some points to get it resolved.

1. Add a new static page (embedded level) with the following code, put it where you want the items to show.
Code:
{ include file="modules/Bestsellers/bestsellers.tpl" }
2. Add to the <xcart_dir>/pages.php as shown below:
Code:
if ($pageid == <page_id>) include $xcart_dir."/modules/Bestsellers/bestsellers.php";
where you should replace <page_id> with the page id of the static page created at step one.

You can pretty much do this for any of the modules, not just bestsellers!
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 01:32 AM.

   

 
X-Cart forums © 2001-2020