Results 1 to 10 of 1685

Hybrid View

  1. #1
    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?

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

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

    Quote Originally Posted by JimmyV View Post
    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?
    That "quantity in cart" display, in the ZC core, was intended to "only show" on a product's information page; that's where the product's type-specific handling comes into play and sets the $flag_show_product_info_in_cart_qty variable.

    Assuming (key-word) that all your products are of the same 'type', you can make a change in your override of the template's /includes/modules/bootstrap/product_listing.php.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

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

    I've just submitted v1.0.3 of the Bootstrap-4 template's customization for One Page Checkout; I'll post back here when it's available for download.

    This release corrects the presence of an unclickable radio-button when there's only one payment method available for an order (#7).

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

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

    Quote Originally Posted by lat9 View Post
    I've just submitted v1.0.3 of the Bootstrap-4 template's customization for One Page Checkout; I'll post back here when it's available for download.

    This release corrects the presence of an unclickable radio-button when there's only one payment method available for an order (#7).
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2305

 

 

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