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

Random Products - 2 Products Per Row - In Place of Featured

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #41  
Old 01-27-2004, 10:09 AM
 
rs25com rs25com is offline
 

Newbie
  
Join Date: Nov 2003
Location: Arlington, VA
Posts: 4
 

Default

This does work very nice, using the latest code in the second page.

However, I will also ask - how can we make it two columns?
Reply With Quote
  #42  
Old 04-21-2004, 08:41 AM
 
BHMedia BHMedia is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 71
 

Default help!!!!1

hey funky !! i am using 3.5.6 would this work? I tried to add everything just like you said but I am getting this error..

Fatal error: Call to undefined function: func_query() in /home/bhmedia/public_html/shop/customer/random.php on line 3

I am trying to add the SQL that BOOMER wrote but I am getting this error

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '$f_products = func_query( "select $sql_tbl[products].*, min($s

Please help me out!!!!!!!!!!!!!!!!!!
Reply With Quote
  #43  
Old 06-07-2004, 11:01 AM
 
csabato csabato is offline
 

Newbie
  
Join Date: May 2004
Posts: 4
 

Default

This is really a great feature. I am setting it up a little different through. In my site I want to use both the "Featured Items" and the random ones.

When I use the original random.php posted it looks great except for the "Enter your Price" thing. When I use the updated one it corrects the price issue, but now there like 7 of every item. For example I have my random number set to 3. For each of those three there are 7 of that product listed. I think it has something to do with the SQL and the fact that I'm using wholesale pricing. If anyone can help me it would be appreciated.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 05:53 AM.

   

 
X-Cart forums © 2001-2020