Forum Replies Created
-
AuthorPosts
-
hoodyParticipant
Never Mind – i figured it out :)
hoodyParticipantHey Guys, just wanted to say – it worked.
Thank you!
hoodyParticipantHey. thanks agan for taking your time.
do you mean like that (screenshot)? This only changes my color into some kind of grey.
hoodyParticipantHey thank you for the answer. I´m still not lucky.
can you take a look on my puzzle?
hoodyParticipantI seem to have fixed it! Thank you very much for your kind support!
hoodyParticipantHi Thanks. now the error is gone, but the fuction is not executed.
maybe you could take a look at my code (click event):
eventHTMLElem(‘click’, ‘wc-pao-addon-file-upload input-text wc-pao-addon-field’, true, function(event) {
console.log(“trigger”)
openFile(function() {
replaceTexture(‘vladmaterial’, ‘vlad.jpg’, _pGlob.openedFile, function() {});
});
});hoodyParticipantThank you for your answer! When I try your code , i get an error in my console.
v3d.js:1 TypeError: input.addEventListener is not a function (its reffering to line 8 in your code)
hoodyParticipantIm not sure about that, if it actually exists. Basicly what you suggested first was “triggering” the “open file puzzle” from verge by clicking on an element in the parent document.
But what I need is: triggering an uploader (not the one from verge) that comes from woocommerce and is located in the parent document. Basically its the same file-upload like the one frome verge, but its provided by the woocommerce product itself.
So what i need is a puzzle or a piece of code that can get the image from an “external” (aor any) uploader located in the parent document. Is there a way to detect if any image was uploaded , not only through the open file puzzle?
I attached a screenshot for better understanding and also heres the link: http://brudastan.de/produkt/jajaja
I need to use the file upload from woocommerce, or the image will not be saved wo Cart or checkout page.
I hope you can now better understand what i meant.
Greets
hoodyParticipantyes thanks for your answer. i understand but thats not what im trying to achive.
I need the image to be fetched from the original wp uploader (located in parent document on a Woocommerce Product page) – because the image is also used for the woocommerce checkout after clicking the add to cart button.
If I use your uploader there will be no connection to woocommerce, when clicking add to cart.
do you get what i mean?
hoodyParticipantHey guys! is there a way to get the “wheel” event return wether i scroll up or down?
hoodyParticipantI forgot to say that it worked! Thanks for helping me out!
-
AuthorPosts