Advanced Product Fields for WooCommerce
.wapf-field-input { width: 50%;}
.wapf-field-input { width: 50%;}
<?php if (is_user_logged_in()): ?> <section> <?php echo do_shortcode('[block id="purchased_tablet_products"]'); ?> </section> <?php endif; ?> add_shortcode( 'display_misha_purchased_products', 'misha_populate_products_page' ); add_action( 'woocommerce_account_purchased-products_endpoint', 'misha_populate_products_page' ); function misha_populate_products_page() { global $wpdb; $purchased_products_ids = $wpdb->get_col(…
/** * Change the WordPress password hint text. Note: This won't change any password checking functionality. * Add this code to your child theme functions.php or via a custom plugin.…
How to use Copy and paste the above snippet directly to your child theme’s functions.php. That’s all. Now lets see the front end part. Your single URL for adding multiple…
/* Add field to my account detail */ // Add field - my account function action_woocommerce_edit_account_form() { woocommerce_form_field( 'date_of_birth', array( 'type' => 'date', 'label' => __( 'My Birth Date', 'woocommerce'…