Okay
  Public Ticket #1948526
Woocommerce Checkout not Showing Any Country
Closed

Comments

  • Wafe Teknologi started the conversation

    Can't Checkout, Country is Missing

  •  2,634
    Kevin replied

    Hi Wafe Teknologi !

    I helped you display it, you can review it

    thank you

  • Wafe Teknologi replied

    I've my production website on http://seni.id/

    can you tell me what must i do?

  • Wafe Teknologi replied

    What file i must change the script?

  • Wafe Teknologi replied

    Or you can access to my production website http:seni.id uname & password are same

  • Wafe Teknologi replied

    All free themes i attach here (2019, woostyfy theme, shopstore theme) are showing countries. The countries is missing just in Dove theme. Please tell me how to correct this.

  • Wafe Teknologi replied

    Seems there are code that hide country and state (for some countries).
    When i refresh checkout page, there are some glitch, that showing all selection, but less than 1 second, it hidden again.

  •  2,634
    Kevin replied

    Hi Wafe Teknologi

    I helped you display it, you can review

    thank you

  • Wafe Teknologi replied

    can you tell me step by step solving problem for a new website?

  •  2,634
    Kevin replied

    Add this code to function.php (Appearance-> Editor-> function.php) if the error occurs the next time


    add_action ('wp_enqueue_scripts', 'wsis_dequeue_stylesandscripts_select2', 100);
     
    function wsis_dequeue_stylesandscripts_select2() {
        if (class_exists('woocommerce')) {
            wp_dequeue_style('selectWoo');
            wp_deregister_style('selectWoo');
     
            wp_dequeue_script('selectWoo');
            wp_deregister_script('selectWoo');
        }
    }

    thank you

  • Wafe Teknologi replied

    Great! Thanks Kevin

  •  2,634
    Kevin replied

    Hi ,

    You're welcome!

    Please let me know if we can be of further assistance.

    If you're happy with the theme and support you received we would really appreciate it if you could leave us a good review and positive comment over on themeforest.

    It only takes a moment and really helps us to keep doing what we do best :)

    Just go to http://themeforest.net/downloads and click "Rate this item" under your theme.

    Many thanks in advanced!

  • Wafe Teknologi replied

    Dear Kevin, in new rule you have edit in functions.php, i can't apply any coupons

    Also, in checkout, i can't use my shipping plugin to Indonesia
    (it shows : TypeError: $(...).html(...).show(...).append(...).select2 is not a function)

    Below are screenshots

  •  2,634
    Kevin replied

    I helped you delete the function that I added, please check the site again

    thank you