PATH:
home
/
fengshp
/
www
/
wp-content
/
plugins
/
themify-builder-pro
/
templates
<?php /** * Template Product Image * * Access original fields: $args['mod_settings'] * @author Themify */ if (!defined('ABSPATH') || !themify_is_woocommerce_active()){ return; } $mod_name = $args['mod_name']; $element_id = $args['module_ID']; $fields_args = $args['mod_settings']+ array( 'thumb_image' => 'thumb_img_bottom', 'image_w' => '', 'image_h' => '', 'auto_fullwidth' => false, 'appearance_image' => '', 'sale_b' => 'yes', 'badge_pos' => 'left', 'link' => 'permalink', 'open_link' => 'regular', 'fallback_s' => 'no', 'fallback_i' => '', 'zoom' => 'yes', 'css' => '', 'animation_effect' => '' ); if (!empty($fields_args['appearance_image'])) { $fields_args['appearance_image'] = self::get_checkbox_data($fields_args['appearance_image']); } $container_class = apply_filters('themify_builder_module_classes', array( 'module', 'module-' . $mod_name, $element_id, $fields_args['css'], $fields_args['appearance_image'], $fields_args['thumb_image'] ), $mod_name, $element_id, $fields_args); if(isset(Themify_Builder::$is_loop)){ $isLoop=Themify_Builder::$is_loop; } else{//backward global $ThemifyBuilder; $isLoop = $ThemifyBuilder->in_the_loop === true; } if ($isLoop === false) { if ($fields_args['auto_fullwidth'] == '1') { $container_class[] = ' auto_fullwidth'; } $container_class[] = $fields_args['appearance_image']; } if (!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active === false) { $container_class[] = $fields_args['global_styles']; } if ('no' === $fields_args['zoom']) { $container_class[] = 'tbp_disable_wc_zoom'; } else { add_filter('themify_theme_product_gallery_type', array('TB_Product_Image_Module', 'product_gallery_type')); } $container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args, array( 'class' => implode(' ', $container_class), )), $fields_args, $mod_name, $element_id); if (Themify_Builder::$frontedit_active === false) { $container_props['data-lazy'] = 1; } ?> <!-- Product Image module --> <div <?php echo themify_get_element_attributes(self::sticky_element_props($container_props, $fields_args)); ?>> <?php $container_props = $container_class = $args = null; $fields_args['element_id'] = $element_id; if ($isLoop === true) { self::retrieve_template('wc/loop/image.php', $fields_args, __DIR__); } else { self::retrieve_template('wc/single/image.php', $fields_args, __DIR__); } ?> </div> <!-- /Product Image module -->
[+]
..
[-] template-related-posts.php
[edit]
[-] template-search-form.php
[edit]
[-] template-author-info.php
[edit]
[-] template-wc-notices.php
[edit]
[-] template-checkout-shipping.php
[edit]
[-] template-taxonomy.php
[edit]
[-] template-woocommerce-hook.php
[edit]
[-] template-upsell-products.php
[edit]
[-] template-crosssell-products.php
[edit]
[-] template-comments.php
[edit]
[-] template-stats.php
[edit]
[-] template-wishlist-icon.php
[edit]
[-] template-advanced-products.php
[edit]
[-] template-advanced-posts.php
[edit]
[-] template-breadcrumbs.php
[edit]
[-] template-product-title.php
[edit]
[-] template-site-logo.php
[edit]
[-] template-cart-totals.php
[edit]
[-] template-product-description.php
[edit]
[-] template-product-reviews.php
[edit]
[-] template-archive-image.php
[edit]
[-] template-related-products.php
[edit]
[-] template-add-to-cart.php
[edit]
[-] template-cart-items.php
[edit]
[-] template-product-taxonomy.php
[edit]
[-] template-acf-repeater.php
[edit]
[-] template-post-title.php
[edit]
[-] template-readtime.php
[edit]
[-] template-archive-products.php
[edit]
[-] template-checkout-review.php
[edit]
[-] template-woocommerce-breadcrumb.php
[edit]
[-] template-checkout-billing.php
[edit]
[-] template-product-price.php
[edit]
[+]
partials
[-] template-ptb-repeater.php
[edit]
[-] template-post-meta.php
[edit]
[-] template-post-content.php
[edit]
[-] template-product-stock-status.php
[edit]
[-] template-product-meta.php
[edit]
[-] template-wishlist-link.php
[edit]
[-] template-archive-title.php
[edit]
[-] template-archive-posts.php
[edit]
[-] template-checkout-information.php
[edit]
[-] template-archive-description.php
[edit]
[-] template-product-rating.php
[edit]
[-] template-product-image.php
[edit]
[-] template-featured-image.php
[edit]
[-] template-checkout-coupon.php
[edit]
[-] template-site-tagline.php
[edit]
[-] template-checkout-payment.php
[edit]
[-] template-post-navigation.php
[edit]
[-] template-cart-icon.php
[edit]
[+]
wc