get_id(); $product_type = $product->get_type(); $link = $product->get_permalink(); $title = $product->get_name(); $show_rating = isset($show_rating) ? $show_rating : true; $animation = !isset($animation) ? true : $animation; $class = 'item-product-widget'; $class .= $animation ? ' wow fadeInUp' : ''; $class_img = 'nasa-item-img'; $class_info = 'nasa-item-meta margin-left-20 rtl-margin-left-0 rtl-margin-right-20'; $list_type = isset($list_type) ? $list_type : '1'; $image_size = 'thumbnail'; switch ($list_type) : case 'list_main': $class .= ' nasa-list-type-main'; $image_size = apply_filters('single_product_archive_thumbnail_size', 'woocommerce_thumbnail'); break; case 'list_extra' : $class .= ' nasa-list-type-extra'; break; default: $list_type = '1'; break; endswitch; if (!isset($delay)){ global $delay; $_delay_item = (isset($nasa_opt['delay_overlay']) && (int) $nasa_opt['delay_overlay']) ? (int) $nasa_opt['delay_overlay'] : 100; $delay = !$delay ? 0 : $delay; $delay += $_delay_item; } $attributes = array( 'data-wow-duration="1s"', 'data-wow-delay="' . ((int) $delay) . 'ms"' ); $class_warp = isset($class_column) ? ' ' . $class_column : ''; $wapper = (isset($wapper) && $wapper == 'div') ? 'div' : 'li'; $start_wapper = ($wapper == 'div') ? '