0

I need dynamic Associated product sku change in product detail page on change of product super attributes dropdown or swatches.

Plugins available are not free it seems. can anyone help?

  • Hi. I think there are hidden field named "selected_configurable_option" on detail page where on click options simple product id updated. I think you can use it. – Raj Dec 11 '18 at 9:28
  • @Raj , Thanks for answering. I am not able to get event for that change as its hidden input. – Pallavi Dec 11 '18 at 11:25
  • Have u find hidden field or not? – Raj Dec 11 '18 at 11:42
  • Yes, it is there with required information. But I need some event so that I can get it whenever it is changing – Pallavi Dec 11 '18 at 11:49
  • In which file you want to use that value? – Raj Dec 11 '18 at 11:51
0

I think there are hidden field named "selected_configurable_option" on detail page where on click options simple product id updated. I think you can use jquery onchange event for get that hidden field value and use it on your file. Thanks.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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