View Single Post
  #3  
Old 01-11-2011, 01:37 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Re: Show Products On Offer

Thanks, Steve! - I looked a little further into it and I've managed to get a list of products with list_price > 0



(I'm now not sure that this is the route that I'm going to go down, but for the purpose of getting this to work, for now, I'll go with it - I can always adjust the query afterwards!)




Currently, I've used this:

http://forum.x-cart.com/showthread.php?t=1144

And edited it to suit what I want.



This now shows my list of products, with a list_price > 0 on the welcome.tpl template!

However, I don't want it on the main page, I want it on "offers.php" in the xcart/modules/special_offers - Which is linked to from the main page.

But I can't get it to display?

I've tried adding both of these (separately!) in to offers.php, but it doesn't show:

require $xcart_dir."/specials.php";
require "./specials.php";

In webmaster mode, it doesn't pick up $specials - So it's definitely a php thing, not a template thing?


I'm piecing together bits from my limited knowledge - But I'm probably doing something daft?

Thanks for any help!
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote