Support » Plugin: Woo File Dropzone » Image names

  • Resolved andmedia


    I’d like to replace the product image in the cart with the (first) uploaded image from the form.
    It should be pretty simple using the session id to fetch the serialized file_urls from the database, unserialize it and replace the product image with the first uploaded image.
    But where do I get the session id? Is it stored in a public PHP variable or can I call a function for it?

Viewing 1 replies (of 1 total)
  • Plugin Author Murtaza Bhurgri


    It is standard WooCommerce Session, not PHP Session.
    If you look at file:


    You can easily get session id with above standard woocommerce session get function.

Viewing 1 replies (of 1 total)
  • The topic ‘Image names’ is closed to new replies.