X7ROOT File Manager
Current Path:
/home/notabjze/caribbeansee.com/wp-content/themes/elessi-theme/includes
home
/
notabjze
/
caribbeansee.com
/
wp-content
/
themes
/
elessi-theme
/
includes
/
ðŸ“
..
📄
nasa-after-add-to-cart.php
(9.57 KB)
📄
nasa-blog-grid.php
(5.1 KB)
📄
nasa-blog-list.php
(5.34 KB)
📄
nasa-blog-masonry-isotope.php
(5.6 KB)
📄
nasa-blog-promotion.php
(2.35 KB)
📄
nasa-blog-standard.php
(4.38 KB)
📄
nasa-change-view.php
(4.71 KB)
📄
nasa-checkout-coupon-modern.php
(979 B)
📄
nasa-checkout-default.php
(2.94 KB)
📄
nasa-checkout-modern-billing-detail.php
(1.62 KB)
📄
nasa-checkout-modern.php
(7.3 KB)
📄
nasa-combo-products-in-detail.php
(1.11 KB)
📄
nasa-combo-products-quickview.php
(2.08 KB)
📄
nasa-combo-products.php
(2.26 KB)
📄
nasa-content-product-gift.php
(3.15 KB)
📄
nasa-gdpr-notice.php
(1.11 KB)
📄
nasa-get-content-products.php
(822 B)
📄
nasa-global-wishlist.php
(3.89 KB)
📄
nasa-login-register-form.php
(8.88 KB)
📄
nasa-loop-product-thumbnail.php
(3.28 KB)
📄
nasa-mini-cart-add-coupon.php
(3.65 KB)
📄
nasa-mini-cart-coupons.php
(604 B)
📄
nasa-mini-cart-fees.php
(505 B)
📄
nasa-mini-cart-note.php
(884 B)
📄
nasa-mini-cart-shipping.php
(1.86 KB)
📄
nasa-mini-cart-taxs.php
(1.56 KB)
📄
nasa-mini-cart-total.php
(311 B)
📄
nasa-mini-compare.php
(5.23 KB)
📄
nasa-mobile-account.php
(169 B)
📄
nasa-mobile-bottom-bar.php
(4.25 KB)
📄
nasa-product-buttons.php
(441 B)
📄
nasa-promo-popup.php
(1.65 KB)
📄
nasa-review-images.php
(992 B)
📄
nasa-sidebar-shop-side.php
(1.76 KB)
📄
nasa-sidebar-shop-top.php
(2.02 KB)
📄
nasa-sidebar-wishlist.php
(672 B)
📄
nasa-sidebar-wishlist_content.php
(14.14 KB)
📄
nasa-sidebar-wishlist_html.php
(5.62 KB)
📄
nasa-single-product-classic.php
(2.66 KB)
📄
nasa-single-product-full.php
(3.05 KB)
📄
nasa-single-product-lightbox-gallery.php
(801 B)
📄
nasa-single-product-lightbox.php
(2.63 KB)
📄
nasa-single-product-modern-1.php
(2.2 KB)
📄
nasa-single-product-modern-2.php
(2.64 KB)
📄
nasa-single-product-modern-3.php
(2.63 KB)
📄
nasa-single-product-new-2.php
(2.1 KB)
📄
nasa-single-product-new.php
(2.88 KB)
📄
nasa-single-product-tabs_accordion_layout.php
(1.26 KB)
📄
nasa-single-product-tabs_accordion_small_layout.php
(1.22 KB)
📄
nasa-single-product-tabs_scroll_layout.php
(2.29 KB)
📄
nasa-single-product-tabs_tab_layout.php
(2.5 KB)
📄
nasa-single-product-tabs_ver-1_layout.php
(1.99 KB)
📄
nasa-single-product-tabs_ver-2_layout.php
(888 B)
📄
nasa-tmpl-captcha-field-register.php
(805 B)
📄
nasa-variation-main-images.php
(2.53 KB)
📄
nasa-variation-thumb-images.php
(1.91 KB)
📄
nasa-view-compare.php
(5.8 KB)
Editing: nasa-view-compare.php
<?php global $product; $products = $nasa_compare->get_products_list(); $fields = $nasa_compare->fields(); ?> <div class="nasa-wrap-table-compare"> <?php if ($products) : ?> <table class="nasa-table-compare"> <?php foreach ($fields as $field => $name) : if ($field == 'title') : continue; endif; ?> <tr class="<?php echo esc_attr($field); ?>"> <th> <?php echo ($field == 'image') ? esc_html__('Product', 'elessi-theme') : $name; ?> <?php echo ($field == 'image') ? '<div class="fixed-th"></div>' : ''; ?> </th> <?php $index = 0; foreach ($products as $product_id => $product) : $product_class = ($index % 2 == 0 ? 'odd' : 'even') . ' nasa-compare-view-product_' . $product_id; ?> <td class="<?php echo esc_attr($product_class); ?>"> <?php switch ($field) : case 'image': $nasa_title = isset($product->fields['title']) ? $product->fields['title'] : ''; $href = get_permalink($product_id); echo '<a href="' . esc_url($href) . '" title="' . esc_attr($product->fields['title']) . '">'; echo '<div class="image-wrap">' . $product->get_image('yith-woocompare-image') . '</div>'; echo ($nasa_title != '') ? '<h5 class="compare-product-title">' . $nasa_title . '</h5>' : ''; echo '</a>'; break; case 'title': break; case 'add-to-cart': woocommerce_template_loop_add_to_cart(); break; default: echo empty($product->fields[$field]) ? ' ' : $product->fields[$field]; break; endswitch; ?> </td> <?php ++$index; endforeach; ?> </tr> <?php endforeach; ?> <?php if (get_option('yith_woocompare_price_end') == 'yes' && isset($fields['price'])) : ?> <tr class="price repeated"> <th><?php echo ($fields['price']); ?></th> <?php $index = 0; foreach ($products as $product_id => $product) : $product_class = ($index % 2 == 0 ? 'odd' : 'even') . ' nasa-compare-view-product_' . $product_id ?> <td class="<?php echo esc_attr($product_class); ?>"> <?php echo ($product->fields['price']); ?> </td> <?php ++$index; endforeach; ?> </tr> <?php endif; ?> <?php if (get_option('yith_woocompare_add_to_cart_end') == 'yes' && isset($fields['add-to-cart'])) : ?> <tr class="add-to-cart repeated"> <th><?php echo ($fields['add-to-cart']); ?></th> <?php $index = 0; foreach ($products as $product_id => $product) : $product_class = ($index % 2 == 0 ? 'odd' : 'even') . ' nasa-compare-view-product_' . $product_id ?> <td class="<?php echo ($product_class); ?> nasa-group-btns"> <?php woocommerce_template_loop_add_to_cart(); ?> </td> <?php ++$index; endforeach; ?> </tr> <?php endif; ?> <tr class="remove-item"> <th> </th> <?php $index = 0; foreach ($products as $product_id => $product) : $product_class = ($index % 2 == 0 ? 'odd' : 'even') . ' nasa-compare-view-product_' . $product_id ?> <td class="<?php echo esc_attr($product_class); ?>"> <a href="javascript:void(0);" class="nasa-remove-compare" data-prod="<?php echo esc_attr($product_id); ?>" rel="nofollow"><?php echo esc_html__('Remove', 'elessi-theme'); ?></a> </td> <?php ++$index; endforeach; ?> </tr> </table> <?php else: echo '<p class="text-center padding-top-30"><i class="nasa-empty-icon icon-nasa-refresh"></i></p>'; echo '<h5 class="text-center margin-bottom-30 empty woocommerce-compare__empty-message">' . esc_html__('No product added to compare !', 'elessi-theme') . '</h5>'; echo '<p class="text-center"><a href="' . esc_url(get_permalink(wc_get_page_id('shop'))) . '" class="button nasa-sidebar-return-shop" title="' . esc_attr__('RETURN TO SHOP', 'elessi-theme') . '">' . esc_html__('RETURN TO SHOP', 'elessi-theme') . '</a></p>'; endif; ?> </div>
Upload File
Create Folder