Page 133 of 155 FirstFirst ... 3383123131132133134135143 ... LastLast
Results 1,321 to 1,330 of 1550
  1. #1321
    Join Date
    Jan 2015
    Location
    Cyprus
    Posts
    76
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by dbltoe View Post
    It looks like you have some bad HTML code at
    Code:
    Courier Locations</a>">Courier Locations</a>">
    Without seeing the site's code, it should probably be
    Code:
    Courier Locations">Courier Locations</a>
    This is the code
    'HEADING_ORDER_COMMENTS' => 'Special Instructions or Comments About Your Order - Indicate the courier location nearest you from this list <a href="https://cyp.acscourier.net/en/myacs/my-tools/acs-store-locator" target="_blank">Courier Locations</a>',

  2. #1322
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: ZCA Bootstrap Template

    Yet, if you look at your second image, something is causing a lot of extra HTML to be sent to the browser.

  3. #1323
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    199
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap Template

    It's hard to be sure without the code, but it looks like some characters need to be escaped in your constant, probably double quotes.
    When displaying it, it probably goes through some function where double quotes inside the constant might need to be escaped.
    Just an idea.

  4. #1324
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: ZCA Bootstrap Template

    In tpl_checkout_payment_default.php, I can see the logic for building a bootstrap-style checkbox for payment methods that have a field which includes a checkbox - it's on line 120 in version 3.7.0.

    But this doesn't seem to fire correctly for Authorize AIM, which does

    $selection['fields'][] = [
    'title' => 'Keep Card on File',
    'field' => zen_draw_checkbox_field('authorizenet_cim_save', '', true, 'id="authorizenet_cim_save" '),
    'tag' => $this->code . '_save',
    ];

    and produces

    <label for="authorizenet_cim_save" class="inputLabelPayment">Keep Card on File</label>
    <input type="checkbox" name="authorizenet_cim_save" checked="checked" id="authorizenet_cim_save" class="custom-control-input">

    which is lacking the enclosing div of class "custom-control custom-checkbox" (and thus does not actually display a checkbox, just the text.)
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #1325
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: ZCA Bootstrap Template

    OK I see. The code on line 120 is for credit classes.

    Perhaps the logic from line 120-140 of tpl_checkout_payment_default.php needs to be reused in line 223 (where payment classes are handled).
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #1326
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    I support this suggestion. The symptoms are the same as I reported over 4 years ago in post 222 of this thread, so a similar solution should work.

  7. #1327
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: ZCA Bootstrap Template

    I ran a test and it looked like the required solution.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #1328
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,842
    Plugin Contributions
    11

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by swguy View Post
    In tpl_checkout_payment_default.php, I can see the logic for building a bootstrap-style checkbox for payment methods that have a field which includes a checkbox - it's on line 120 in version 3.7.0.

    But this doesn't seem to fire correctly for Authorize AIM, which does

    $selection['fields'][] = [
    'title' => 'Keep Card on File',
    'field' => zen_draw_checkbox_field('authorizenet_cim_save', '', true, 'id="authorizenet_cim_save" '),
    'tag' => $this->code . '_save',
    ];

    and produces

    <label for="authorizenet_cim_save" class="inputLabelPayment">Keep Card on File</label>
    <input type="checkbox" name="authorizenet_cim_save" checked="checked" id="authorizenet_cim_save" class="custom-control-input">

    which is lacking the enclosing div of class "custom-control custom-checkbox" (and thus does not actually display a checkbox, just the text.)
    i can not speak of any missing divs; but this template DOES produce the checkbox. you can see it in your code above.

    whether the code for this template needs to be addressed, i also can not say. but the "missing" checkbox can be seen by addressing the css.

    i use something like this.

    Code:
    #authorizenet_cim-cc-cvv {
        width: 15%
    }
    #authorizenet_cim_save {
        opacity: 100%;
        position: initial;
    }
    label[for=authorizenet_cim_save] {
        display: flex;
    }
    at one point, i was going to add it to the payment module, but alas i got distracted.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #1329
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: ZCA Bootstrap Template

    > i can not speak of any missing divs; but this template DOES produce the checkbox. you can see it in your code above.

    It does not, which is why I posted this. The specific reason is that a bunch of steps are required to get checkboxes to show in Bootstrap.
    These steps are missing. They were added for order total modules but not for payment modules.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #1330
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,290
    Plugin Contributions
    125

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    You can see in the attached image how it's rendered (without the checkbox).
    Attached Images Attached Images  
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

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

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