File: /storage/v4513/ivenusin/public_html/wp-content/themes/ivenus/woocommerce/single-product/meta.php
<?php
/**
* Single Product Meta
*
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/meta.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates
* @version 3.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $product; ?>
<!-- Pickup from store -->
<!-- <button type="button btn-primary" data-changeurl="<?php //echo SITE_URL; ?>/cart/" id="find_store" class="additional-buttons" style="display: none;">Buy Now</button> -->
<?php if($product->get_type() === 'simple' || $product->get_type() === 'variable') : ?>
<button type="button" data-carturl="<?php echo SITE_URL; ?>/cart/" data-producttype="<?php echo $product->get_type(); ?>" data-productid="<?php echo $product->get_id(); ?>" id="pickup_store" class="additional-buttons" style="display: none;">BUY NOW
<span id="pickup_store_loader" style="display: none; margin-left: 5px;">
<img src="<?php echo THEME_URI; ?>/assets/images/ajax-loader.gif" alt="loader" class="loader" width="25px" height="25px">
</span>
</button>
<?php endif; ?>
<!-- Find a store -->
<?php
/* EMI Offers */
if( has_term( array( 'iphone', 'ipad', 'mac', 'watch' ), 'product_cat', $product->get_id() ) ) : ?>
<!-- Trigger the EMI modal with a button -->
<button type="button" id="checkEmiOffers" class="btn btn-info btn-sm" data-toggle="modal" data-target="#emiOffers" data-lastsku="" disabled="disabled">CHECK EMI OFFERS</button>
<!-- EMI Modal -->
<div class="container">
<div class="modal" id="emiOffers">
<div class="modal-dialog">
<!-- EMI Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">EMI OFFERS</h4>
<button type="button" class="close emiOffersDismiss" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<div id="checkEmiOffersLoader" class="d-flex justify-content-center" style="display: none;">
<div class="spinner-grow text-secondary"></div>
</div>
<div id="emiOffersMsg" class="alert alert-warning text-center" style="display: none;"></div>
<div id="emiOffersData"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-danger emiOffersDismiss" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div>
<?php echo do_shortcode('[wczp_check_pincode]'); ?>
</div>
<!-- <div class="pincode-check d-none">
<p><b>Delivery :</b> <i>Free (Available all over the India.)</i><br />
Delivery Time: Express delivery in 1 to 3 Days.
<br>Check pincode</p>
<?php // echo do_shortcode('[doyoudeliver]'); ?>
</div> -->
<div class="product_meta">
<?php do_action( 'woocommerce_product_meta_start' ); ?>
<?php if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( 'variable' ) ) ) : ?>
<span style="display: none;" class="sku_wrapper"><?php esc_html_e( 'SKU:', 'woocommerce' ); ?> <span class="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : esc_html__( 'N/A', 'woocommerce' ); ?></span></span>
<?php endif; ?>
<?php //echo wc_get_product_category_list( $product->get_id(), ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', count( $product->get_category_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
<?php //echo wc_get_product_tag_list( $product->get_id(), ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', count( $product->get_tag_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
<?php do_action( 'woocommerce_product_meta_end' ); ?>
</div>