PHP Scripts Development » PHP Classes Support Forum » Db_cart class Support forum

DB_cart and access_user

(8 posts)
  • Started 7 months ago by Bender84
  • Latest reply from Bender84

Great offers not only for geeks!


  1. User has not uploaded an avatar

    Bender84
    Member

    Hello Olaf,

    is it possible to combine this two classes (db_cart and access_user)?

    I would like to use two db tables from access_user script, but i don't know the simplest way.

    Please, can you help me?

    Posted 7 months ago #
  2. Hi,

    actually I wrote db_cart with the idea to use it together with the access_user class.

    Just start to build you cart application and protect the page after the Order command.

    You will notice the variable "customer number" inside the db_cart examples, this var is the user ID in access_user.

    Posted 7 months ago #
  3. User has not uploaded an avatar

    Bender84
    Member

    Hi Olaf,

    thank you for answer, it works. I have another question now...

    I have shop with access_user and db_cart. page with checkout and order is protected by password (customer must login).

    can I use class db_cart() without customer_id - customer is not loged in - and use customer_id after customer login? This is not working for me, can't add products to cart, I don't know why. I'm not a php guru...

    Please, can you help me?

    thank you

    Posted 7 months ago #
  4. I need to do the same in a current project, give me some days and I will post the code here.

    Posted 7 months ago #
  5. User has not uploaded an avatar

    Bender84
    Member

    Thank you Olaf!

    Posted 7 months ago #
  6. User has not uploaded an avatar

    Bender84
    Member

    Hello Olaf,

    did you solved it? Can you share your solution? Please :)

    Posted 6 months ago #
  7. Quote from: Bender84
    "Hello Olaf,
    did you solved it? Can you share your solution? Please :)"

    will start with this function very soon ;)

    Posted 6 months ago #
  8. User has not uploaded an avatar

    Bender84
    Member

    Sounds cool :)

    Thank Olaf

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.