Initial Commit N° : 003 - V.4.3.5
This commit is contained in:
@@ -23,7 +23,7 @@ defined('NASA_CHECKOUT_LAYOUT') or define('NASA_CHECKOUT_LAYOUT', 'default');
|
||||
|
||||
<form class="checkout_coupon woocommerce-form-coupon" method="post" style="display:none">
|
||||
<div class="row">
|
||||
<div class="large-7 columns">
|
||||
<div class="large-12 columns">
|
||||
<p><?php esc_html_e('If you have a coupon code, please apply it below.', 'elessi-theme'); ?></p>
|
||||
|
||||
<div class="form-row form-row-first coupon">
|
||||
@@ -31,11 +31,12 @@ defined('NASA_CHECKOUT_LAYOUT') or define('NASA_CHECKOUT_LAYOUT', 'default');
|
||||
<button type="submit" class="button" name="apply_coupon" value="<?php esc_attr_e('Apply coupon', 'elessi-theme'); ?>"><?php esc_html_e('Apply coupon', 'elessi-theme'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-5 columns title-align-left">
|
||||
|
||||
<div class="large-12 columns title-align-left">
|
||||
<?php
|
||||
if (NASA_CHECKOUT_LAYOUT !== 'modern') {
|
||||
elessi_checkout_get_coupon_slide();
|
||||
}
|
||||
if (NASA_CHECKOUT_LAYOUT !== 'modern') :
|
||||
elessi_checkout_get_coupon_slide();
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.6.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit;
|
||||
@@ -14,17 +14,19 @@ global $nasa_opt;
|
||||
?>
|
||||
<form class="woocommerce-ordering" method="get">
|
||||
<span class="sort-text margin-right-5 rtl-margin-right-0 rtl-margin-left-5">
|
||||
<?php esc_html_e('Sort by', 'elessi-theme'); ?>
|
||||
<?php echo esc_html__('Sort by', 'elessi-theme'); ?>
|
||||
</span>
|
||||
|
||||
|
||||
<select name="orderby" class="orderby" aria-label="<?php esc_attr_e('Shop order', 'elessi-theme'); ?>">
|
||||
<?php foreach ($catalog_orderby_options as $id => $name) : ?>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>><?php echo esc_html($name); ?></option>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>>
|
||||
<?php echo esc_html($name); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
<?php if (!isset($nasa_opt['nasa_in_mobile']) || !$nasa_opt['nasa_in_mobile']) : ?>
|
||||
<div class="nasa-ordering"><?php esc_html_e('...', 'elessi-theme'); ?></div>
|
||||
<div class="nasa-ordering"><?php echo esc_html__('...', 'elessi-theme'); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" name="paged" value="1" />
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.2.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
|
||||
defined('ABSPATH') or exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.6.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
@@ -70,7 +70,6 @@ if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_det
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
|
||||
|
||||
if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_detail_layout'], array('new')) && isset($nasa_opt['product_thumbs_style']) && $nasa_opt['product_thumbs_style'] === 'hoz' && isset($nasa_opt['product_image_style']) && $nasa_opt['product_image_style'] === 'slide') :
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
@@ -236,11 +235,13 @@ $wrapper_classes = apply_filters(
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($video_url) : ?>
|
||||
<!-- Video product -->
|
||||
<div class="item-wrap">
|
||||
<div class="nasa-item-main-video-wrap nasa-item-main-image-wrap" data-key="<?php echo (int) $_i+1; ?>">
|
||||
<?php $video_poster_url = $video_poster_url ? $video_poster_url : wc_placeholder_img_src();?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="'.$video_poster_url.'"]'); ?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="' . $video_poster_url . '"]'); ?>
|
||||
<img class="ns-video-size" src="<?php echo esc_url($video_poster_url); ?>" alt="<?php echo esc_attr($video_title); ?>" />
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user