Problems using WooCommerce & Qstomizer
This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
You should never change the database structure,, if you just wanna display the short description in place of description there are hooks and filters you can use alternatively you can override the plugin file that displays the single products by creating a woocommerce directory and add tha file in the same hierarchy as in the … Read more
Add second price option based on payment method at cart item price
How can i hide a specific class when cart subtotal is above a certain amount
Not showing correct number of product after using sort [closed]
Just put some conditionals where you render your button. You’ll also need to figure out which page you’re on. if($is_single_product_page) { if( ! is_user_logged_in()) { ?> <div class=”message”>Please log in first</div> <?php } else { // end is_user_logged_in/false ?> <button class=”btn”>add to cart</button> <?php } // end is_user_logged_in/true }
Use the below action in your functions.php in Current theme for duplicate Product title in Short description field. <?php add_action( ‘publish_product’, function ( $post_id ) { global $wpdb; $wpdb->update( ‘wp_posts’, array( ‘post_excerpt’ => get_the_title( $post_id ), ), array( ‘ID’ => $post_id ) ); }, 10, 2 );
error 500 in Back Office when using a woocommerce function in functions.php
Customer email notification upon order update in woocommerce
How do I use a combination of switch_to_blog() and wc_create_order()?