PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / templates / shopify-checkout / shopify-header.php

shopify-header.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.6, at templates/shopify-checkout/shopify-header.php

48 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for displaying the shopify header.
4 *
5 * @package RadiusTheme\SB
6 */
7
8 use RadiusTheme\SB\Modules\ShopifyCheckout\ShopifyCheckoutFns;
9 ?>
10 <!DOCTYPE html>
11 <html <?php language_attributes(); ?>>
12 <head>
13 <meta charset="<?php bloginfo( 'charset' ); ?>">
14 <meta name="viewport" content="width=device-width, initial-scale=1">
15 <link rel="profile" href="https://gmpg.org/xfn/11">
16 <?php wp_head(); ?>
17 </head>
18 <body <?php body_class(); ?>>
19 <?php
20 $hasTop = ! empty( ShopifyCheckoutFns::get_shopify_page_logo( true ) ) || ! empty( ShopifyCheckoutFns::get_cart_icon_html( true ) );
21 ?>
22 <main id="content" class="<?php echo esc_attr( $hasTop ? 'rtsb-shopify-with-header' : 'rtsb-shopify-without-header' ); ?>" >
23 <?php
24 $site_name = get_bloginfo( 'name' );
25 $tagline = get_bloginfo( 'description', 'display' );
26
27 if ( $hasTop ) {
28 ?>
29 <div class="rtsb-checkout-page-container rtsb-shopify-header-container">
30 <div class="rtsb-checkout-page-header">
31 <a href="<?php echo esc_url( home_url() ); ?>">
32 <?php ShopifyCheckoutFns::get_shopify_page_logo(); ?>
33 </a>
34 <div class="header-right-side">
35 <a href="<?php echo esc_url( wc_get_cart_url() ); ?>">
36 <?php
37 if ( ! empty( ShopifyCheckoutFns::get_cart_icon_html( true ) ) ) {
38 ShopifyCheckoutFns::get_cart_icon_html();
39 }
40 ?>
41 </a>
42 </div>
43 </div>
44 </div>
45 <?php
46 }
47 ?>
48