I have a product list like this: https://prnt.sc/rk1svv

my checkbox value is product id, how to click button request more info and add product id in checkbox to cookie.

Any help? Thank in advance.

1 Answer 1


You can store the cookie in js file using below method,

    ], function ($) {
       $.cookie('cookie_name', 'value', { path: '/' });//Set the cookies

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.