Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Showing 1 product from the whole database



******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******


Chris,

  Try using the 'flypage' page as a model. You can see an example of it here:

http://www.minivend.com/cgi-bin/simple/19-203?g5KqYc28;;29

 look for a page named 'flypage.html' in the simple demo of your
installation. it's probably in a directory named like 'special pages'.
It's in a different location in the 3.x series and the 4.x series. 
  The number '19-203' in the URL is the product id that is used in
retreiving all the relevent information. Change that number and the
product changes. 
  
  One way to achieve the random item is to write a small CGI scripts
that selects a random product ID and then  redirects to a 'flypage'
based on that ID. there may well be a more direct way to do this in Minivend.

  -mark



Christian Mehler wrote:
> 
> ******    message to minivend-users from Christian Mehler <minivend@cmehler.de>     ******
> 
> Hi!
> 
> Following Prob:
> On the first page of my shop I'd like to show only 1 product from my
> products database and every time the site is loaded it should be a
> different one. It should be like the browse-page in the simple demo, but
> only 1 product should be shown.
> Can anybody help me ??
> 
> Thanx
> Chris

  <<-------------------------------------------------------------->>
personal website                <    Summersault Website Design
   http://mark.stosberg.com/     >       http://www.summersault.com/
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: