Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,594

Results 1,341 to 1,360 of 1,686
24 Jun 2024, 11:25 PM
#1341
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

ZCA Bootstrap 4 Template [Support Thread]

lat9:

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+.

25 Jun 2024, 7:41 PM
#1342
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

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?

25 Jun 2024, 9:58 PM
#1343
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

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

V3.6.5:
Attachment 20667

V3.7.1
Attachment 20668

25 Jun 2024, 10:06 PM
#1344
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

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: 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-->
28 Jun 2024, 9:09 AM
#1345
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

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.

echo '<p> display_price_bottom is ' . ($display_price_bottom ? 'true' : 'false' . ' display price ') . zen_get_products_display_price((int)$_GET['products_id']);

Thus

<?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

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.

28 Jun 2024, 9:22 AM
#1346
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,686
Plugin Contributions:
56

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.

28 Jun 2024, 10:46 PM
#1347
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

brittainmark:

Another thought, is your product price greater than 0 (zero)?
if noting is displayed then there is something else wrong.

It's not $0

swguy:

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.

29 Jun 2024, 5:49 AM
#1348
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

brittainmark:

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.

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:
Attachment 20673

Here's v3.6.5 without any modification:
Attachment 20674
29 Jun 2024, 6:53 PM
#1349
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,686
Plugin Contributions:
56

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.

2 Jul 2024, 12:34 PM
#1350
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,280
Plugin Contributions:
37

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

2 Jul 2024, 1:23 PM
#1351
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

mprough:

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-Bootstrap-Template/issues/409

3 Jul 2024, 2:13 PM
#1352
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
125
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

swguy:

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:
Attachment 20683

If I overwrite all files from package v3.6.5, the price block shows up:
Attachment 20684

Still confused about this situation.

11 Jul 2024, 8:55 AM
#1353
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
406
Plugin Contributions:
0

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

11 Jul 2024, 11:52 AM
#1354
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

amebb:

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?

11 Jul 2024, 1:26 PM
#1355
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
406
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

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

I am using version - ZCA Bootstrap-4

11 Jul 2024, 1:57 PM
#1356
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

amebb:

I am using version - ZCA Bootstrap-4
That's the *name *of the template; look in Configuration :: Bootstrap Template Settings. The installed version number is displayed there.

11 Jul 2024, 3:08 PM
#1357
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
406
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Sorry my fault... The version is 3.7.1

thank you

12 Jul 2024, 9:57 AM
#1358
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
406
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Would i be better off uninstalling the template and reinstalling a previouus version, or is there a fix to this bug ?

Thanks

12 Jul 2024, 1:02 PM
#1359
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

amebb:

Would i be better off uninstalling the template and reinstalling a previouus version, or is there a fix to this bug ?

Thanks
You could try simply removing the template's configuration settings and try again. You've been having issues with more than just the template on your site re-do.

Backup your database.
Navigate to Configuration :; Bootstrap Template Settings.
Observe the link in your browser's address-bar; it'll read something like https://example.com/youradmin/index.php?cmd=configuration&gID=47. Note the value of the gID parameter.
Navigate to Tools :: Install SQL Patches.
Copy/paste the following SQL commands into the tool's form, changing each xx to the value for the gID parameter you found above

DELETE FROM configuration WHERE configuration_group_id = xx;
DELETE FROM configuration_group WHERE configuration_group_id = xx;

Run the SQL query; the template's configuration settings will be recreated upon the admin page's refresh.

13 Jul 2024, 8:26 PM
#1360
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
406
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

You could try simply removing the template's configuration settings and try again. You've been having issues with more than just the template on your site re-do.

Backup your database.
Navigate to Configuration :; Bootstrap Template Settings.
Observe the link in your browser's address-bar; it'll read something like https://example.com/youradmin/index.php?cmd=configuration&gID=47. Note the value of the gID parameter.
Navigate to Tools :: Install SQL Patches.
Copy/paste the following SQL commands into the tool's form, changing each xx to the value for the gID parameter you found above

DELETE FROM configuration WHERE configuration_group_id = xx;
DELETE FROM configuration_group WHERE configuration_group_id = xx;

> 
> Run the SQL query; the template's configuration settings will be recreated upon the admin page's refresh.



> **lat9:**
>
> You could try simply removing the template's configuration settings and try again.  You've been having issues with more than just the template on your site re-do.
> 
> Backup your database.
> Navigate to ***Configuration :; Bootstrap Template Settings***.
> Observe the link in your browser's address-bar; it'll read something like <https://example.com/youradmin/index.php?cmd=configuration&gID=47>.  Note the value of the gID parameter.
> Navigate to ***Tools :: Install SQL Patche***s.
> Copy/paste the following SQL commands into the tool's form, changing each xx to the value for the gID parameter you found above
> ```
DELETE FROM configuration WHERE configuration_group_id = xx;
DELETE FROM configuration_group WHERE configuration_group_id = xx;

Run the SQL query; the template's configuration settings will be recreated upon the admin page's refresh.

Thank you for your help.

I uninstalled the Bootstrap template and also run the script to delete lines from my database

The issue that i have now is that when i choose one of the default templates i get a blank screen.
I am unable to see anything from my site.

The admin still works but the main site is a blank page.

What can i do next ?