Hi All,
I’ve been having a bit of trouble getting a quantity field to add the quantity to the cart on mals.
I’m not using any of the Shopping actions as the products details are all held on the server in a couple of databases and are downloded to the webpage using a combination of php, MySQL and the php block action to build the table of products on the page. The quantity field is in this block with the Name field set to “myQty” and the Value field to “$myQty”.
The product details, price, return url etc. are added to the cart via the url to the cart, each product has it’s own unique data which is set up in a “Buy” link via php as in this example:
<A HREF='http://ww5.aitsafe.com/cf/add.cfm?userid=00000000&product=$myPartnumber%20$myDescription&qty=$myQty&discountpr=$myDiscprmat&units=$myWeight&return=$return' TITLE='Add to Order - $myPartnumber $myDescription $myQty'> Buy </A>
The page with the test set-up is here:
On Product and Section pages and only these menu sections/items have been set up to work on the pages:
JCS Clips, Hydraulic Adaptors (up to Metric Male > Locknut) Gates Hose, Gates Hydraulic (up to & incl Megacrimp Flat Face).
These pages also test the discount structure that you can see on the page (under List Price & Quantity Disc).
If you input 10 into the qualtity colunm and press the buy button, only 1 will be added to the Shopping Cart.
Try as I might, I can’t seem to get it to work correctly if at all. It probably is something simple, but at the moment my brain doesn’t work in simple mode, (no chance for complex then!).
Any suggestions gratefully received.
Best wishes,
Steve.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options