[PHP-DB] Shopping Cart Discount System

2012-12-31 Thread Karl DeSaulniers
Hello Everyone, Hope all are well. Quick and hopefully painless question. Is there any examples on how to build a discount system into your shopping cart out there that anyone knows of? I am using MySQL and PHP. I have built one of my own so far, but am having trouble making sense of what goes

Re: [PHP-DB] Shopping cart application question

2010-04-04 Thread Ron Piggott
I have done something like you have said below Chris. I put the code which is common to be loops in it's own file and I did an INCLUDE Ron -Original Message- From: chris smith dmag...@gmail.com To: ron.pigg...@actsministries.org Cc: php-db@lists.php.net Subject: Re: [PHP-DB

[PHP-DB] Shopping cart application question

2010-04-03 Thread Ron Piggott
I am writing a shopping cart application. I am expanding the application to have a store membership component. Right now I am saving the customers selections in one of two ways: - In the session variable $_SESSION['order'] if they aren't logged in - For those who have logged into their account

Re: [PHP-DB] Shopping cart application question

2010-04-03 Thread Nilesh Govindarajan
Quote snip I didn't understand your problem. Explain clearly. -- Nilesh Govindarajan Site Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Shopping cart application question

2010-04-03 Thread chris smith
The } else { confuses PHP.  I am not sure what I should be doing. You're missing at least one brace. If the code you supplied is a copy of what you have, you're missing a } for the end of the while loop and one for the end of the else condition. So it's treating } else { as part of the while

[PHP-DB] Shopping cart

2009-05-16 Thread Vernon St Croix
Hi, I am pretty new to PHP and I am trying to create a shopping cart. I keep on getting the below error when trying to show the shopping list. Any guidance that can be provided will be very much appreciated Fatal error: Call to a member function query() on a non-object in

Re: [PHP-DB] Shopping cart

2009-05-16 Thread Max E.K
On Sat, 2009-05-16 at 10:54 +0100, Vernon St Croix wrote: Hi, I am pretty new to PHP and I am trying to create a shopping cart. I keep on getting the below error when trying to show the shopping list. Any guidance that can be provided will be very much appreciated Fatal error: Call

Re: [PHP-DB] Shopping cart

2009-05-16 Thread danaketh
Hi Vee, You have it all in that error :) You're calling function on non-object. Look into the basket.php. On the lines where you call the MySQL query you have $con-query($sql) but there is no decalaration of $con object anywhere before. I think you have an MySQL layer included

[PHP-DB] Shopping cart shipping logic

2008-05-14 Thread Ron Piggott
I need help writing a mySQL query and syntax that will determine the shipping packing selected and will then determine the cost to ship. I have assigned dollar values to various packaging. I have a designed the following table which contains various packaging, the maximum size (in centimeters)

RES: [PHP-DB] Shopping cart session handling

2008-05-05 Thread Thiago Pojda
Forwarding to the correct mailing list. You should get flames...*cough* I mean, answers here :) Regards, Thiago -Mensagem original- De: Ron Piggott [mailto:[EMAIL PROTECTED] Enviada em: domingo, 4 de maio de 2008 19:35 Para: PHP DB Assunto: [PHP-DB] Shopping cart session handling I am

[PHP-DB] Shopping cart session handling

2008-05-04 Thread Ron Piggott
I am writing a shopping cart. I wanted some input on session handling for a shopping cart that is secure. At this time I am not programming for credit card processing. I am going to forward onto PayPal for payment initially. But I want to do a good job with security. Ron -- PHP Database

Re: [PHP-DB] Shopping Cart

2005-03-08 Thread mohamed naazir
SIR SORRY FOR LATE . I AM NAAZIR FROM SRI LANKA..I AM DOING WEBDEVALOBMENT USING PHP AND MY SQL, I WAS BORN IN A MIDDLE CLASS FAMILLY. MY FATHER IS A BUSSINES MAN MOTHER IS HOUSE WIFE. I HAVE 5 SIISTER. MY FATHER BUSSINUS BADLY AFFECTED MY TSUNNMI . WE LOST OUR FATHER BUSSINES . AND FATHER SAY

Re: [PHP-DB] Shopping Cart

2005-03-07 Thread Martin Norland
Wendell Frohwein wrote: Hello everyone. Just want to thank you for all the help you have provided me in the past. I have a new task that I am trying to tackle, but have come into a snag. I am building a customized shopping cart for auto accessories. I have gotten about 90% of the cart worked out

RE: [PHP-DB] Shopping Cart

2005-03-07 Thread Wendell Frohwein
. Thanks though. -Wendell Frohwein -Original Message- From: Martin Norland [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 7:08 AM To: php-db@lists.php.net Subject: Re: [PHP-DB] Shopping Cart Wendell Frohwein wrote: Hello everyone. Just want to thank you for all the help you

Re: [PHP-DB] Shopping Cart

2005-03-07 Thread Martin Norland
Wendell Frohwein wrote: Hi martin, thanks for the email. I'm sorting it out slowly but surely. I was just a little over worked the night I wrote that novel of an email. I don't know if you saw my latest email titled Mysql Result. That's the last step I am at. I used a select statement across

[PHP-DB] Shopping Cart

2005-03-05 Thread Wendell Frohwein
Hello everyone. Just want to thank you for all the help you have provided me in the past. I have a new task that I am trying to tackle, but have come into a snag. I am building a customized shopping cart for auto accessories. I have gotten about 90% of the cart worked out except for the search

[PHP-DB] Shopping Cart Updating Quantities Question.

2003-06-04 Thread Boa Constructor
Greetings all, Ok, I've made some progress with my shopping cart. I can now update the quantity of one item only. When I try to update the quantities of 2 products it only lists the first product with its previous quantity. I also need to press the update quantity button twice for the quantity

[PHP-DB] - Shopping cart software

2003-05-30 Thread Mignon Hunter
Can anyone recommend shopping cart software; does not have to be open source. I need to set up pretty fast and be able to calculate the different sales tax for anywhere, USA. (International should be ok). Already have cc processor lined up. Any suggestions would be appreciated. Thx -- M

Re: [PHP-DB] - Shopping cart software

2003-05-30 Thread Becoming Digital
osCommerce http://www.oscommerce.com Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: Mignon Hunter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, 29 May, 2003 16:47 Subject: [PHP-DB] - Shopping cart software Can anyone recommend shopping

Re: [PHP-DB] - Shopping cart software

2003-05-30 Thread David Shugarts
A lot of hosted servers are already set up for Miva Merchant. The basic store/shopping cart is very quick to set up. --Dave Shugarts Can anyone recommend shopping cart software; does not have to be open source. I need to set up pretty fast and be able to calculate the different sales tax

Re: [PHP-DB] - Shopping cart software

2003-05-30 Thread Ruprecht Helms
Hi Mignon Hunter, Can anyone recommend shopping cart software; does not have to be open source. I need to set up pretty fast and be able to calculate the different sales tax for anywhere, USA. (International should be ok). have a look on http://www.phpshop.org. Regards, Ruprecht

Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple prolem- hopefully

2002-11-14 Thread Peter Beckman
1. Are you 100% sure register_globals is turned on? 2. You session_register your variable before you change it. Replace $ShoppingCart with $_SESSION[ShoppingCart] every time you use it. This way you are modifying the session variable actually in the session, not just the one time.

Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple prolem- hopefully

2002-11-14 Thread Boa Constructor
Beckman [EMAIL PROTECTED] To: Boa Constructor [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 3:41 PM Subject: Re: [PHP-DB] Shopping Cart Sessions - Think this is a simple prolem- hopefully 1. Are you 100% sure register_globals is turned on? 2. You session_register your

[PHP-DB] Shopping Cart Sessions - Think this is a simple prolem - hopefully

2002-11-13 Thread Boa Constructor
Evening all, I'm pretty stumped with this basic shopping cart I'm trying to integrate into my site, if u wanna see what I'm on about visit http://www.hostmaster-x.co.uk/Products.php. On my products script I've got the following: ?php $shoppingcart = array(); session_start();

[PHP-DB] Shopping Cart ?

2002-02-24 Thread Dave Carrera
Hi All, I am developing a shopping cart for a customer. No Prob there. Is there any info around, or can someone supply, on how to Link the buy button to a ccp. I think what I mean is the customer has no credit card processor at the moment So I want to be flexible with the buy button links (

Re: [PHP-DB] Shopping Cart ?

2002-02-24 Thread Andrey Hristov
instead of php4). Best regards, Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: Dave Carrera [EMAIL PROTECTED] To: php List [EMAIL PROTECTED] Sent: Monday, February 25, 2002 9:50 AM Subject: [PHP-DB] Shopping Cart ? Hi All, I am

[PHP-DB] shopping cart classes

2001-02-16 Thread Randall Perry
I've checked out the shopping cart packages available for PHP and am not thrilled by any of them. Was wondering if there are a set of classes available that could be used to support a shopping cart. I'm interested in the 'back end' -- working with the actual data, rather than the front end -- the