I would like to get products which are 0 euros presentad on the [_cart_summary_], but they are left out.
Is there a workaround? http://quantumallergy.coffeecup.com/for … fform-new/
Is there a workaround? http://quantumallergy.coffeecup.com/for … fform-new/
Use JQuery to fill another field and use that one for display.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
This is what I have now, I only miss getting the value of _cart_total_. It works in a seperate file
when changing the number by hand. In the Confirm Page it now returns always "xxx", so
it even doesn't go to the "else".
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
var jQ = $.noConflict(true);
jQ(document).ready(function(){
var valone = jQ('input[name=_cart_total_]').val();
var valone = jQ([name=_cart_total_]).val();
/* var valone = "0000";*/
valone = valone.substr(3,10);
if (valone=="0"){
jQ("#pay").text("option 1");
jQ("#pay").show(); /* this will be hide, when it works */
}
else {
jQ("#pay").text("option 2");
jQ("#pay").show();
}
});
</script>
<p id=pay>xx</p>
when changing the number by hand. In the Confirm Page it now returns always "xxx", so
it even doesn't go to the "else".
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
var jQ = $.noConflict(true);
jQ(document).ready(function(){
var valone = jQ('input[name=_cart_total_]').val();
var valone = jQ([name=_cart_total_]).val();
/* var valone = "0000";*/
valone = valone.substr(3,10);
if (valone=="0"){
jQ("#pay").text("option 1");
jQ("#pay").show(); /* this will be hide, when it works */
}
else {
jQ("#pay").text("option 2");
jQ("#pay").show();
}
});
</script>
<p id=pay>xx</p>
This
should be
<p id=pay>xx</p>
should be
<p id="pay">xx</p>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I changed <p id=pay>xx</p> to <p id="pay">xxx</p>
It still seems to skip the script, because it outputs xxx instead of 1 of the two options.
I can't manage to get the _cart_total_, I tried several options, next two seemed the most reasonable.
I changed
var valone = jQ('input[name=_cart_total_]').val();
var valone = jQ([name=_cart_total_]).val();
to both of these options, but no difference, when place in the confirm page, still xxx
var valone = jQ('input[name="_cart_total_"]').val();
var valone = jQ('input[name=_cart_total_]').val();
It still seems to skip the script, because it outputs xxx instead of 1 of the two options.
I can't manage to get the _cart_total_, I tried several options, next two seemed the most reasonable.
I changed
var valone = jQ('input[name=_cart_total_]').val();
var valone = jQ([name=_cart_total_]).val();
to both of these options, but no difference, when place in the confirm page, still xxx
var valone = jQ('input[name="_cart_total_"]').val();
var valone = jQ('input[name=_cart_total_]').val();
Can you share a link to your actual form so I can see what were working with?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I do not have a keyup.function, so maybe a trigger is missing.
I just placed this code in the Configure Payment Page and that functions as aspected.
In the Confirm Page it still gives the xxx instead of the script code. The Confirm Page is where I would like the code.
In the Confirm Page it still gives the xxx instead of the script code. The Confirm Page is where I would like the code.
I placed the same code in the Confirm Email page. In the preview it seems the jQuery is evaluated, but running the form the final email contains xxx, so it's not evaluated. So the only place is before the final submit, after the submit it's not evaluated. So something wrong or should I add something.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.