HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux sci 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: tpdc (1002)
PHP: 7.4.3-4ubuntu2.29
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/nsci/wp-content/plugins/penci-soledad-amp/templates/woocommerce/loop.php
<?php
global $post;

if ( have_posts() ) :
	$product_i = 0;
	echo '<div class="penci-archive__list_product">';
	while ( have_posts() ) : the_post(); $product_i ++; $product = wc_get_product( get_the_ID() );  ?>
		<?php
		if ( empty( $product ) || ! $product->is_visible() ) {
			return;
		}
		?>
		<article <?php post_class( 'penci-product-item penci-product-item-' . $product_i  ); ?>>
			<div class="article_content">
				<?php
				if ( $product->is_on_sale() ) {
					 echo apply_filters(
						'woocommerce_sale_flash',
						'<span class="onsale">' . penci_amp_get_setting( 'penci-amp-product-sale' ) . '</span>',
						$post,
						$product
					);
				}

				?>
				<div class="entry-media">
					<a class="penci-link-post" href="<?php the_permalink(); ?>"><?php penci_amp_post_thumbnail( array( 'post'   => get_the_ID() ,'size'   => 'shop_catalog' ) ); ?></a>
				</div>
				<div class="entry-text">
					<h3 class="penci__product__title">
						<a href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>">
							<?php the_title() ?>
						</a>
					</h3>

					<div class="woocommerce-price"><?php echo $product->get_price_html(); ?></div>
				</div>
				<div class="entry-meta entry-meta-hide">
					<?php $this->load_parts( array( 'entry-meta' ) ); ?>
				</div>
			</div>
		</article>
		<?php
	endwhile;
	echo '</div>';
endif;
wp_reset_postdata();