Product thumbnail size in catalog

Set the product thumbnail size and enforce whichever form of cropping gives you the consistency you’re looking for. This will let you set whatever width you prefer: <?php function wpse_307110_override_thumbnail_sizes() { $theme_support = get_theme_support( ‘woocommerce’ ); $theme_support = is_array( $theme_support ) ? $theme_support[0] : array(); // change 150 to whatever width you need $theme_support[‘thumbnail_image_width’] = … Read more

Show “email already used message” first

It’s not clear what you’re asking for here, but I read your question as ‘How can I can I require registration/login before checkout?’ This is actually a simple setting in the WooCommerce administration area. Simply go to WooCommerce => Settings, select the ‘Accounts & Privacy’ tab and uncheck the ‘Allow customer to place orders without … Read more

Tags pages for different Custom Post Types and WooCommerce Products sharing Post Tags

I found out ! I just had to declare the paged rewrite rule before the non-paged rewrite rule… add_rewrite_rule( ‘activities/([^/]+)/page/([0-9]{1,})/?’, ‘index.php?tag=$matches[1]&product_cat=activities&pages=$matches[2]’, ‘top’ ); add_rewrite_rule( ‘activities/tag/([^/]+)’, ‘index.php?tag=$matches[1]&product_cat=activities’, ‘top’ );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)