Creating a calculatorMagento 2 : extensionpool, read handlers and save handlersSetting product price per country while avoiding store view over-duplicationMagento 2 - controller block not displaying templateInline CSS not working in Magento themeMagento 2 - How to create a calculatorTranslate minicart , captcha module and other module Magento2“/pub/media/styles.css” not generated and some category images are not displayedImages of some categories are not displayed and the file “/pub/media/styles.css” that should be generated on the home page is not displayedMagento2:Format priceMagento 2: Allow empty query field in search
What is "I bet" in German?
Invert Some Switches on a Switchboard
What does "see" in "the Holy See" mean?
How do I address my Catering staff subordinate seen eating from a chafing dish before the customers?
3D Statue Park: U shapes
Is it legal for private citizens to "impound" e-scooters?
Expansion with *.txt in the shell doesn't work if no .txt file exists
Is there a reason why I should not use the HaveIBeenPwned API to warn users about exposed passwords?
Why didn't Britain or any other European power colonise Abyssinia/Ethiopia before 1936?
Are there any examples of technologies have been lost over time?
Does the Intel 8086 CPU have user mode and kernel mode?
How to judge a Ph.D. applicant that arrives "out of thin air"
What self-defense weapons are legal in London?
How do I stop my characters falling in love?
How can I prevent corporations from growing their own workforce?
What to do when you reach a conclusion and find out later on that someone else already did?
Integral of the integral using NIntegrate
Commercial jet accompanied by small plane near Seattle
Spin vs orbital angular momenta in QFT
Request for a Latin phrase as motto "God is highest/supreme"
When going by a train from Paris to Düsseldorf (Thalys), can I hop off in Köln and then hop on again?
Trapped in an ocean Temple in Minecraft?
What's the difference between 2a and 10a charging options?
What do I do when a student working in my lab "ghosts" me?
Creating a calculator
Magento 2 : extensionpool, read handlers and save handlersSetting product price per country while avoiding store view over-duplicationMagento 2 - controller block not displaying templateInline CSS not working in Magento themeMagento 2 - How to create a calculatorTranslate minicart , captcha module and other module Magento2“/pub/media/styles.css” not generated and some category images are not displayedImages of some categories are not displayed and the file “/pub/media/styles.css” that should be generated on the home page is not displayedMagento2:Format priceMagento 2: Allow empty query field in search
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I need to re-create a calculator page as per the one on link here, https://www.theramppeople.co.uk/ramp-length-calculator/, this would be to our french shop that is why we can't use the same link as above, I have created the page https://www.rampes-directes.fr/calculatrice-de-longueur, but the results are not being displayed, for the moment this has being only worked out on the admin panel, I have basically used the content from the English "page" and translated to French.
On the result "text" we have this :
<div id="rampCalcResults">
<div class="results" style="display: none;">
<p><strong>Longueur de Rampe Requise:</strong><br /><span id="ResultsInFeet">?</span> feet (<span id="ResultsInMm">?</span> mm)</p>
Anyone know where do I get the results from ?
Many thanks for your help.
magento2
add a comment |
I need to re-create a calculator page as per the one on link here, https://www.theramppeople.co.uk/ramp-length-calculator/, this would be to our french shop that is why we can't use the same link as above, I have created the page https://www.rampes-directes.fr/calculatrice-de-longueur, but the results are not being displayed, for the moment this has being only worked out on the admin panel, I have basically used the content from the English "page" and translated to French.
On the result "text" we have this :
<div id="rampCalcResults">
<div class="results" style="display: none;">
<p><strong>Longueur de Rampe Requise:</strong><br /><span id="ResultsInFeet">?</span> feet (<span id="ResultsInMm">?</span> mm)</p>
Anyone know where do I get the results from ?
Many thanks for your help.
magento2
add a comment |
I need to re-create a calculator page as per the one on link here, https://www.theramppeople.co.uk/ramp-length-calculator/, this would be to our french shop that is why we can't use the same link as above, I have created the page https://www.rampes-directes.fr/calculatrice-de-longueur, but the results are not being displayed, for the moment this has being only worked out on the admin panel, I have basically used the content from the English "page" and translated to French.
On the result "text" we have this :
<div id="rampCalcResults">
<div class="results" style="display: none;">
<p><strong>Longueur de Rampe Requise:</strong><br /><span id="ResultsInFeet">?</span> feet (<span id="ResultsInMm">?</span> mm)</p>
Anyone know where do I get the results from ?
Many thanks for your help.
magento2
I need to re-create a calculator page as per the one on link here, https://www.theramppeople.co.uk/ramp-length-calculator/, this would be to our french shop that is why we can't use the same link as above, I have created the page https://www.rampes-directes.fr/calculatrice-de-longueur, but the results are not being displayed, for the moment this has being only worked out on the admin panel, I have basically used the content from the English "page" and translated to French.
On the result "text" we have this :
<div id="rampCalcResults">
<div class="results" style="display: none;">
<p><strong>Longueur de Rampe Requise:</strong><br /><span id="ResultsInFeet">?</span> feet (<span id="ResultsInMm">?</span> mm)</p>
Anyone know where do I get the results from ?
Many thanks for your help.
magento2
magento2
edited Jul 17 at 11:27
Kirti Nariya
1,7665 silver badges19 bronze badges
1,7665 silver badges19 bronze badges
asked Jul 17 at 11:08
RRodriguesRRodrigues
31 bronze badge
31 bronze badge
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The problem I can see is with your jQuery code is not loaded properly.
You have a working JQuery Code in your English version.
But the same is not available in your fr version. As there is no onclick event handler you wont get the result.
Please check your console. The fr
version is having 3 console errors. Make sure you never ignore console errors even though if it is not related to your issue it may impact you JS execution. So it is always a good practice to keep your code console clean.
Hope it finds helpful.
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282376%2fcreating-a-calculator%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem I can see is with your jQuery code is not loaded properly.
You have a working JQuery Code in your English version.
But the same is not available in your fr version. As there is no onclick event handler you wont get the result.
Please check your console. The fr
version is having 3 console errors. Make sure you never ignore console errors even though if it is not related to your issue it may impact you JS execution. So it is always a good practice to keep your code console clean.
Hope it finds helpful.
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
add a comment |
The problem I can see is with your jQuery code is not loaded properly.
You have a working JQuery Code in your English version.
But the same is not available in your fr version. As there is no onclick event handler you wont get the result.
Please check your console. The fr
version is having 3 console errors. Make sure you never ignore console errors even though if it is not related to your issue it may impact you JS execution. So it is always a good practice to keep your code console clean.
Hope it finds helpful.
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
add a comment |
The problem I can see is with your jQuery code is not loaded properly.
You have a working JQuery Code in your English version.
But the same is not available in your fr version. As there is no onclick event handler you wont get the result.
Please check your console. The fr
version is having 3 console errors. Make sure you never ignore console errors even though if it is not related to your issue it may impact you JS execution. So it is always a good practice to keep your code console clean.
Hope it finds helpful.
The problem I can see is with your jQuery code is not loaded properly.
You have a working JQuery Code in your English version.
But the same is not available in your fr version. As there is no onclick event handler you wont get the result.
Please check your console. The fr
version is having 3 console errors. Make sure you never ignore console errors even though if it is not related to your issue it may impact you JS execution. So it is always a good practice to keep your code console clean.
Hope it finds helpful.
answered Jul 17 at 11:25
Abdul PathanAbdul Pathan
8092 silver badges11 bronze badges
8092 silver badges11 bronze badges
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
add a comment |
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Abdul Pathan many thanks for your help, this was very helpfull :)
– RRodrigues
Jul 18 at 12:32
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
Most Welcome, if it helped please upvote & approve the answer so that this will be helpful for others as well.
– Abdul Pathan
Jul 18 at 13:05
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282376%2fcreating-a-calculator%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown