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

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    492
    Plugin Contributions
    2

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Another thought, is your product price greater than 0 (zero)? As price is not displayed if price is zero. This could be an issue with your pricing or if your zen_get_products_display_price is not is not working as expected.

    First check to make sure you have the version of /includes/templates/bootstrap/templates/tpl_product_info_display.php from bootstrap 3.7.1

    check if that fixes things

    if not then if you add the line below in before the if statement at about line 238 it should display the values for display price bottom and the price.

    Code:
    echo '<p> display_price_bottom is ' . ($display_price_bottom ? 'true' : 'false' . ' display price ') . zen_get_products_display_price((int)$_GET['products_id']);
    Thus
    Code:
    <?php
    }
    echo '<p> display_price_bottom is ' . ($display_price_bottom ? 'true' : 'false' . ' display price ') . zen_get_products_display_price((int)$_GET['products_id']);
    if ($display_price_bottom === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {
    ?>
                <!--bof products price bottom card-->
    you should get a line output that looks like this
    Code:
    display_price_bottom is true display price £27.00
    if display price bottom is false or the price is £0.00 then we are a step closer to finding your issue.
    if noting is displayed then there is something else wrong.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    > I compare the HTML codes, and the <Product Price block> is gone in v3.7.x, as the picture shown above.

    There's another price block at the top. Look for that.
    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.

  3. #3
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by brittainmark View Post
    Another thought, is your product price greater than 0 (zero)?
    if noting is displayed then there is something else wrong.
    It's not $0

    Quote Originally Posted by swguy View Post
    > I compare the HTML codes, and the <Product Price block> is gone in v3.7.x, as the picture shown above.
    There's another price block at the top. Look for that.
    The only one I find in v3.7.1 is:
    <!-- eof Ask a Question -->
    <!--bof Attributes Module -->
    <!--bof Product Price block above Attributes -->
    <!--eof Product Price block above Attributes -->
    Nothing is in the Product Price block.

    Still looking for some potential side effects(?) from uninstalled plugins.

    Before that, I'll stay at v3.6.5, which shows the product price block correctly.

  4. #4
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by brittainmark View Post
    First check to make sure you have the version of /includes/templates/bootstrap/templates/tpl_product_info_display.php from bootstrap 3.7.1
    check if that fixes things
    if not then if you add the line below in before the if statement at about line 238 it should display the values for display price bottom and the price.

    Code:
    echo '<p> display_price_bottom is ' . ($display_price_bottom ? 'true' : 'false' . ' display price ') . zen_get_products_display_price((int)$_GET['products_id']);
    It says 3.7.0, but I think that's okay.

    After adding codes as you describe above, it shows this:
    Click image for larger version. 

Name:	2024-06-28_224344.jpg 
Views:	71 
Size:	53.8 KB 
ID:	20673

    Here's v3.6.5 without any modification:
    Click image for larger version. 

Name:	2024-06-28_224753.jpg 
Views:	50 
Size:	62.2 KB 
ID:	20674
    Last edited by siliconbug; 29 Jun 2024 at 06:54 AM.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Look at includes/templates/bootstrap/templates/tpl_product_info_display.php line 241. That's the lower display block.
    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. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Zen Cart 2.0.1, PHP 8.3.8, Bootstrap 3.7.1

    Reporting a possible bug. When the Ajax search header is enabled, it does not search in product descriptions. Turn it off & the regular header search returns the results correctly.

    Thanks
    Melanie
    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
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by mprough View Post
    Zen Cart 2.0.1, PHP 8.3.8, Bootstrap 3.7.1

    Reporting a possible bug. When the Ajax search header is enabled, it does not search in product descriptions. Turn it off & the regular header search returns the results correctly.

    Thanks
    Melanie
    GitHub issue created: https://github.com/lat9/ZCA-Bootstra...ate/issues/409

  8. #8
    Join Date
    Apr 2009
    Posts
    123
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by swguy View Post
    Look at includes/templates/bootstrap/templates/tpl_product_info_display.php line 241. That's the lower display block.
    My site is ZC1.5.8a with PHP v7.4
    I removed 2 old plugins supporting up to v1.5.5 and added test codes to line 240.
    It looks like this:
    <?php
    }
    echo '<p> display_price_bottom is ' . ($display_price_bottom ? 'true' : 'false' . ' display price ') . zen_get_products_display_price((int)$_GET['products_id']);
    if ($display_price_bottom === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {
    ?>
    And here's the result:
    Click image for larger version. 

Name:	2024-06-28_224344.jpg 
Views:	43 
Size:	53.8 KB 
ID:	20683

    If I overwrite all files from package v3.6.5, the price block shows up:
    Click image for larger version. 

Name:	2024-06-28_224753.jpg 
Views:	47 
Size:	62.2 KB 
ID:	20684

    Still confused about this situation.

  9. #9
    Join Date
    May 2008
    Location
    UK
    Posts
    400
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Hi
    I am having the same issues where i cannot see the product prices.

    I have checked to if the template was installed correctly and that is all fine.

    Can anyne help me fix this issue or do i need to downgrade my bootstrap template?

    Thank you

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

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Quote Originally Posted by amebb View Post
    Hi
    I am having the same issues where i cannot see the product prices.

    I have checked to if the template was installed correctly and that is all fine.

    Can anyne help me fix this issue or do i need to downgrade my bootstrap template?

    Thank you
    ... and what version of the template do you have installed?

 

 
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