Jump to content

Passing External Data from Iframe to Cart


Recommended Posts

Is it possible to have IFRAME which collects certain data pass that data to specific PRODUCT CUSTOMIZATION fields?

I have a product that uses a IFRAME (supplied by that manufacturer) which allows the selection of specific data that can be passed to a shopping cart using variables.

Is this even possible and where should I begin to look??

Example: The IFRAME window collects data which I am able to give it a field name such as textfield0 which repesents the name of the cusomization field I created within the prestashop system. I now would want the IFRAME upon closing to send using either GET or POST (which it can already do) and then fill in the specific customization fileds with the new data.

Link to comment
Share on other sites

Hrm, its possible. The problem though is if you put in some php to listen for that submission by the iframe the user would need to save it in the custom field again.

You would need to write a little custom php code that would listen for that post and then assign it to a custom field pre-created.

Link to comment
Share on other sites

  • 1 year later...
Is it possible to have IFRAME which collects certain data pass that data to specific PRODUCT CUSTOMIZATION fields?

I have a product that uses a IFRAME (supplied by that manufacturer) which allows the selection of specific data that can be passed to a shopping cart using variables.

Is this even possible and where should I begin to look??

Example: The IFRAME window collects data which I am able to give it a field name such as textfield0 which repesents the name of the cusomization field I created within the prestashop system. I now would want the IFRAME upon closing to send using either GET or POST (which it can already do) and then fill in the specific customization fileds with the new data.


Did you make it work?

I have the same requirement.
Link to comment
Share on other sites

×
×
  • Create New...