[BUG] – function checkMethod() in etheme.js

This topic has 4 replies, 2 voices, and was last updated 10 years ago ago by Eva Kemp

  • Avatar: vasikgreif
    vasikgreif
    Participant
    November 28, 2014 at 23:00

    There’s a problem with checkMethod() function in etheme.js – it breaks the woocommerce_create_account_default_checked filter, making it impossible to have the “Create new account” checked by default.

    Can you fix that?
    Thanks
    V.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    November 29, 2014 at 11:45

    Hello,

    Please provide us with wp-admin panel and FTP credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: vasikgreif
    vasikgreif
    Participant
    November 29, 2014 at 11:58

    Hi Eva,
    this is not installation-specific bug.

    Please, just forward this to your developers and tell them to try to add
    add_filter( 'woocommerce_create_account_default_checked', function() { return true; } );

    to the theme – they’ll see it doesn’t work, because of the checkMethod()
    function… The first issue is they should check first if step by step checkout is active, if so, check for the filter, if there’s no filter, use whatever logic they need…

    Avatar: Eva
    Eva Kemp
    Support staff
    December 1, 2014 at 09:47

    Hello,

    Thank you for your attentiveness.
    We’ve taken this into our account and will fix it in the next update.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘[BUG] – function checkMethod() in etheme.js’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.