HomePage › Forums › Themes Support › Matico – Multi Vendor Marketplace WordPress Theme › Login/ Registration Page
- This topic has 6 replies, 2 voices, and was last updated 1 year, 10 months ago by Billy Nguyen.
-
AuthorPosts
-
December 27, 2022 at 9:17 pm #30448shamsudinyusufiSupport Expired
Hi,
How can I edit my Registration & Login page?
ThanksDecember 28, 2022 at 9:35 am #30460Hi,
I see you have customized this page with the Download plugin
Login/Signup Popup ( Inline Form + Woocommerce ): https://prnt.sc/n_7ARC2F2H-ZPlease recheck and let me know if you need to help.
December 29, 2022 at 2:39 am #30485shamsudinyusufiSupport ExpiredThank 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.
December 29, 2022 at 9:36 am #30495Hi,
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' ); ?> <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' ); ?> <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' ); ?> <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' ); ?>
January 3, 2023 at 7:08 am #30554shamsudinyusufiSupport ExpiredThank 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 00100% Secure
PaymentExpert Customer
ServicePayment
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.
January 3, 2023 at 7:09 am #30555shamsudinyusufiSupport ExpiredIt remove from Customization but the box will appear on the side so how remove this and have a good single product page view.
January 3, 2023 at 9:59 am #30567Hi,
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); }
-
AuthorPosts
You must be logged in to reply to this topic.