HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/onlineshop/wp-content/themes/nautica/woocommerce/content-product-inner.php
<?php 
global $product;
$image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id($product->get_id() ), 'blog-thumbnails' );

?>
<div class="product-block" data-product-id="<?php echo esc_attr($product->get_id()); ?>">
    <div class="image">
        <?php woocommerce_show_product_loop_sale_flash(); ?>
        <div class="img-rotate">
            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="image-hover">
                <?php
                    /**
                     * woocommerce_before_shop_loop_item_title hook
                     *
                     * @hooked woocommerce_show_product_loop_sale_flash - 10
                     * @hooked woocommerce_template_loop_product_thumbnail - 10
                     */
                    remove_action('woocommerce_before_shop_loop_item_title','woocommerce_show_product_loop_sale_flash', 10);

                    do_action( 'woocommerce_before_shop_loop_item_title' );
                    ?>

            </a>
        </div>
        <div class="button-action button-groups clearfix">  
            <?php woocommerce_template_loop_add_to_cart();?>         
            <div class="wishlist-btn" data-toggle="tooltip" data-placement="top" title="<?php esc_html_e('Add to wishlist', 'nautica');?>">
                <?php
               if( class_exists( 'YITH_WCWL' ) ) {
                   echo do_shortcode( '[yith_wcwl_add_to_wishlist]' );
               }
           ?>
            </div>
            <?php if(nautica_fnc_theme_options('is-quickview', true)){ ?>
            <div class="quick-view" data-toggle="tooltip" data-placement="top" title="<?php esc_html_e('Quick view', 'nautica');?>">
                <a href="#" class="quickview" data-productslug="<?php echo trim($product->get_name()); ?>"  data-toggle="modal" data-target="#engo-quickview-modal">
                   <span><i class="btn-icons quickview-icon"></i></span>
                </a>
            </div>
           <?php } ?>       
        </div>

    </div>

        <?php woocommerce_template_loop_rating();?> 

        <div class="caption">

            <div class="meta">

             <h3 class="name"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
                <?php
                remove_action('woocommerce_after_shop_loop_item_title','woocommerce_template_loop_rating', 5);
                    /**
                    * woocommerce_after_shop_loop_item_title hook
                    *
                    * @hooked woocommerce_template_loop_rating - 5
                    * @hooked woocommerce_template_loop_price - 10
                    */
                    do_action( 'woocommerce_after_shop_loop_item_title');

                ?>

            </div>    

        </div>
</div>