Support Forum › Forums › Mixxcazt – Creative Multipurpose WooCommerce Theme › Wishlist ‘Ad to Cart’
- This topic has 3 replies, 2 voices, and was last updated 3 years, 2 months ago by Billy Nguyen.
-
AuthorPosts
-
August 9, 2021 at 6:13 pm #2296ES-DTSupport Expired
1-‘Add to Cart’ button in wishlist is not working even I can’t customize this page
2- where can I customize the login popupAugust 10, 2021 at 9:39 am #2302Hi 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 }
August 10, 2021 at 3:07 pm #2304ES-DTSupport Expiredwhere can i find this function in which file and flder please?
August 10, 2021 at 4:05 pm #2309Please copy and paste this function to file functions.php ( child-theme)
-
AuthorPosts
You must be logged in to reply to this topic.