| 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/ |
Upload File : |
<?php
/**
* Add to wishlist button template - Browse list
*
* @author Your Inspiration Themes
* @package YITH WooCommerce Wishlist
* @version 3.0.12
*/
/**
* Template variables:
*
* @var $wishlist_url string Url to wishlist page
* @var $exists bool Whether current product is already in wishlist
* @var $show_exists bool Whether to show already in wishlist link on multi wishlist
* @var $product_id int Current product id
* @var $parent_product_id int Parent for current product
* @var $product_type string Current product type
* @var $label string Button label
* @var $browse_wishlist_text string Browse wishlist text
* @var $already_in_wishslist_text string Already in wishlist text
* @var $product_added_text string Product added text
* @var $icon string Icon for Add to Wishlist button
* @var $link_classes string Classed for Add to Wishlist button
* @var $available_multi_wishlist bool Whether add to wishlist is available or not
* @var $disable_wishlist bool Whether wishlist is disabled or not
* @var $template_part string Template part
* @var $loop_position string Loop position
*/
if ( ! defined( 'YITH_WCWL' ) ) {
exit;
} // Exit if accessed directly
global $product;
?>
<!-- BROWSE WISHLIST MESSAGE -->
<div class="yith-wcwl-wishlistexistsbrowse" data-product-id="<?php echo esc_attr( $product_id ); ?>" data-original-product-id="<?php echo esc_attr( $parent_product_id ); ?>">
<span class="feedback">
<?php echo do_shortcode( $icon ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php echo do_shortcode( $already_in_wishslist_text ); ?>
</span>
<a href="<?php echo esc_url( $wishlist_url ); ?>" rel="nofollow" data-title="<?php echo esc_attr( $browse_wishlist_text ); ?>">
<span class="haru-tooltip button-tooltip"><?php echo esc_html__( 'Browse', 'frames' ); ?></span>
<?php echo ( ! $is_single && 'before_image' === $loop_position ) ? $icon : false; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php echo do_shortcode( apply_filters( 'yith-wcwl-browse-wishlist-label', $browse_wishlist_text, $product_id, $icon ) ); ?>
</a>
</div>