John
|
| Posted: 05/08/2003, 7:41 AM |
|
Is there a easy example of a shoppingbasket or a shop project. Not like the bookstore. A shop where you don't have to login and a shoppingbasket where you can delete the products or recalculate the quantity on one page, the shopbasket page.
|
|
|
 |
rrodgers
|
| Posted: 05/08/2003, 9:01 AM |
|
http://www.sylvancomputing.com/ccs/shoppingcart/Default.asp
It uses MSSQL and ASP.
rob
|
|
|
 |
John
|
| Posted: 05/08/2003, 11:45 PM |
|
Hi Rob, Thank you for your files. It looks great. But one thing, the codecharge file is empty. Can I have the Codecharge file of that project? Thanks a lot! John
|
|
|
 |
Steven
|
| Posted: 05/09/2003, 1:04 AM |
|
you have tried to open the project with Codecharge, and thats a Codecharge Studio Project file
it will look empty when opened in CodeCharge, but will work ok when opened with Codecharge Studio
|
|
|
 |
John
|
| Posted: 05/09/2003, 1:11 AM |
|
I use Codecharge 2 with PHP MySQL. Is there someone with an other easy example?
Like that other example but than in Codecharge 2 not studio. I don't know how to put the products in the shoppingbasket by clicking at a buy button. And I don't know how to update the shoppingbasket (quantity) because it is a grid not a record.
Thanks again!
John
|
|
|
 |
Steven
|
| Posted: 05/09/2003, 1:49 AM |
|
try here
http://www.codecharge.com/download/?templ=examples&example_id=1
this is one of the original codecharge 1.0 example projects, i don't think this version downloadable here went into the final installed examples
maybe this is a good base for what your doing.
|
|
|
 |
John
|
| Posted: 05/09/2003, 2:17 AM |
|
Thanks, but I know how to work with the bookstore shoppingbasket. The problem is that the shoppingbasket doesn't work how I want.
Right now my shop looks like this example: http://www.codecharge.com/examples/StoreImpr/Items.php?category_id=1&
The problem is, you have to take 3 steps to put the product in the shoppingbasket.
1 select the product
2 click at the order link
3 Give the quantity and then the product is in the basket.
I want to do this in one step but I don't know how. It should be like Rob did it: http://www.sylvancomputing.com/ccs/shoppingcart/Default.asp
I don't think I'm the only one with this problem.
Kind regards
John
|
|
|
 |
Steven
|
| Posted: 05/09/2003, 2:34 AM |
|
just make a Buy Now link on the first page
add an empty form item, call it buynow
set its properties to html , and uts default data to the words 'Buy Now'
then in form properties , befor show event, set the event for the $fldbuynow
$fldbuynow = "<a href=\"order.php?item_id=$flditem_id\"></a>";
you will need to change the order.php to whatever your stage 3 pageame is
this should add single items as per the sylvan comp ccs example
|
|
|
 |
John
|
| Posted: 05/09/2003, 9:01 AM |
|
It doesn't work. Look at:
www.profiltra.nl/shoptest/Default.php
|
|
|
 |