• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 12.11.20, 10:28
  • Opened by: ana savin
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19801 - Pop-up terms and condition

On new shop the pop-up with terms and condition on checkout page(last step) still appears from right side when you accept terms.

Comments

Fred 12 Nov 2020, 19:19

But what’s wrong with that? Yes, it should appear

ana savin 13 Nov 2020, 16:08

I don’t like that he appears when you click on the checkbox to accept the terms.

Fred 14 Nov 2020, 12:09

Ok, but what do you offer? Remove it at all?

ana savin 17 Nov 2020, 08:18

It should appear when tou click on text not on checkbox

Fred 17 Nov 2020, 10:33

I don’t think so, but ok.
Open the file

/themes/alysum/templates/mobile/checkout/_partials/steps/payment.tpl

find the trigger at the line 86 https://take.ms/61QAm

on="change:selector-tos.toggle"

and remove it.
I already try to do that but you seems have some cache because nothing was changed

ana savin 19 Nov 2020, 08:51

I have disabled server op_cache and tryed what you said above but that template isn`t loading on AMP. I could remove the pop-out feature by commenting the “on” function in desktop payment template but then the checkbox was disappearing. You can check.

Fred 19 Nov 2020, 12:16

now it works as you like