/**
         * Print cart dropdown output
         *
         * @since 1.0.0
         * @return void
         */
        public function dropdown_frontend()
        {
            $this->prepare_options();
            ?>
			<div class="cherry-wc-cart" data-dropdown="box" data-dropdown-active="false">
				<?php 
            cherry_wc_templater()->get_template_part('cart-dropdown');
            ?>
			</div>
			<?php 
            Cherry_WC_Assets::enqueue_local_js(array('cherry-woocommerce'));
        }
    /**
     * Show dropdown account content
     *
     * @since 1.0.0
     * @return void
     */
    public function dropdown_frontend()
    {
        $this->prepare_options();
        if ('true' !== $this->account_options['shop-show-acc']) {
            return;
        }
        ?>
		<div class="cherry-wc-account" data-dropdown="box" data-dropdown-active="false">
			<?php 
        cherry_wc_templater()->get_template_part('account-dropdown');
        ?>
		</div>
		<?php 
        Cherry_WC_Assets::enqueue_local_js(array('cherry-woocommerce'));
    }
 /**
  * Append quick view button to product listing template
  *
  * @since 1.0.0
  */
 public function print_button()
 {
     global $post, $product;
     $btn_txt = apply_filters('cherry_wc_quick_view_text', __('Quick view', 'cherry-woocommerce-package'));
     $trigger = 'cherry-quick-view';
     printf($this->args['button']['format'], $product->id, $btn_txt, $trigger);
     Cherry_WC_Assets::enqueue_local_js(array('cherry-woocommerce', 'magnific-popup'));
 }
 /**
  * Add product images gallery
  *
  * @since 1.0.0
  * @return void
  */
 public function add_gallery()
 {
     Cherry_WC_Assets::enqueue_local_js(array('cherry-woocommerce', 'cherry-cycle2', 'cherry-cycle2-carousel', 'cherry-elevatezoom'));
     cherry_wc_templater()->get_template_part('product-gallery/image');
 }
 /**
  * Returns the instance.
  *
  * @since  1.0.0
  * @return object
  */
 public static function get_instance()
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }