-- HikaShop version --HikaShop Starter: 2.2.3
-- Joomla version -- : 3.1
-- PHP version -- : 5.3
Hi,
I interested in developing a feature which will save Hikashop checkout address form data to a
Sobipro
entry. (by saving it to the DB table)
how do you suggest i do this ?
by developing an extension ? if so where can i start ? any references for this kind of a extension ?
this is the quick and dirty way i thought of achieving this although it might be too much of a hack:
1. create a hikashopSobiClass (duplicating the address class) which extends hikashopClass and put it in the classes folder, use the save() function in it.
2. call the save function from within the address controller save() function like so: $sobiClass->save($addressData);
and save the form data to sobipro DB table.
if i do go down this line, i have a question:
inside the "classes/address.php" hikashopExpertClass class,in the save() function, there is this line:
parent::save($oldData);
(around line 145)
what class is the "parent" referring to ? im assuming its "hikashopClass". if so, where can it be found ?
Thank you