Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Adding to Cart Array
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

telmehow
Starting Member

8 Posts

Posted - October 02 2002 :  17:54:42  Show Profile  Reply with Quote
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

osgolf
Starting Member

18 Posts

Posted - October 02 2011 :  02:04:26  Show Profile  Reply with Quote
Has this solution ever been published? I'm looking to do something similar? Thanks..
Go to Top of Page

Steve2507
VP-CART Expert

590 Posts

Posted - October 02 2011 :  10:52:41  Show Profile  Reply with Quote
Get in touch with Simon at BigYellowZone, they have done this for me.


Steve
Sex toys from a UK sex shop including vibrators and dildos.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00