Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2296
    AvatarES-DT
    Supported

    1-‘Add to Cart’ button in wishlist is not working even I can’t customize this page
    2- where can I customize the login popup

    #2302

    Hi you,

    #1. Add to cart button in wishlist: I checked this issue and it still works: https://prnt.sc/1m0qjbn

    Wishlist page uses the shortcode [woosw_list], so that you can’t customize this page.

    #2. Popup Login form: we don’t support popup login form, we just support dropdown logon form: https://prnt.sc/1m0tllh

    To edit this form, you need to override this function:

    function mixxcazt_form_login() {
    
            if (mixxcazt_is_woocommerce_activated()) {
                $account_link = get_permalink(get_option('woocommerce_myaccount_page_id'));
            } else {
                $account_link = wp_registration_url();
            }
            ?>
            <div class="login-form-head">
                <span class="login-form-title"><?php esc_attr_e('Sign in', 'mixxcazt') ?></span>
                <span class="pull-right">
                    <a class="register-link" href="<?php echo esc_url($account_link); ?>"
                       title="<?php esc_attr_e('Register', 'mixxcazt'); ?>"><?php esc_attr_e('Create an Account', 'mixxcazt'); ?></a>
                </span>
            </div>
            <form class="mixxcazt-login-form-ajax" data-toggle="validator">
                <p>
                    <label><?php esc_attr_e('Username or email', 'mixxcazt'); ?> <span class="required">*</span></label>
                    <input name="username" type="text" required placeholder="<?php esc_attr_e('Username', 'mixxcazt') ?>">
                </p>
                <p>
                    <label><?php esc_attr_e('Password', 'mixxcazt'); ?> <span class="required">*</span></label>
                    <input name="password" type="password" required
                           placeholder="<?php esc_attr_e('Password', 'mixxcazt') ?>">
                </p>
                <button type="submit" data-button-action
                        class="btn btn-primary btn-block w-100 mt-1"><?php esc_html_e('Login', 'mixxcazt') ?></button>
                <input type="hidden" name="action" value="mixxcazt_login">
                <?php wp_nonce_field('ajax-mixxcazt-login-nonce', 'security-login'); ?>
            </form>
            <div class="login-form-bottom">
                <a href="<?php echo wp_lostpassword_url(get_permalink()); ?>" class="lostpass-link"
                   title="<?php esc_attr_e('Lost your password?', 'mixxcazt'); ?>"><?php esc_attr_e('Lost your password?', 'mixxcazt'); ?></a>
            </div>
            <?php
        }
    #2304
    AvatarES-DT
    Supported

    where can i find this function in which file and flder please?

    #2309

    Please copy and paste this function to file functions.php ( child-theme)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.