Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,363

Results 121 to 140 of 1,686
15 Jan 2019, 17:48
#121
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

ZCA Bootstrap 4 Template [Support Thread]

carlwhat:

i think part of it is fixed here:

https://github.com/zencart/zencart/pull/2078

best.

The part that relates to this template was fixed.

This template doesn't touch the includes/classes/shipping.php file, but thanks for the link and fix for those that need to upgrade with the fixed file.

20 Jan 2019, 21:10
#122
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
417
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

admin | tools | ZCA Bootstrap colors menu option

How is this menu option and install of ZCZ bootstrap 4 triggered? How can I reinstall / reactivate it in a new zc 156a environment?

I have ZCA Bootstrap 4 working and cloned to a copy template in my local dev environment using zc156a. I have copied all files to my Linux test environment and on recreation of the database for zc156a I have no zca bootstrap menus.

environment Dev: Zen Cart 156a; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10
environment Test: Zen Cart 156a; Apache 2.4.29; PHP 7.2.4; MySQL 5.7.24; Linux 4.15.0

30 Jan 2019, 16:18
#123
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

If order total is $0.00 ie: only includes FREE items, pdf download products in my case

There is no button on the checkout process to continue to complete the order submission so that the "Checkout_Success" page is given.

Enable Classic_Responsive and checkout progresses as expected.

Once checkout_success, the download buttons do not appear but that symptom exists in Classic_Responsive so may also exist in ZCA_Bootstrap once the checkout_success is achieved.

30 Jan 2019, 19:01
#124
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

OldNGrey:

admin | tools | ZCA Bootstrap colors menu option

How is this menu option and install of ZCZ bootstrap 4 triggered? How can I reinstall / reactivate it in a new zc 156a environment?

I have ZCA Bootstrap 4 working and cloned to a copy template in my local dev environment using zc156a. I have copied all files to my Linux test environment and on recreation of the database for zc156a I have no zca bootstrap menus.

environment Dev: Zen Cart 156a; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10
environment Test: Zen Cart 156a; Apache 2.4.29; PHP 7.2.4; MySQL 5.7.24; Linux 4.15.0

Try re-uploading
YOUR_ADMIN/includes/auto_loaders/config.bc.php
YOUR_ADMIN/includes/init_includes/init_bc_config.php

19 Feb 2019, 05:43
#125
chrislane avatar

chrislane

New Zenner

Join Date:
Feb 2019
Posts:
18
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

My specials are not showing up on the main page.

I have 9 items on special and can see them on the specials page.

Specials on main page is activated: Admin -> Configuration -> Index Listing.

Nothing in my error logs.

ZCA: 2.0.0.a
Zencart: 1.6.5a
PHP: 5.6.40

03 Mar 2019, 17:47
#126
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi,

I don't remember who said this should be delivered with the default ZC but I agree.

Even if this is a wonderfull template, the easiest to customise I think, I still have a little request.

I'm using ZCA Bootstrap with the Dynamic Categories tree menu (https://www.zen-cart.com/downloads.php?do=file&id=396) which makes a sidebox with all products. It's an old plug-in but it still works fine. Of course would be better to modernise it with BS4 but that's OK.

Viewed on mobile, ZCA-Bootrap hides the left columns, cool...But I think there should be something showing that even if the column is hidden it's still there, something like a little icon, something like a tab on the left of the screen. And if I click this icon I get back my sidebox (in my case my products menu).
The best would be that this icon stays at the same place wherever I scroll in the page so that I can, at anytime, ask for the menu.

I found something that looks like what I mean on https://www.codeply.com/go/SufxS3ir55 , that's just the idea cause the icon/tab in this case is not really on the left of the screen.

What do you think of this idea ?

24 Mar 2019, 17:46
#127
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi, I'm trying to try your templates and I have a little problem, if I go Layout Settings and Categories Separator between the Category Name and Count and change it  - it's written on the DB  - despite the fact that the DB is on utf8_general_ci it tranforme & a &

24 Mar 2019, 18:48
#128
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

diamond1:

Hi, I'm trying to try your templates and I have a little problem, if I go Layout Settings and Categories Separator between the Category Name and Count and change it ##- it's written on the DB  - despite the fact that the DB is on utf8_general_ci it tranforme & a &

This is not template related. This has to do with the sanitize code included in the admin. Best bet is to run an SQL command.

25 Mar 2019, 07:56
#129
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Will you give me the command sql? so I insert it.

25 Mar 2019, 22:27
#130
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I also have log errors.

[24-Mar-2019 18:58:04 Europe/Brussels] Request URI: /admin/zca_bootstrap_colors.php, IP address: ::1
--> PHP Warning: Use of undefined constant TABLE_HEADING_CONFIGURATION_TITLE - assumed 'TABLE_HEADING_CONFIGURATION_TITLE' (this will throw an Error in a future version of PHP) in /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php on line 104.

[24-Mar-2019 18:58:04 Europe/Brussels] Request URI: /admin/zca_bootstrap_colors.php, IP address: ::1
--> PHP Warning: Use of undefined constant TABLE_HEADING_CONFIGURATION_VALUE - assumed 'TABLE_HEADING_CONFIGURATION_VALUE' (this will throw an Error in a future version of PHP) in /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php on line 105.

[24-Mar-2019 18:58:04 Europe/Brussels] Request URI: /admin/zca_bootstrap_colors.php, IP address: ::1
--> PHP Warning: Use of undefined constant TABLE_HEADING_ACTION - assumed 'TABLE_HEADING_ACTION' (this will throw an Error in a future version of PHP) in /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php on line 106.

The ZCA "bootstrap" template (or a clone) was activated on 2019-03-24 12:41:16 and some of its default settings are different than those currently set. You can copy and paste the following SQL into your admin's Tools->Install SQL Patches to change those defaults:

UPDATE configuration SET configuration_value = '3', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_PAGE_LINKS' LIMIT 1;
UPDATE configuration SET configuration_value = '<li> / </li>', last_modified = now() WHERE configuration_key = 'BREAD_CRUMBS_SEPARATOR' LIMIT 1;
UPDATE configuration SET configuration_value = '⊢ ', last_modified = now() WHERE configuration_key = 'CATEGORIES_SEPARATOR_SUBS' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_PREFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '', last_modified = now() WHERE configuration_key = 'CATEGORIES_COUNT_SUFFIX' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_SHIPPING_ESTIMATOR_BUTTON' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SEARCH_RESULTS_FEATURED' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '4', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_SPECIAL_PRODUCTS_INDEX' LIMIT 1;
UPDATE configuration SET configuration_value = '0', last_modified = now() WHERE configuration_key = 'PRODUCT_LISTING_MULTIPLE_ADD_TO_CART' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_RANDOM_SELECT_NEW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'MAX_DISPLAY_CATEGORIES_PER_ROW' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_NEW_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_FEATURED_PRODUCTS' LIMIT 1;
UPDATE configuration SET configuration_value = '2', last_modified = now() WHERE configuration_key = 'SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS' LIMIT 1;

27 Mar 2019, 10:59
#131
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Salut , j'ai des erreurs lorsque je tente d'aller ou de modifier les couleurs sur ZCA Bootstrap, je suis sur php 7.3 mais je dois l'erreur aussi php 7.2

[27-Mar-2019 11:55:15 Europe / Bruxelles] Demande URI: / admin /zca_bootstrap_colors.php?gID=31&cID=547, adresse IP: :: 1
-> PHP Avertissement: l' utilisation de TABLE_HEADING_CONFIGURATION_TITLE constante indéfinie - supposée 'TABLE_HEADING_CONFIGURATION_TITLE' (cela jette une erreur dans une future version de PHP) dans / Applications / MAMP / htdocs / site / admin / zca_bootstrap_colors.php à la ligne 104.

[27-Mar-2019 11:55:16 Europe / Bruxelles] Demande URI: /admin/zca_bootstrap_colors.php?gID=31&cID=547, adresse IP:: :1
-> PHP Avertissement: L' utilisation de TABLE_HEADING_CONFIGURATION_VALUE constante indéfinie - supposée « TABLE_HEADING_CONFIGURATION_VALUE » (cela jette une erreur dans une future version de PHP) dans /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php en ligne 105.

[27 -mar-2019 11:55:16 Europe / Bruxelles] Demande URI: /admin/zca_bootstrap_colors.php?gID=31&cID=547, adresse IP: :: 1
-> PHP Avertissement: L' utilisation de TABLE_HEADING_ACTION constante indéfinie - supposée « TABLE_HEADING_ACTION »(ce qui lancera une erreur dans une future version de PHP) dans /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php en ligne 106.

[PHP] <div class = "conteneur fluide">
<h1> < ? php echo HEADING_TITLE; ?> </ h1>
<div class = "ligne">
<div class = "col-xs-12 col-sm-12 col-MD-9 col-atterrisseur-9 configurationColumnLeft">
<table class = "table vol stationnaire de table">
<thead>
<tr class = "dataTableHeadingRow">
<th class = "dataTableHeadingContent"> < ? php echo TABLE_HEADING_CONFIGURATION_TITLE?; ?> </ th>
<th class = "dataTableHeadingContent"> < ? php echo TABLE_HEADING_CONFIGURATION_VALUE?; ?> </ th>
<th class = "text-dataTableHeadingContent right"> < ? php echo TABLE_HEADING_ACTION?; ?> </ th>

</ tr>
</ thead> [/ php]

30 Mar 2019, 07:58
#132
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi rbarbour, I really do not eliminate this error in my log file? the Templates is really well done in my opinion I am waiting to solve these two problems and I think I can use it definitively. thank you for your support

[24-Mar-2019 18:58:04 Europe / Brussels] Request URI: /admin/zca_bootstrap_colors.php, IP address: :: 1
-> PHP Warning: Use of undefined constant TABLE_HEADING_CONFIGURATION_VALUE - assumed 'TABLE_HEADING_CONFIGURATION_VALUE' in /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php on line 105.

30 Mar 2019, 08:39
#133
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

diamond1:

Hi rbarbour, I really do not eliminate this error in my log file? the Templates is really well done in my opinion I am waiting to solve these two problems and I think I can use it definitively. thank you for your support

[24-Mar-2019 18:58:04 Europe / Brussels] Request URI: /admin/zca_bootstrap_colors.php, IP address: :: 1
-> PHP Warning: Use of undefined constant TABLE_HEADING_CONFIGURATION_VALUE - assumed 'TABLE_HEADING_CONFIGURATION_VALUE' in /Applications/MAMP/htdocs/site/admin/zca_bootstrap_colors.php on line 105.

add the following to:
YOUR_ADMIN_FOLDER/includes/languages/english/extra_definitions/zca_bootstrap_colors.php

define('TABLE_HEADING_CONFIGURATION_TITLE', "Title");
define('TABLE_HEADING_CONFIGURATION_VALUE', "Value");
define('TABLE_HEADING_ACTION', "Action");
30 Mar 2019, 08:42
#134
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: ZCA Bootstrap 4 Template [Support Thread]

diamond1:

Will you give me the command sql? so I insert it.

 UPDATE configuration SET configuration_value = ' ', last_modified = now() WHERE configuration_key = 'CATEGORIES_SEPARATOR_SUBS' LIMIT 1;
30 Mar 2019, 09:24
#135
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi, thank you what I wanted is not every time to write on mysql the code, but solve the problem once and for all. That is to say with the other versione of zen cart I can put directly the code html in the part admin and it is registered directly and correctly on mysql. Did you say that it is because of sanitize code included in the admin there is a way to modify to be able to write html code on the admin part without each faith to make an update mysql command? Thanks for add the following to:
YOUR_ADMIN_FOLDER / includes / languages / English / extra_definitions / zca_bootstrap_colors.php
It has to work, I have more than translate languages and it's good and solve the sanitize.

31 Mar 2019, 08:32
#136
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi, just for info, on tpl_checkout_payment_default.php on line 278 there is one too many </ div> that you have to eliminate.

31 Mar 2019, 08:41
#137
heather_bee avatar

heather_bee

New Zenner

Join Date:
Mar 2019
Location:
Cornwall UK
Posts:
19
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

I am not a developer and just started with zen 1.56 and this bootstrap template so pardon my ignorance.
Product listing displays products in boxes with space all round each product, all within another box - nice.
Category listing displays categories does not have this space all round each category - not nice.
How do I make the category listing look like the product listing?
Many thanks for any help.

31 Mar 2019, 14:12
#138
heather_bee avatar

heather_bee

New Zenner

Join Date:
Mar 2019
Location:
Cornwall UK
Posts:
19
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Images also not showing full width in categories listing on mobile view - how to fix?

02 Apr 2019, 22:47
#139
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi, I have another mistake when I delete a product in the cart

[03-Apr-2019 00:41:34 Europe/Brussels] Request URI: /index.php?main_page=shopping_cart&product_id=7, IP address: ::1
#1  require(/Applications/MAMP/htdocs/MYSITE/includes/modules/pages/shopping_cart/header_php_shopping_cart_zca_bootstrap.php) called at [/Applications/MAMP/htdocs/MYSITE/index.php:36]
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /Applications/MAMP/htdocs/MYSITE/includes/modules/pages/shopping_cart/header_php_shopping_cart_zca_bootstrap.php on line 9.
05 Apr 2019, 18:13
#140
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

THE FILE tpl_shopping_cart_default.php I had to modify it to solve this problem.
https://www.zen-cart.com/showthread.php?225295-Shipping-Estimator-country-selection-not-working&p=1356612#post1356612

<?php
/**
 * Page Template
 *
 * Loaded automatically by index.php?main_page=shopping_cart.<br />
 * Displays shopping-cart contents
 *
 * @package templateSystem
 * @copyright Copyright 2003-2018 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: Drbyte Sun Jan 7 21:28:50 2018 -0500 Modified in v1.5.6 $
 */
?>
<div id="shoppingCartDefault" class="centerColumn">

<?php
  if ($flagHasCartContents) {
?> 
<?php
  if ($_SESSION['cart']->count_contents() > 0) {
?>
<div id="shoppingCartDefault-helpLink" class="helpLink float-right p-3">
<a data-toggle="modal" href="#cartHelpModal"><?php echo TEXT_CART_HELP; ?></a>
</div>

<?php require($template->get_template_dir('tpl_info_shopping_cart.php',DIR_WS_TEMPLATE, $current_page_base,'modalboxes'). '/tpl_info_shopping_cart.php'); ?>

<div class="clearfix"></div>
<?php
  }
?>   

<h1 id="shoppingCartDefault-pageHeading" class="pageHeading"><?php echo HEADING_TITLE; ?></h1> 
  
<?php if ($messageStack->size('shopping_cart') > 0) echo $messageStack->output('shopping_cart'); ?>

<?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product', $request_type), 'post', 'id="shoppingCartForm"'); ?> 
    
<div id="shoppingCartDefault-content" class="content"><?php echo TEXT_INFORMATION; ?></div>

<?php if (!empty($totalsDisplay)) { ?>
<div id="shoppingCartDefault-cartTotalsDisplay" class="cartTotalsDisplay text-center font-weight-bold p-3"><?php echo $totalsDisplay; ?></div>
<?php } ?>   
    
<?php  if ($flagAnyOutOfStock) { ?>
<?php    if (STOCK_ALLOW_CHECKOUT == 'true') {  ?>
<div class="alert alert-danger" role="alert"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
<?php    } else { ?>
<div class="alert alert-danger" role="alert"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
<?php    } //endif STOCK_ALLOW_CHECKOUT ?>
<?php  } //endif flagAnyOutOfStock ?> 

<div class="table-responsive">
<table id="shoppingCartDefault-cartTableDisplay" class="cartTableDisplay table table-bordered">
     <tr>
        <th scope="col" id="cartTableDisplay-qtyHeading"><?php echo TABLE_HEADING_QUANTITY; ?></th>
        <th scope="col" id="cartTableDisplay-qtyUpdateHeading"> </th>
        <th scope="col" id="cartTableDisplay-productsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
        <th scope="col" id="cartTableDisplay-priceHeading"><?php echo TABLE_HEADING_PRICE; ?></th>
        <th scope="col" id="cartTableDisplay-totalsHeading"><?php echo TABLE_HEADING_TOTAL; ?></th>
        <th scope="col" id="cartTableDisplay-removeHeading"> </th>
     </tr>
<!-- Loop through all products /-->
<?php
  foreach ($productArray as $product) {
?>
     <tr>
       <td class="qtyCell">
<?php
if ($product['flagShowFixedQuantity']) {
    echo $product['showFixedQuantityAmount'] . '' . $product['flagStockCheck'] . '' . $product['showMinUnits'];
} else {
    echo $product['quantityField'] . '' . $product['flagStockCheck'] . '' . $product['showMinUnits'];
}
?>
       </td>
       <td class="qtyUpdateCell text-center">
<?php
  if ($product['buttonUpdate'] == '') {
    echo '' ;
  } else {
    echo $product['buttonUpdate'];
  }
?>
       </td>
       <td class="productsCell">
<a href="<?php echo $product['linkProductsName']; ?>"><?php echo $product['productsImage']; ?><?php echo $product['productsName'] . '' . $product['flagStockCheck'] . ''; ?></a>

<?php
  echo $product['attributeHiddenField'];
  if (isset($product['attributes']) && is_array($product['attributes'])) {
  echo '<div class="productsCell-attributes">';
  echo '<ul>';
    reset($product['attributes']);
    foreach ($product['attributes'] as $option => $value) {
?>

<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . nl2br($value['products_options_values_name']); ?></li>

<?php
    }
  echo '</ul>';
  echo '</div>';
  }
?>
       </td>
       <td class="priceCell"><?php echo $product['productsPriceEach']; ?></td>
       <td class="totalsCell"><?php echo $product['productsPrice']; ?></td>
       <td class="removeCell text-center">
<?php
  if ($product['buttonDelete']) {
?>
           <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>" class="btn"><i class="fas fa-trash-alt"></i></a>
<?php
  }
  if ($product['checkBoxDelete'] ) {
    echo zen_draw_checkbox_field('cart_delete[]', $product['id']);
  }
?>
</td>
     </tr>
<?php
  } // end foreach ($productArray as $product)
?>
       <!-- Finished loop through all products /-->
       
<tr>
    <td colspan="1">

<?php
// show update cart button
  if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
?>
<div id="cartUpdate" class="text-center">
<button type="submit" class="btn"><i class="fas fa-sync-alt"></i></button>
</div>
<?php
  } else { // don't show update button below cart
?>
<?php
  } // show update button
?>
    </td>
    <td colspan="5">
<div id="cartTotal" class="text-right font-weight-bold">
<?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $cartShowTotal; ?>
</div>
    </td>
</tr>       
       
      </table>
</div> 

<!--bof shopping cart buttons-->
<div id="shoppingCartDefault-btn-toolbar" class="btn-toolbar justify-content-between my-3" role="toolbar">
<?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?>
<?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?>
</div>

<!--eof shopping cart buttons-->
</form>

<br class="clearBoth" />
<?php
    if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '1') {
?>

?>
<div id="shoppingCartDefault-shoppingEstimator-btn-toolbar" class="btn-toolbar my-3" role="toolbar">
<?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_SHIPPING_ESTIMATOR) . '\')">' .
 zen_image_button(BUTTON_IMAGE_SHIPPING_ESTIMATOR, BUTTON_SHIPPING_ESTIMATOR_ALT) . '</a>'; ?>
</div>
<?php
    }
?>   
    
<!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** -->
<?php  // the tpl_ec_button template only displays EC option if cart contents >0 and value >0
if (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True') {
  include(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php');
}
?>
<!-- ** END PAYPAL EXPRESS CHECKOUT ** -->

<?php
      if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '2') {
/**
 * load the shipping estimator code if needed
 */
?>
      <?php require(DIR_WS_MODULES . zen_get_module_directory('shipping_estimator.php')); ?>

<?php
      }
?>
<?php
  } else {
?>

<h1 id="shoppingCartDefault-pageHeading" class="pageHeading"><?php echo TEXT_CART_EMPTY; ?></h1> 

<?php
$show_display_shopping_cart_empty = $db->Execute(SQL_SHOW_SHOPPING_CART_EMPTY);

while (!$show_display_shopping_cart_empty->EOF) {
?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_FEATURED_PRODUCTS') { ?>
<?php
/**
 * display the Featured Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'centerboxes'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_SPECIALS_PRODUCTS') { ?>
<?php
/**
 * display the Special Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'centerboxes'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'centerboxes'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_UPCOMING') {
    include(DIR_WS_MODULES . zen_get_module_directory('centerboxes/' . FILENAME_UPCOMING_PRODUCTS));
  }
?>
<?php
  $show_display_shopping_cart_empty->MoveNext();
} // !EOF
?>

</form>

<?php
  }
?>  

</div>