• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 14.06.18, 16:00
  • Opened by: Joanna Yefet
  • Closed by: Marek
  • Closed on: 13.07.18, 20:39
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12397 - check box on checkout page

Dear Marek

The checkbox on the checkout page is really hard to clic. I need to try few times, move my mouse to succeed.
Can you please check it?

Thank you for your help

Joanna

Comments

Marek 15 Jun 2018, 19:03

Hi, Joanna.
I have disabled all possible cache in your back office, but I suppose there is something more enabled, because I don’t see any changes after my modifications.
The fix is following:
Open the file /www/themes/alysum/templates/_partials/form-fields.tpl
find the piece of code

{block name='form_field_item_checkbox'}
<span class="custom-checkbox">
  <input name="{$field.name}" type="checkbox" value="1" {if $field.value}checked="checked"{/if} {if $field.required}required{/if}>
  <span><svg class="svgic svgic-done"><use xlink:href="#si-done"></use></svg></span>
  <label>{$field.label nofilter}</label >
</span>
{/block}

and replace it with

{block name='form_field_item_checkbox'}
<span class="custom-checkbox">
  <input name="{$field.name}" id="{$field.name}" type="checkbox" value="1" {if $field.value}checked="checked"{/if} {if $field.required}required{/if}>
  <span><svg class="svgic svgic-done"><use xlink:href="#si-done"></use></svg></span>
  <label for="{$field.name}">{$field.label nofilter}</label >
</span>
{/block}