| Server IP : 198.38.94.67 / Your IP : 216.73.217.74 Web Server : LiteSpeed System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64 User : azfilmst ( 1070) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/azfilmst/www/wp-content/themes/frames/woocommerce/loop/ |
Upload File : |
<?php
/**
* @package HaruTheme
* @version 1.0.0
* @author Administrator <admin@harutheme.com>
* @copyright Copyright (c) 2017, HaruTheme
* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
* @link http://harutheme.com
*/
$product_quick_view = haru_get_option( 'haru_product_quick_view', '1' );
if ( $product_quick_view == '0' ) {
return;
}
global $product;
$href = admin_url( 'admin-ajax.php', is_ssl() ? 'https' : 'http' ) . '?ajax=true&action=load_quickview_content&product_id=' . $product->get_id();
echo '<div class="product-button product-button--quickview">';
echo '<a class="quickview" href="' . esc_url( $href ) . '"><span class="haru-tooltip button-tooltip">' . esc_html__( 'Quick view', 'frames' ) . '</span></a>';
echo '</div>';