Forum Replies Created
-
AuthorPosts
-
hoody
ParticipantNever Mind – i figured it out :)
hoody
ParticipantHey Guys, just wanted to say – it worked.
Thank you!
hoody
ParticipantHey. thanks agan for taking your time.
do you mean like that (screenshot)? This only changes my color into some kind of grey.
hoody
ParticipantHey thank you for the answer. I´m still not lucky.
can you take a look on my puzzle?
hoody
ParticipantI seem to have fixed it! Thank you very much for your kind support!
hoody
ParticipantHi 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() {});
});
});hoody
ParticipantThank 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)
hoody
ParticipantIm 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
hoody
Participantyes 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?
hoody
ParticipantHey guys! is there a way to get the “wheel” event return wether i scroll up or down?
hoody
ParticipantI forgot to say that it worked! Thanks for helping me out!
-
AuthorPosts