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 whe
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
To: ron.pigg...@actsministries.org
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Shopping
> 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 whi
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
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
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 (mysql.
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 erro
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
C:\wamp\www\draft\b
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) th
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
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 M
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 RO
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 mult
, so I am
not really sure. 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 th
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 ex
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 feat
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
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
---
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 ta
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 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 Hunt
Original Message -
From: "Peter 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- h
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.
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:
Cart contains: items";
*/
//exit();
}
// Loads more code her
;pear" 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
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 ( I
Hey there everyone,
Hope you are all doing good :-)
I have a problem, I have a shopping cart system but I need to add sub-categories, how
- using PHP with MySQL do I get the system to display sub-categories if they are
found? I have category 1 as the main one which displays all products, but
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
28 matches
Mail list logo