Page 14 of 123 FirstFirst ... 412131415162464114 ... LastLast
Results 131 to 140 of 1224
  1. #131
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default 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]
    Last edited by diamond1; 27 Mar 2019 at 12:02 PM.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  2. #132
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default 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.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  3. #133
    Join Date
    Feb 2010
    Location
    Syracuse, NY
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by diamond1 View Post
    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
    PHP Code:
    define('TABLE_HEADING_CONFIGURATION_TITLE'"Title");
    define('TABLE_HEADING_CONFIGURATION_VALUE'"Value");
    define('TABLE_HEADING_ACTION'"Action"); 
    Website - Github. Like the ZCA Bootstrap 4 Template? Donations Welcome. Bootstrap Plugins?

  4. #134
    Join Date
    Feb 2010
    Location
    Syracuse, NY
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by diamond1 View Post
    Will you give me the command sql? so I insert it.
    PHP Code:
     UPDATE configuration SET configuration_value '&nbsp;'last_modified now() WHERE configuration_key 'CATEGORIES_SEPARATOR_SUBS' LIMIT 1
    Website - Github. Like the ZCA Bootstrap 4 Template? Donations Welcome. Bootstrap Plugins?

  5. #135
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default 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.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  6. #136
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default 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.
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  7. #137
    Join Date
    Mar 2019
    Location
    Cornwall UK
    Posts
    19
    Plugin Contributions
    0

    Default 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.

  8. #138
    Join Date
    Mar 2019
    Location
    Cornwall UK
    Posts
    19
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

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

  9. #139
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

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

    PHP Code:
    [03-Apr-2019 00:41:34 Europe/BrusselsRequest URI: /index.php?main_page=shopping_cart&product_id=7IP 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 Warningcount(): 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. 
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

  10. #140
    Join Date
    Jan 2010
    Location
    France
    Posts
    279
    Plugin Contributions
    0

    Default 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....12#post1356612
    PHP Code:
    <?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">&nbsp;</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">&nbsp;</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 == 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_SHOPPINGBUTTON_CONTINUE_SHOPPING_ALT) . '</a>'?>
    <?php 
    echo '<a href="' zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL') . '">' zen_image_button(BUTTON_IMAGE_CHECKOUTBUTTON_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_ESTIMATORBUTTON_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>
    Giovanni,
    Zen Cart V1.5.8 + templates ZCA Bootstrap Template

 

 

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 94
    Last Post: 16 Mar 2024, 04:13 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR