PHP PART:
Need help with completing a page in php/smarty. I have all the database queries just need you to build the correct arrays and fix the javascript. You must use SMARTY PHP only. Should be easy for the php professionals.
Here is the page:
[login to view URL]
This page is mostly static right now. I need it to be dynamically using the database. I need the script to display all sizes, and colors dynamically and then display each item for each size, and color as well as the price. I also need a final box for each color that gives the customer the choice of Snap Colors, and allows them to choose keepers or not and what color keepers.
For some reason my javascript is breaking when the number
of boxes is above 200. This should be an easy fix for someone
who knows javascript better than me.
NOTE: I do not have access to phpMyAdmin. But as I said you can use my existing queries/functions to get most information you will need. You could also always use any graphic gui mysql tool such as Navicat.
ASP PART:
This project involves reading the form data using a foreach
array/loop I suppose. The form data comes from the PHP part
of this project of course.
The asp page will just need to loop through all the items
whos quantity is greater than 0 and add them to the cart using
the Call [login to view URL] code below.
example:
%foreach formqty
Call [login to view URL](sConnectionString,sCartId,sIc,iQty,sTp,sEqCode,0,"")
end
The only variables you need to be concerned with are sIc (This is the ITEM NUMBER), and iQty (This is the quantity chosen).