cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Custom Options of Product using JavaScript

Passing Custom Options of Product using JavaScript

 In my site previously there was a drop down list to select product custom options , now I implement a jQuery ui slider to select product options in a product page. But I am getting error "Please specify the product required option(s)." while I am clicking on Add to Cart button. I think custom options are not passing through request.

 

How is it possible for me to send custom options along with Add to Cart request using jQuery/javascript ??

 

Here is a image of slider

 

 

Thanks

2 REPLIES

Re: Passing Custom Options of Product using JavaScript

Dear @foysal,

The problem caused by you only add jQuery UI but you have not add value via form field. You need to catch event change of jQuery UI and set value for form field to resolve this bug.

 

Hope you success!

 

www.advancedcheckout.com - www.stableaddon.com
One Step checkout extension - Social Login extension - Gift Card extension

Re: Passing Custom Options of Product using JavaScript

Thanks for your reply. I solved the issue. Thanks