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

Newest Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #51  
Old 07-09-2004, 10:27 PM
 
jin jin is offline
 

Member
  
Join Date: Jul 2004
Posts: 12
 

Default

Hi. I have simple question.
If I want to display products which were newly added in last few weeks in other page(not in home), how should I use this code provided at the beginning of the thread? I also want to have link to the page in menu at left column.

------------------
v.3.5.9 Linux
Reply With Quote
  #52  
Old 07-22-2004, 01:57 PM
 
exhibit-x exhibit-x is offline
 

Newbie
  
Join Date: Jul 2004
Posts: 1
 

Default

if anyone would like to make it column based...

amend newest.tpl...

from...
Code:
{include file="customer/main/products.tpl" products=$newproducts}

to...
Code:
{include file="customer/main/products.tpl" products=$newproducts featured="Y"}
__________________
---
X-cart 3.5.X
Reply With Quote
  #53  
Old 08-09-2004, 04:23 PM
 
warrenkong@earthlink.net warrenkong@earthlink.net is offline
 

Newbie
  
Join Date: Jul 2003
Posts: 7
 

Default

I have wholesale pricing for our products and this search query is picking those up. So now it shows my new product twice, once at the retail price and again at the wholesale price. Does anyone know how to write the search query to show the price based on the membership?

Thanks
Reply With Quote
  #54  
Old 08-10-2004, 01:14 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

Awesome!

Thanks fellas
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #55  
Old 08-11-2004, 06:12 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

I hit upon a problem since installing this mod yesterday.

The image thumbnails do not display..?!

I am using 3.5.7 and storing my images in FS not DB and the thumbnail images are fine in products' categories....
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #56  
Old 09-20-2004, 10:46 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

Had anybody try this mod in 4.0.x?
__________________
"The point is, to make so much money, that money isn't the point anymore."

Pro Version 4.0.19
Gold Version 4.1.3
Linux
Reply With Quote
  #57  
Old 09-23-2004, 06:01 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Quote:
Originally Posted by august
Had anybody try this mod in 4.0.x?

I'm gonna try it tonight and let you know
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #58  
Old 09-23-2004, 07:59 AM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

Thanks in advanced!!!
__________________
"The point is, to make so much money, that money isn't the point anymore."

Pro Version 4.0.19
Gold Version 4.1.3
Linux
Reply With Quote
  #59  
Old 09-23-2004, 08:06 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Hi There,
I have been able to get it to work with the following:

The newest.php file should be created in the xcart root directory, not in the customer directory.
Also, edit the xcart/home.php file instead of /xcart/customer/home.php and add
Code:
require "newest.php";
instead of
Code:
require "./newest.php";


The mod works fine in 4.x if you make the modifications I mentioned above
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #60  
Old 09-29-2004, 07:28 PM
 
BHMedia BHMedia is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 71
 

Default

Hey running 4.0.3 - everything is working perfect except it is saying Enter your price! Heh... HELP!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

   

 
X-Cart forums © 2001-2020