Filters-archive-data

Filtry
'product_cat’, 'orderby’ => 'name’, 'order’ => 'ASC’, 'hide_empty’ => false, 'parent’ => $category->term_id // Ensure we’re only getting top-level categories ); $product_categories = get_terms( $args ); // Check if categories exist if ( !empty( $product_categories ) ) { echo ’
’; foreach ( $product_categories as $key => $category ) { // Unique IDs for accordion controls $headingId = „heading” . $category->term_id; $collapseId = „collapse” . $category->term_id; // Start accordion item echo ’
’; echo ’

’; echo ’’; echo ’

’; echo ’
’; echo ’
’; // Get child categories $child_args = array( 'taxonomy’ => 'product_cat’, 'orderby’ => 'name’, 'order’ => 'ASC’, 'hide_empty’ => false, 'parent’ => $category->term_id // Get direct children ); $child_categories = get_terms( $child_args ); if ( !empty( $child_categories ) ) { echo ’
’; foreach ( $child_categories as $child ) { // Get the category link $category_link = get_term_link( $child ); echo ’’; echo ’
’ . esc_html( $child->name ) . ’
’; echo ’
(’ . esc_html( $child->count ) . ’)
’; echo ’
’; } echo ’
’; } else { echo 'No child categories found.’; } // Close accordion item echo ’
’; // .accordion-body echo ’
’; // .accordion-collapse echo ’
’; // .accordion-item } echo ’
’; // .accordion } else { echo 'No product categories found.’; } } ?>

Filters–archive–data-documentation

Footer–data-documentation

Footer–data-documentation

Footer–data-documentation

footer–data

Product-data–gardener

get_image_id(); $main_image_url = wp_get_attachment_url($main_image_id); // Get gallery image IDs $attachment_ids = $product->get_gallery_image_ids(); ?>

get_stock_quantity(); if ( $stock_quantity > 0 ) { echo ’Dostępne: ’ . $stock_quantity . ’ szt.’; } else { echo ’Brak produktu: 0 szt.’; } ?>
Ocena:
get_average_rating(); $rating_count = $product->get_rating_count(); if ($rating_count > 0) { for ($i = 1; $i <= 5; $i++): $star_icon = $i <= $average_rating ? '/photos/Star.png' : '/photos/StarEmpty.png'; ?> ()
get_id(), '_u24_info_links’, true); if (!empty($info_links)) { foreach ($info_links as $link) { ?>

get_id(), '_u24_social_links’, true); if (!empty($social_links)) { ?>
Udostępnij:

get_description()); ?>

SKU: get_sku(); ?>

Weight: get_weight(); ?>

Dimensions: get_dimensions(false)); ?>

has_attributes()) : ?>

Additional Information

get_attributes() as $attribute) : ?> get_visible() && ($attribute->is_taxonomy() || $attribute->get_variation())) : ?>

get_name()); ?>: is_taxonomy()) { $attribute_taxonomy = $attribute->get_taxonomy_object(); $attribute_values = wc_get_product_terms($product->get_id(), $attribute->get_name(), array(’fields’ => 'all’)); foreach ($attribute_values as $attribute_value) { $value_name = esc_html($attribute_value->name); if ($attribute_taxonomy->attribute_public) { $values[] = ’

get_id(), '_u24_social_links’, true); if (!empty($social_links)) { ?>
Udostępnij:

get_regular_price(); $sale_price = $product->get_sale_price(); // Check if the product is on sale if ( $product->is_on_sale() ) { echo ’
’; echo ’
’ . wc_price( $sale_price ) . ’
’; echo ’
’ . wc_price( $regular_price ) . ’
’; echo ’
’; } else { echo ’
’; echo ’
’ . wc_price( $regular_price ) . ’
’; echo ’
’; } ?>
Malus2
Kod produktu: 157263
Ocena:
get_average_rating(); $rating_count = $product->get_rating_count(); for ($i = 1; $i <= 5; $i++): $star_icon = $i <= $average_rating ? '/photos/Star.png' : '/photos/StarEmpty.png'; ?> ()

Dostępność w magazynie

Dostawa

Wysyłka w 48h

Add to favorites

get_description()); ?>