5, September 2008

multiple catalog pages - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: multiple catalog pages
« previous next »
Pages: [1] Print

Author Topic: multiple catalog pages  (Read 414 times)
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« on: Dec 28, 2007, 02:50:49 PM »

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
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6309
38674 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Dec 28, 2007, 02:56:48 PM »

Hi Ralph,

the variable is just a "landing page", the db_cart script doesn't have the function of a catalog.


Last blog : Is your website is down? Know before your visitors do!
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« Reply #2 on: Dec 28, 2007, 03:08:51 PM »

Hello Olaf
thanks for the quick answer
landing page .. I have some work to do

thanks again
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6309
38674 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Dec 28, 2007, 03:16:10 PM »

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)


Last blog : Is your website is down? Know before your visitors do!
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« Reply #4 on: Dec 28, 2007, 09:39:27 PM »

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'];
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7487
Tags : db_config catalog Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  DB_cart Class (Moderator: Olaf)
Topic: multiple catalog pages
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Sep 05, 2008, 05:27:53 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 36.293
Total Topics: 7.476
Total Members: 3.899
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: speedy5044

25 Guests, 4 Users online :

15 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.