Page 1 of 2 12 LastLast
Results 1 to 10 of 1685

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    The last sentence in my previous reply was cutoff. I was saying, if you want to see the checkbox on my site, I currently have it enabled here: https://www.mjmmagic.com/store/index...ain_page=login
    - Jeff

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,950
    Plugin Contributions
    96

    Default Re: ZCA Bootstrap Template

    My bad; you need to add the custom-control-label class to that (er) <label> tag.

  3. #3
    Join Date
    Sep 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    I am having difficulty using any other PHP version than the ancient version 5.4
    If I select any other version above 5.4 such as 7 all the way to 8.1 my site does not load at all (blank site without any error message)

    Zen Cart Version 1.5.6c

    In my cPanel I can set the PHP version in this menu:

    MultiPHP Manager

    System PHP Version
    The system default PHP version is set by the system administrator.

    Any domain that is set to the inherit value indicates that it does not have its own PHP version explicitly set. Read more about inherit.

    Set PHP Version per Domain
    Select the domains that you wish to change from the table, then apply a PHP version from the list.

    Any help will be appreciated

  4. #4
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by arxvaldex View Post
    I am having difficulty using any other PHP version than the ancient version 5.4
    If I select any other version above 5.4 such as 7 all the way to 8.1 my site does not load at all (blank site without any error message)

    Zen Cart Version 1.5.6c

    In my cPanel I can set the PHP version in this menu:

    MultiPHP Manager

    System PHP Version
    The system default PHP version is set by the system administrator.

    Any domain that is set to the inherit value indicates that it does not have its own PHP version explicitly set. Read more about inherit.

    Set PHP Version per Domain
    Select the domains that you wish to change from the table, then apply a PHP version from the list.

    Any help will be appreciated
    That's definetely an old version. Have you checked your store/log directory to see what error messages are being written to the log files? That will usually indicate exactly why the screen is blank and help you narrow down the issue.

    It's probably some outdated PHP function that is still being used by your older site but has been deprecated in more current versions.
    - Jeff

  5. #5
    Join Date
    Sep 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Have checked the Store Log the only errors are from AdminNotifications.php but these errors are with a running site on PHP 5.4
    I have created an exact duplicate of my setup in another folder and will remove plugins one by one to source which is giving troubles on PHP 8

    Thank you much appreciated

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: ZCA Bootstrap Template

    New install Zen 1.5.8a, PHP 7.3, Bootstrap 3.5.2, OPC 2.4.5 w/o guest checkout enabled.

    Error:
    [08-Apr-2023 08:32:23 America/New_York] Request URI: /xxxxx/ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
    --> PHP Parse error: syntax error, unexpected '.' in /home/xxxxx/public_html/xxxxx/includes/templates/bootstrap/templates/tpl_ajax_checkout_confirmation_default.php on line 321.

    Broken piece
    Code:
    <div id="checkoutConfirmationDefault-btn-toolbar" class="btn-toolbar justify-content-between confirm-order" role="toolbar">
    <?php echo '<strong'> . $title_continue_checkout . '</strong><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?>
    <?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?>
    </div>

    Error prevents checkout using PayPal Pro
    Last edited by mprough; 8 Apr 2023 at 01:47 PM.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  7. #7
    Join Date
    Apr 2009
    Posts
    493
    Plugin Contributions
    2

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by mprough View Post
    New install Zen 1.5.8a, PHP 7.3, Bootstrap 3.5.2, OPC 2.4.5 w/o guest checkout enabled.

    Error:
    [08-Apr-2023 08:32:23 America/New_York] Request URI: /xxxxx/ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
    --> PHP Parse error: syntax error, unexpected '.' in /home/xxxxx/public_html/xxxxx/includes/templates/bootstrap/templates/tpl_ajax_checkout_confirmation_default.php on line 321.

    Broken piece
    Code:
    <div id="checkoutConfirmationDefault-btn-toolbar" class="btn-toolbar justify-content-between confirm-order" role="toolbar">
    <?php echo '<strong'> . $title_continue_checkout . '</strong><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?>
    <?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?>
    </div>

    Error prevents checkout using PayPal Pro

    Move the Quote thus
    Code:
    <div id="checkoutConfirmationDefault-btn-toolbar" class="btn-toolbar justify-content-between confirm-order" role="toolbar">
    <?php echo '<strong>' . $title_continue_checkout . '</strong><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?>
    <?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?>
    </div>
    I have submitted a pull request, but it has not been actioned yet.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  8. #8
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Not sure if this is bootstrap related, 1.5.8a related, or just something messed up in my settings.

    I have a 20% off coupon with restrictions: Only allow on Category A. Category A has one product.

    I added that product to my order along with an indifferent item from Category B.

    Problem 1: The 20% discount being taken off is MORE than 20%. It's almost like it's factoring in tax or something?

    Problem 2: The TOTAL doesn't add up correctly. It's actually shorting me out money since the total should be higher.

    This screenshot should help: Click image for larger version. 

Name:	screenshot_608.jpg 
Views:	51 
Size:	44.8 KB 
ID:	20259

    And here is my Coupon Settings which appear to be correct (allowing the 20% discount to only apply to items in that category): Click image for larger version. 

Name:	screenshot_609.jpg 
Views:	52 
Size:	19.6 KB 
ID:	20260

    And here are the settings for the ot_coupon, where I don't have it calculating tax or shipping: Click image for larger version. 

Name:	screenshot_610.jpg 
Views:	61 
Size:	19.0 KB 
ID:	20261

    Can anyone help explain why those two problems are happening?

    EDIT: It's definitely related to tax in some way. I did a test with an account that didn't have tax and it calculated fine. So for some reason, the discount is being influenced by the tax, and it's miscalculating the total. Perhaps something to do with the ORDER in which the discount is applied and total is calculated?
    Last edited by Jeff_Mash; 17 Apr 2023 at 08:05 PM.
    - Jeff

  9. #9
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    In reference to the issue above, I was able to solve Problem #2 (subtotal being incorrect). This is related to the sorting order of the Order Total Modules. If I had the ot_coupon lower than the ot_tax (on the checkout page), then the ot_total was incorrect.

    By changing the Sort Order so that ot_coupon was displayed higher (meaning it has a lower sort order value) than the ot_tax, that seems to have corrected the ot_total calculation.

    I still cannot figure out WHY problem #1 is still happening: the coupon discount is being affected by something whenever it's used in a region with sales tax, even though I don't have sales tax being factored into my ot_coupon settings.
    - Jeff

  10. #10
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by lat9 View Post
    My bad; you need to add the custom-control-label class to that (er) <label> tag.
    But WHERE do I add that? This is the code that spits out the checkbox:

    Code:
    '<div class="custom-control custom-checkbox">' .
                zen_draw_checkbox_field('permLogin', '1', $this->checkbox_default, 'id="permLogin"') .
                '<label class="checkboxLabel" for="permLogin" title="' . TEXT_REMEMBER_ME_ALT . '">' . TEXT_REMEMBER_ME . '</label>' .
    			'</div>';
    As you can see, there is no way to edit the "class value" for the zen_draw_checkbox_field() function in that line of code.

    Now, I can APPEND a class value to it by doing this:

    Code:
    zen_draw_checkbox_field('permLogin', '1', $this->checkbox_default, 'class="custom-control-label" id="permLogin"')
    Then it only appends that class to the existing class like this (which still doesn't work):

    Code:
    <input type="checkbox" name="permLogin" value="1" checked="checked" class="custom-control-input custom-control-label" id="permLogin">
    The only way for it to work seems to be to change wherever zen_draw_checkbox_field() is getting that default "custom-control-input" when it outputs it. Where do we change THAT so that it can be something else?
    - Jeff

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 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

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