14, February 2012

multiple catalog pages - webmaster forum

 
Webdigity webmaster forums
[ 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
Instabuck - The easy way to sell digital products online

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


« on: Dec 28, 2007, 01: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Dec 28, 2007, 01: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 : A new Wordpress theme for our blog
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« Reply #2 on: Dec 28, 2007, 02: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Dec 28, 2007, 02: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 : A new Wordpress theme for our blog
I crack Photoshop!
*
Posts: 3
22 credits
Members referred : 0


« Reply #4 on: Dec 28, 2007, 08: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....

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?
Feb 14, 2012, 08:24:35 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!






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