I have created term and conditions for Amasty one page checkout with custom code in magento2Problem with the...

How should I handle players who ignore the session zero agreement?

Traveling through the asteriod belt?

Citing paywalled articles accessed via illegal web sharing

Could a phylactery of a lich be a mirror or does it have to be a box?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

How long is the D&D Starter Set campaign?

Why would space fleets be aligned?

Can a hotel cancel a confirmed reservation?

Why is working on the same position for more than 15 years not a red flag?

Can I write a book of my D&D game?

Publishing research using outdated methods

How can animals be objects of ethics without being subjects as well?

Why did other German political parties disband so fast when Hitler was appointed chancellor?

One Half of Ten; A Riddle

Are there any modern advantages of a fire piston?

Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?

Can making a creature unable to attack after it has been assigned as an attacker remove it from combat?

Can we use the stored gravitational potential energy of a building to produce power?

How much mayhem could I cause as a sentient fish?

Injecting creativity into a cookbook

How to solve a large system of linear algebra?

Why do stocks necessarily drop during a recession?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

Difference between `vector<int> v;` and `vector<int> v = vector<int>();`



I have created term and conditions for Amasty one page checkout with custom code in magento2


Problem with the one page checkoutAdding custom customer fields to One Page CheckoutCheckout loading image not disappear after load all data and after place order not redirecting to sucess page in magento2Magento 2 Shipping Address Validations doesn't workmagento 1.9 as guest Customer e-mail is required while it is filled inMagento 2 : Terms and Condition validation not working on checkout pageHow to create custom checkbox field for term and conditions in one page checkout page magento2Checkbox validationTerm and Conditions Not working error “Please agree to all the terms and conditions before placing the order” before placing order magento 2.2.2Magento 2 Terms and Conditions













0















I have created term and conditions for checkout page, we are working with amasty one page checkout and add below code but we have problem and it is not working. it if conflict to place order button. like place order button



<span data-bind="i18n: 'Place Order'"></span>


after add below code it is not showing
button text.
and also not able to see I Agree text for term and conditions.










I Agree







after that i have added another custom HTML code for same place but validation not working



<div class="term_agree_div" data-popup-open="popup-1">
<input data-validate="{'required-entry':true}" required id="term_agree" class="term_agree required-entry required" type="checkbox" name="term_condition" value="" style="position:initial;">
</div>
<label class="label radio-inline" data-bind="i18n: 'I agree with the terms and conditions'"> </label>


i have added custom code jquery for validation but it is not working without check check-box when i click on Place order button it is submitted. error message showing but submitted i want to stay checkout form without submitted if checkbox not checked/










share|improve this question





























    0















    I have created term and conditions for checkout page, we are working with amasty one page checkout and add below code but we have problem and it is not working. it if conflict to place order button. like place order button



    <span data-bind="i18n: 'Place Order'"></span>


    after add below code it is not showing
    button text.
    and also not able to see I Agree text for term and conditions.










    I Agree







    after that i have added another custom HTML code for same place but validation not working



    <div class="term_agree_div" data-popup-open="popup-1">
    <input data-validate="{'required-entry':true}" required id="term_agree" class="term_agree required-entry required" type="checkbox" name="term_condition" value="" style="position:initial;">
    </div>
    <label class="label radio-inline" data-bind="i18n: 'I agree with the terms and conditions'"> </label>


    i have added custom code jquery for validation but it is not working without check check-box when i click on Place order button it is submitted. error message showing but submitted i want to stay checkout form without submitted if checkbox not checked/










    share|improve this question



























      0












      0








      0








      I have created term and conditions for checkout page, we are working with amasty one page checkout and add below code but we have problem and it is not working. it if conflict to place order button. like place order button



      <span data-bind="i18n: 'Place Order'"></span>


      after add below code it is not showing
      button text.
      and also not able to see I Agree text for term and conditions.










      I Agree







      after that i have added another custom HTML code for same place but validation not working



      <div class="term_agree_div" data-popup-open="popup-1">
      <input data-validate="{'required-entry':true}" required id="term_agree" class="term_agree required-entry required" type="checkbox" name="term_condition" value="" style="position:initial;">
      </div>
      <label class="label radio-inline" data-bind="i18n: 'I agree with the terms and conditions'"> </label>


      i have added custom code jquery for validation but it is not working without check check-box when i click on Place order button it is submitted. error message showing but submitted i want to stay checkout form without submitted if checkbox not checked/










      share|improve this question
















      I have created term and conditions for checkout page, we are working with amasty one page checkout and add below code but we have problem and it is not working. it if conflict to place order button. like place order button



      <span data-bind="i18n: 'Place Order'"></span>


      after add below code it is not showing
      button text.
      and also not able to see I Agree text for term and conditions.










      I Agree







      after that i have added another custom HTML code for same place but validation not working



      <div class="term_agree_div" data-popup-open="popup-1">
      <input data-validate="{'required-entry':true}" required id="term_agree" class="term_agree required-entry required" type="checkbox" name="term_condition" value="" style="position:initial;">
      </div>
      <label class="label radio-inline" data-bind="i18n: 'I agree with the terms and conditions'"> </label>


      i have added custom code jquery for validation but it is not working without check check-box when i click on Place order button it is submitted. error message showing but submitted i want to stay checkout form without submitted if checkbox not checked/







      magento2 onepage-checkout jquery place-order terms-and-conditions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 24 mins ago









      Muhammad Hasham

      2,0041424




      2,0041424










      asked Apr 24 '18 at 14:26









      user3811650user3811650

      115




      115






















          0






          active

          oldest

          votes











          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f223515%2fi-have-created-term-and-conditions-for-amasty-one-page-checkout-with-custom-code%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f223515%2fi-have-created-term-and-conditions-for-amasty-one-page-checkout-with-custom-code%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...