Results 1 to 10 of 1685

Hybrid View

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

    Default Re: ZCA Bootstrap Template

    Just noticed that the product price hasn't shown up on the product info page since upgrading to v3.7.0, and v3.7.1 gives me the same issue.
    I downgrade to v3.6.5, and it shows up again.

    However, it seems "Product Info Pricing Location" is forced to display in "Both" now, even if I choose above or below only. "Product Info Pricing Location" will show only once if the product page contains "Qty Discounts Off Price".

    Is there anything I should do while upgrading/downgrading?
    Last edited by siliconbug; 22 Jun 2024 at 10:09 PM.

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

    Default Re: ZCA Bootstrap Template

    I'm unable to replicate this issue on Bootstrap 3.7.1 running on zc201. That is, the

    I'll note that the Product Info Pricing Location setting applies only when a product includes attributes. The original (above/below the attributes' selection) display of the pricing was, I think, to have the price visible at the top of the page and also close to the add-to-cart button.

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

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by lat9 View Post
    I'm unable to replicate this issue on Bootstrap 3.7.1 running on zc201. That is, the
    Thank you for trying.

    Under the same environment, built-in templates and Bootstrap v3.6.5 can show product prices well. I'm trying to remove some other plugins to see if there's any conflict when I upgrade to v3.7+.

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

    Default Re: ZCA Bootstrap Template

    Long shot. Have you looked at the HTML code to make sure that the price is not displaying white on white so you cannot see it. I think I had this problem because i had added some custom css to change the colour of the price?
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

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

    Default Re: ZCA Bootstrap Template

    I didn't make any CSS changes, and it looks like the price display box has disappeared, not in white.


    V3.6.5:
    Click image for larger version. 

Name:	2024-06-25_145202.jpg 
Views:	49 
Size:	25.4 KB 
ID:	20667

    V3.7.1
    Click image for larger version. 

Name:	2024-06-25_145022.jpg 
Views:	62 
Size:	20.0 KB 
ID:	20668

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

    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.

    v3.6.5:
    <!-- eof Ask a Question -->

    <!--bof Attributes Module -->
    <!--eof Attributes Module -->

    <!--bof free ship icon -->
    <!--eof free ship icon -->

    <!--bof Quantity Discounts table -->
    <!--eof Quantity Discounts table -->

    <!--bof Product Price block -->
    <!--bof products price bottom card-->
    <div id="productsPriceBottom-card" class="card mb-3">
    <div id="productsPriceBottom-card-body" class="card-body p-3">
    <h2 id="productsPriceBottom-productPriceBottomPrice" class="productPriceBottomPrice">
    <span class="mx-auto w-100 p-1 normalprice">$70.00 </span><span class="mx-auto w-100 p-1 productSpecialPrice">$49.99</span><span class="mx-auto w-100 p-1 productPriceDiscount">Save:&nbsp;29% off</span></h2>
    </div>
    </div>
    <!--eof products price bottom card-->
    <!--eof Product Price block -->
    <!--bof Add to Cart Box -->
    <!--bof add to cart card-->
    v3.7.1
    <!-- eof Ask a Question -->
    <!--bof Attributes Module -->
    <!--eof Attributes Module -->
    <!--bof Add to Cart Box -->
    <!--bof add to cart card-->

  7. #7
    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\

  8. #8
    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.

  9. #9
    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.

  10. #10
    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.

 

 

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