Your account expired support, please renew to get your support.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #30448
    shamsudinyusufi
    Support Expired

    Hi,

    How can I edit my Registration & Login page?
    Thanks

    #30460

    Hi,

    I see you have customized this page with the Download plugin
    Login/Signup Popup ( Inline Form + Woocommerce ): https://prnt.sc/n_7ARC2F2H-Z

    Please recheck and let me know if you need to help.

    #30485
    shamsudinyusufi
    Support Expired

    Thank you for your response.

    I made to auto login and sign up when I Can’t edit the page, so now it is in previous templets.

    Help me that how I can edit the page.

    You can check my website, my account page.
    I want to remove the login details. I want only registration part in the page. .

    Thanks.

    #30495

    Hi,

    Please create file form-login.php in your child-theme:
    matico-child/woocommerce/myaccount/form-login.php and paste this code to this file.

    <?php
    /**
     * Login Form
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-login.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you
     * (the theme developer) will need to copy the new files to your theme to
     * maintain compatibility. We try to do this as little as possible, but it does
     * happen. When this occurs the version of the template file will be bumped and
     * the readme will list any important changes.
     *
     * @see     https://docs.woocommerce.com/document/template-structure/
     * @package WooCommerce/Templates
     * @version 4.1.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    
    do_action( 'woocommerce_before_customer_login_form' ); ?>
    
    <?php if ( 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ) : ?>
    
        <div class="u-columns col2-set" id="customer_login">
    
            <div class="u-column2 col-2">
    
                <form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> >
    
        			<?php do_action( 'woocommerce_register_form_start' ); ?>
                    <h2 class="register-from-title"><?php esc_html_e( 'Register', 'matico' ); ?></h2>
    
        			<?php if ( 'no' === get_option( 'woocommerce_registration_generate_username' ) ) : ?>
    
                        <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
                            <label for="reg_username"><?php esc_html_e( 'Username', 'matico' ); ?>
                                &nbsp;<span class="required">*</span></label>
                            <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="reg_username" autocomplete="username" value="<?php echo ( ! empty( $_POST['username'] ) ) ? esc_attr( wp_unslash( $_POST['username'] ) ) : ''; ?>" placeholder="<?php esc_html_e( 'Enter your username...', 'matico' ); ?>"/><?php // @codingStandardsIgnoreLine ?>
                        </p>
    
        			<?php endif; ?>
    
                    <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
                        <label for="reg_email"><?php esc_html_e( 'Email address', 'matico' ); ?>
                            &nbsp;<span class="required">*</span></label>
                        <input type="email" class="woocommerce-Input woocommerce-Input--text input-text" name="email" id="reg_email" autocomplete="email" value="<?php echo ( ! empty( $_POST['email'] ) ) ? esc_attr( wp_unslash( $_POST['email'] ) ) : ''; ?>" placeholder="<?php esc_html_e( 'Enter your email...', 'matico' ); ?>"/><?php // @codingStandardsIgnoreLine ?>
                    </p>
    
        			<?php if ( 'no' === get_option( 'woocommerce_registration_generate_password' ) ) : ?>
    
                        <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
                            <label for="reg_password"><?php esc_html_e( 'Password', 'matico' ); ?>
                                &nbsp;<span class="required">*</span></label>
                            <input type="password" class="woocommerce-Input woocommerce-Input--text input-text" name="password" id="reg_password" autocomplete="new-password" placeholder="<?php esc_html_e( 'Enter your password...', 'matico' ); ?>"/>
                        </p>
    
        			<?php else : ?>
    
                        <p><?php esc_html_e( 'A password will be sent to your email address.', 'matico' ); ?></p>
    
        			<?php endif; ?>
    
        			<?php do_action( 'woocommerce_register_form' ); ?>
    
                    <p class="woocommerce-FormRow form-row">
        				<?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?>
                        <button type="submit" class="woocommerce-Button woocommerce-button button woocommerce-form-register__submit" name="register" value="<?php esc_attr_e( 'Register', 'matico' ); ?>"><?php esc_html_e( 'Register', 'matico' ); ?></button>
                    </p>
    
        			<?php do_action( 'woocommerce_register_form_end' ); ?>
    
                </form>
    
            </div>
    
        </div>
    <?php endif; ?>
    
    <?php do_action( 'woocommerce_after_customer_login_form' ); ?>
    
    #30554
    shamsudinyusufi
    Support Expired

    Thank you for your Code but I cant paste it because I dont know how to paste but No problem I am using the login and sign up plugin instead.

    My big problem which I face more than 3 days that in my single product page there is layout

    Free Delivery
    Orders Over 00

    100% Secure
    Payment

    Expert Customer
    Service

    Payment

    I want to remove but I can’t. I tried a lot but I cant make it, Please help me and response me as soon as possible.

    #30555
    shamsudinyusufi
    Support Expired

    It remove from Customization but the box will appear on the side so how remove this and have a good single product page view.

    #30567

    Hi,

    Please add this custom code to the file functions.php:

    
    add_action('init', 'matico_fnc_custom_code', 999);
    function matico_fnc_custom_code(){
    remove_action('woocommerce_single_product_summary', 'matico_woocommerce_single_product_summary_right_start', 62);
        remove_action('woocommerce_single_product_summary', 'matico_single_product_extra', 70);
        remove_action('woocommerce_single_product_summary', 'matico_woocommerce_single_product_summary_right_end', 90);
    }
    
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.