telmehow
Starting Member
8 Posts |
Posted - October 02 2002 : 17:54:42
|
It's me again and I have a another problem, here it goes:
I am using 'pother1', 'pother2', and 'pother3' fields in product table and would like these fields to be added to the 'oitems' table (I have creaed three new fields in oitems table phone1, phone2, service). Here is what I have done:
In sho$db added the following:
const cMaxCartAttributes=20 const cPhone1=17 const cPhone2=18 const cService=19
added to Sub ShopAddOrder: rsitem("phone1") = arrcart(cphone1,i) rsitem("phone2") = arrcart(cphone2,i) rsitem("service") = arrcart(cservice,i)
In shopproductfeatures addded to the CartAddItem() sub:
arrcart(cphone1,scartItem) = strPOther2 arrcart(cphone2,scartItem) = strpOther3 arrcart(cservice,scartItem) = strpOther4
But it is not working, the array is not picking up the fields from product table.A simple respnse.write on arrcart shows that these new array items are empty.So what did I miss? please help.
Regards, Sam
|
|