Jump to content

Onepage checkout process with custom value save fileds


Nishith Nesdiya

Recommended Posts

Hi...

i have create a one fields with using hook displayBeforeCarrier in my custom table

now i need to save this fields in my custom table. i have use this hook in my custom module and store my fields in cookie like as

 public function hookActionCarrierProcess($params)
    {
        $myvalue = Tools::getValue('myvalue');
        $this->context->cookie->myvalue = $myvalue;
    }

When order successfully place then i use "this->context->cookie->myvalue" value and save its my custom table with order id.
 

its working fine when five step checkout process in prestashop but its not working Onepage checkout process.

How can i solve this problem any one Help ?

Thanks

Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...