__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
$category_ids = $product->get_category_ids();

if (empty($category_ids)) {
    return;
}

$categories = [];
foreach ($category_ids as $cat_id) {
    $category = get_term($cat_id, 'product_cat');
    if ($category && !is_wp_error($category)) {
        $category_link = get_term_link($category);
        if (!is_wp_error($category_link)) {
            $categories[] = '<a href="' . esc_url($category_link) . '">' . esc_html($category->name) . '</a>';
        }
    }
}
if (!empty($categories)) {
    echo '<div class="eb-woo-product-category">';
    echo '<ul class="eb-woo-product-category-list">';

    // Display categories as list items with commas (except last item)
    foreach ($categories as $index => $category_html) {
        echo '<li>' . $category_html;
        if ($index !== count($categories) - 1) {
            echo ', ';
        }
        echo '</li>';
    }

    echo '</ul>';
    echo '</div>';
}

Filemanager

Name Type Size Permission Actions
button-list.php File 338 B 0640
category.php File 921 B 0640
details.php File 127 B 0640
gallery.php File 1.28 KB 0640
image.php File 245 B 0640
price.php File 97 B 0640
rating.php File 842 B 0640
single-product.php File 4.82 KB 0640
single-rating.php File 1.74 KB 0640
title.php File 245 B 0640
Filemanager