Support Forum › Forums › Mixxcazt – Creative Multipurpose WooCommerce Theme › Wishlist ‘Ad to Cart’ › Reply To: Wishlist ‘Ad to Cart’
August 10, 2021 at 9:39 am
#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
}