<?php

namespace Webnestors\Wsn\Snippets;

class CheckoutChangeGRStates extends \Webnestors\Wsn\Snippet {
    public function is_pro() : bool {
        return true;
    }

    public function tab() : string {
        return "checkout";
    }

    public function title() : string {
        return __( "Replace State Field (Greece)", "enhancements-for-woocommerce" );
    }

    public function description() : string {
        return __( "Replaces the 'State' checkout field with Greek municipalities.", "enhancements-for-woocommerce" );
    }

    public function meta() : array {
        return [];
    }

    public function tooltip() : ?string {
        ob_start();
        ?>
        <h1><strong><?php 
        echo esc_html( $this->title() );
        ?></strong></h1>
        <h3>Description</h3>
        <p>The Replace State Field (Greece) module customizes the WooCommerce checkout process for Greek customers by replacing the generic "State" field with a list of Greek municipalities. This feature provides a more localized, user-friendly checkout experience for customers in Greece, allowing them to select their specific municipality instead of manually entering a state or region.</p>
        <p>This module is particularly valuable for stores based in or shipping to Greece, as it enhances accuracy in address details and simplifies the checkout process for customers familiar with local municipalities.</p>
        <h3>Settings</h3>
        <p>There are no settings for this module, just ON-OFF</p>
        <h3>Appearance</h3>
        <p>There are no appearence options for this module</p>
        <?php 
        return ob_get_clean();
    }

    public function run() {
    }

    function wn_custom_woocommerce_states() {
    }

}
