World of Coffee

Logo WOC

Met liefde geselecteerd. De lekkerste single origins vanuit de hele wereld.

add_action( 'woocommerce_after_shop_loop', 'inno_product_cat_display_details_meta' ); /** * Display details meta on Product Category archives. * * Snippet via INNONET WooCommerce Academy * */ function inno_product_cat_display_details_meta() { if ( ! is_tax( 'product_cat' ) ) { return; } $t_id = get_queried_object()->term_id; $details = get_term_meta( $t_id, 'details', true ); if ( '' !== $details ) { ?>
term_id, 'details', true ); if ( ! $product_cat_details ) { $product_cat_details = ''; } $settings = array( 'textarea_name' => 'inno-product-cat-details' ); ?>

Lees verder