Configurable List: populate Drop Down with data imported from Woocommerce

  • Profile Image
    kenny222
    Asked on October 15, 2015 at 02:17 AM

    On my page,

    http://shop.youknowitsgoodwhen.com.au/special-and-bulk-order-request/

    I have an order form that I created on JotForm integrated. On the Second Page (Order Details), I have a 'Configurable List' Widget. Is there any way to import Woocommerce Data or Spreadsheet Data from my website/server, so that the dropdown shows a list of products taht we have? What I have there now has been entered manually, instead of automatic.

     

    Regards

  • Profile Image
    Boris
    Answered on October 15, 2015 at 05:50 AM

    I'm afraid that this isn't possible at the moment, at least not without hiring a developer.

    If you have a web developer with PHP experience at your disposal, you could use the source code version of your form on your website, and then ask your developer to custom code the settings for the Configurable List widget from your Woocomerce data.

    If you have such a developer, the following data will be useful to them:

    The data from which Configurable List widget is populated is just under its iFrame, in an element with the class .form-hidden.form-widget-settings. This element holds all the settings of the widget in URI encoded manner - encodeURIComponent() which can be replicated in PHP as described here.

    Your developer would have to replace the widget's settings in the source code version of your form automatically, with PHP, in order to have the widget updated automatically from your Woocomerce database.

    There is unfortunately no other way to achieve this. I hope this helps, please let us know if we can be of further assistance. We'll do our best to help.