Forum Replies Created
-
AuthorPosts
-
JanArveMember
Thanks for getting back to me.
Yeah the problem was indeed the uppercase S. local mysql lowercased the table names.
Thank you.
December 4, 2016 at 5:43 am in reply to: eStore – Product image does not get inserted to Thumbnail Image URL #74673JanArveMemberI’m having the same problem too.
The problem seems to be in lib/eStore-uploader-scripts.js with:
Code:var selected_img_src = img_element.attr(‘src’);resulting in selected_img_src being undefined.
My solution was to add:
Code:var my_img_element = jQuery.parseHTML(html);
selected_img_src = my_img_element[0][‘src’];Below:
Code:var selected_img_src = img_element.attr(‘src’);And it is working again for me.
Disclaimer: I haven’t tested this with any other function at all or in a live environment (only on my local installation) so I have no idea if there are any conflicts with other functionality using the same piece of code. AND it is almost without exception a bad idea to make changes in core files as updates to the plugin is likely to break these changes.
JanArveMemberPerfect!
Thank you very much.
Jan
JanArveMemberLooks like exactly what I need! Thanks a bunch.
Do you also have a hook for when a sale is completed by a customer ( where the inventory is updated )?
Thanks again,
Jan
-
AuthorPosts