<div class="favourite-ico"></div> <div class="cat-name"><a href="#" title=""></a></div> <p></p> </div> </div> </div> </div> </div> <!-- Cat Thumb Carousel display --> <div class="tabbys-cat-product-slider"> <div id="tabbys-cat-product-slider" class="owl-carousel"> <?php while ($catsQuery->have_posts()) { $catsQuery->the_post(); $articleObj = Article_Object::init(); echo Fruitframe_Renderer::render_template_part('single-mobile-product', '', ['post' => $articleObj->getPostObject(), 'type' => 'adopt']); } ?> </div> <div class="owl-controls"> <div class="owl-buttons"> <div class="owl-prev custom-prev"></div> <div class="owl-next custom-next"></div> </div> </div> </div> </div> <div class="tabby-loader"></div> </div> </div>
<th class="product-subtotal hidden-mb"><?php _e('Total', 'woocommerce'); ?> </th> </tr> </thead> <tbody> <?php do_action('woocommerce_before_cart_contents'); ?> <?php foreach (WC()->cart->get_cart() as $cart_item_key => $cart_item) { $_product = apply_filters('woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key); $product_id = apply_filters('woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key); $articleObj = Article_Object::initById($product_id); if ($_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters('woocommerce_cart_item_visible', true, $cart_item, $cart_item_key)) { ?> <tr class="<?php echo esc_attr(apply_filters('woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key)); ?> "> <td class="product-thumbnail"> <?php $thumbnail = apply_filters('woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key); if (!$_product->is_visible()) { echo $thumbnail; } else { printf('<a href="%s">%s</a>', esc_url($_product->get_permalink($cart_item)), $thumbnail);
?> </nav> <div class="donate-btn"><a href="<?php fruitframe_permalink('donate'); ?> " title="Donate"><img src="<?php echo get_template_directory_uri(); ?> /images/nav-donate-btn.png" alt="Donate" width="117" height="117" /></a> </div> </div> </header> <?php do_action('tabbysplace_hero_banner'); global $post; if ($post && get_post_type($post) == 'product') { $articleObj = Article_Object::init($post); ?> <div class="tabbysplace-breadcrumb"> <div class="main"><!-- Breadcrumb NavXT 5.2.2 --> <span typeof="v:Breadcrumb"> <a rel="v:url" property="v:title" title="Go to Tabby's Place." href="<?php home_url(); ?> " class="home">Tabby's Place</a> </span> <span class="bsep"> » </span> <span typeof="v:Breadcrumb"> <a rel="v:url" property="v:title" title="Go Cats." href="<?php get_field('can_be_adopted') ? fruitframe_permalink('adopt') : fruitframe_permalink('sponsor'); ?> "><?php
function filter_woocommerce_cart_item_thumbnail($product_get_image, $cart_item, $cart_item_key) { return '<img src="' . Article_Object::initById($cart_item['product_id'])->getFirstImageUrl() . '" alt="placeholder" />'; }