Ralf
Fri 28 December 2007, 01:50 pm GMT +0100
Hello, nice class
Question:
In db_config $catalog you define a single catalog page
Is there a quick way to use multiple catalog pages?
(back to where you come from)
Thanks
Ralf
olaf
Fri 28 December 2007, 01:56 pm GMT +0100
Hi Ralph,
the variable is just a "landing page", the db_cart script doesn't have the function of a catalog.
Ralf
Fri 28 December 2007, 02:08 pm GMT +0100
Hello Olaf
thanks for the quick answer
landing page .. I have some work to do
thanks again
olaf
Fri 28 December 2007, 02:16 pm GMT +0100
Hello Olaf
thanks for the quick answer
landing page .. I have some work to do
thanks again
you're welcome, I wrote the script to add a shopping cart function to existing product catalogs (I think that makes it clear)
Ralf
Fri 28 December 2007, 08:39 pm GMT +0100
Looks like this works fine
In db_conig $catalog has changed to backto.php
added a backto.php to the db_cart folder;
backto.php has a meta and javascript redirect to
$_SERVER["SERVER_NAME"] $_SESSION['backto'];
and of course an include for db_cart_class.php
finally every catalog page needs a $_SESSION['backto'] = $_SERVER['PHP_SELF'];