Results 1 to 10 of 1677

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,931
    Plugin Contributions
    96

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by todoonada View Post
    The title and input fields are out of line for the credit card data input.
    Zen Cart version is 1.5.7d.
    Does anyone know how to align them? The title is a label and the input field is in an iframe.
    Click image for larger version. 

Name:	Screenshot from 2022-03-01 17-42-43.png 
Views:	119 
Size:	12.7 KB 
ID:	19913
    ... not without seeing how those input fields are rendered. What payment method is in use?

  2. #2
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by lat9 View Post
    ... not without seeing how those input fields are rendered. What payment method is in use?
    Of course. I forgot to give this important piece of information.
    It is the Square payment module.

  3. #3
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    407
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by lat9 View Post
    ... not without seeing how those input fields are rendered. What payment method is in use?
    with zc157d and standard ZCA bootstrap template on my test site the default is
    Attachment 19914

  4. #4
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by OldNGrey View Post
    with zc157d and standard ZCA bootstrap template on my test site the default is
    Attachment 19914
    That looks quite different. You have an extra filed for date and both date fields are of the select type.
    I use same zencart version like you and standard bootstrap template.
    Is the code for cc-input coming from the cc-vendor? This might explain why it looks different depending on the country the shop is in.

  5. #5
    Join Date
    Sep 2012
    Location
    Upstate South Carolina
    Posts
    106
    Plugin Contributions
    2

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Our form looked like todoonada's also. We adjusted the CSS, per the Square installation instructions:

    5. "The styling of the Square input fields is different from the rest of my payment input fields."
    The module contains some CSS markup in the very bottom of the `/includes/modules/pages/checkout_payment/jscript_square.php` file, intended to create uniformity for the custom fields Square creates. For 99% of stores you will NOT need to change this; but in rare cases you may want to alter this CSS slightly to suit your needs.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,931
    Plugin Contributions
    96

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by ChuckPhillips View Post
    Our form looked like todoonada's also. We adjusted the CSS, per the Square installation instructions:

    5. "The styling of the Square input fields is different from the rest of my payment input fields."
    The module contains some CSS markup in the very bottom of the `/includes/modules/pages/checkout_payment/jscript_square.php` file, intended to create uniformity for the custom fields Square creates. For 99% of stores you will NOT need to change this; but in rare cases you may want to alter this CSS slightly to suit your needs.
    Thanks, @ChuckPhilips, for filling in the missing details.

  7. #7
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by ChuckPhillips View Post
    Our form looked like todoonada's also. We adjusted the CSS, per the Square installation instructions:

    5. "The styling of the Square input fields is different from the rest of my payment input fields."
    The module contains some CSS markup in the very bottom of the `/includes/modules/pages/checkout_payment/jscript_square.php` file, intended to create uniformity for the custom fields Square creates. For 99% of stores you will NOT need to change this; but in rare cases you may want to alter this CSS slightly to suit your needs.
    Thank you. Never thought about searching this file for css.

  8. #8
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    Quote Originally Posted by ChuckPhillips View Post
    Our form looked like todoonada's also. We adjusted the CSS, per the Square installation instructions:

    5. "The styling of the Square input fields is different from the rest of my payment input fields."
    The module contains some CSS markup in the very bottom of the `/includes/modules/pages/checkout_payment/jscript_square.php` file, intended to create uniformity for the custom fields Square creates. For 99% of stores you will NOT need to change this; but in rare cases you may want to alter this CSS slightly to suit your needs.
    Still I got a problem to figure out how to align label and textfield.
    If I want to go add a line break after the label and change /includes/languages/english/modules/payment/square.php to define('MODULE_PAYMENT_SQUARE_TEXT_CVV', 'CVV Number:<br />'.);
    the line break happens after the textfield and not after the label.
    Adding CSS at the end of /includes/modules/pages/checkout_payment/jscript_square.php also was not successful.

    If someone knows how to get label and textfield can be aligned, this information is greatly appreciated.

    Below is a comparison between the standard layout (looks fine) and bootstrap (not aligned).
    Click image for larger version. 

Name:	Screenshot from 2022-03-01 17-42-43.jpg 
Views:	106 
Size:	12.1 KB 
ID:	19915

  9. #9
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    I found the problem of the misalignment.
    The problem is that the labels get display: inline-block; from https://cdn.jsdelivr.net/npm/bootstr...tstrap.min.css.
    This can be overwritten by adding display: block; in the aforementioned /includes/modules/pages/checkout_payment/jscript_square.php
    .inputLabelPayment::after {display: block;content: "\A"; white-space: pre;}

  10. #10
    Join Date
    Feb 2008
    Location
    Philadelphia
    Posts
    290
    Plugin Contributions
    3

    Default Re: ZCA Bootstrap 4 Template [Support Thread] - Ajax search

    On here when I am on a product page it says "quantity in cart: 1" for example above the add box and button.

    However when you look at a category listing by row (setting "1" under columns per row) it does not show the above guidance.

    Looking at product info display I can see the entry to get that display on about line 160 on my particular php file.

    $display_qty = ($flag_show_product_info_in_cart_qty == 1 && $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '';

    However, I am having a brain freeze on where to insert this statement to get it to show on the rows setup or columns for that matter even set on "0" as recommended it doesn't display.

    So when you look at a grid on a laptop you have say 3-5 products across and tons of space in each box or row where this can be inserted but where?

 

 

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