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

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,600

Results 1,361 to 1,380 of 1,686
13 Jul 2024, 8:48 PM
#1361
lat9 avatar

lat9

Administrator

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

ZCA Bootstrap 4 Template [Support Thread]

amebb:

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 ?
Think about hiring someone that can correct whatever you've done.

13 Jul 2024, 8:50 PM
#1362
amebb avatar

amebb

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

I have resolved the issue and the site is now back up and running.

However, I am still missing prices on the product page for my products.

Also, when i got Admin > Configuration > BootStrap Configuration i can see my page etc but no information about the configuration etc

13 Jul 2024, 8:58 PM
#1363
amebb avatar

amebb

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

All i did was to follow the simple instructions of removing the old installation and then reinstalling the new installation of the template.

it may be a fantastic idea when these plugins, templates are released that they are fully working and not contain bugs. Just stating this and not trying to trigger anyone.!

13 Jul 2024, 9:06 PM
#1364
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

well, the template author and I just upgraded 4 websites using the template, and had no issues, so....

13 Jul 2024, 9:07 PM
#1365
amebb avatar

amebb

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

barco57:

well, the template author and I just upgraded 4 websites using the template, and had no issues, so....

well that is great. But for people like me who are not great with Php etc ... this is why we are hear asking for support.

16 Jul 2024, 8:37 AM
#1366
siliconbug avatar

siliconbug

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

amebb:

I have resolved the issue and the site is now back up and running.

However, I am still missing prices on the product page for my products.

Also, when i got Admin > Configuration > BootStrap Configuration i can see my page etc but no information about the configuration etc
I run the SQL query on my site and notice the same issue.

The template's configuration settings are recreated under a new configuration group ID, but the ID under the admin page still points to the old configuration group ID number. If you have the database backup, restore it and you'll be fine.

Not sure if it could be a clue for lat9, but if your site is fine with v3.6.5, stay with it until more info.

16 Jul 2024, 11:04 AM
#1367
siliconbug avatar

siliconbug

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

My site is running ZC v1.5.8a w/ PHP v7.4
After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

Maybe a note can be added to remind people who still use PHP v7.4?

16 Jul 2024, 11:14 AM
#1368
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Keep your software up-to-date.
PHP 7.4 is obsolete for a long time.
Even PHP 8.0 has reached EOL last year.

https://www.php.net/supported-versions.php

The absolute minimum you should run your E-Commerce is PHP 8.1

16 Jul 2024, 11:31 AM
#1369
amebb avatar

amebb

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

siliconbug:

I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

My site is running ZC v1.5.8a w/ PHP v7.4
After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

Maybe a note can be added to remind people who still use PHP v7.4?

Thank you for pointing this out

16 Jul 2024, 11:37 AM
#1370
amebb avatar

amebb

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi, very inresting what you say about Php...

On my site i am using PHP 7.4.33. If i was to update that version to php 8.1 would it cause any issues too my site?

My site version is V.1.5.8a

Thank you

16 Jul 2024, 11:40 AM
#1371
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Every Zen Cart version has a README with recommended PHP settings.

If you can't find a README you could look at github and search for older releases. There always is a README. Zen Cart is well documented.

I looked it up for you.
-> https://github.com/zencart/zencart/releases
-> https://github.com/zencart/zencart/blob/v158/README.md

16 Jul 2024, 12:46 PM
#1372
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

amebb:

Hi, very inresting what you say about Php...

On my site i am using PHP 7.4.33. If i was to update that version to php 8.1 would it cause any issues too my site?

My site version is V.1.5.8a

Thank you

Zencart itself would run better at 8.1 is the recomended php. Your plugins could be a whole different story. You would have to look at each one and see what php version it supports, and then do upgrades and testing. Many plugins list an old supported php, but just kept working so there was no update. Some you have to dig through the forum to find the correct tweak for. Some you can fix using the php update doc: https://docs.zen-cart.com/dev/plugins/php_updating/
And some are just broken

OR you can just hire someone like lat9 to figure it all out for you.

16 Jul 2024, 12:51 PM
#1373
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

siliconbug:

I finally figured out the issue of the price display box after upgrading to ZCA Bootstrap Template v3.7.x.

My site is running ZC v1.5.8a w/ PHP v7.4
After switching to PHP v8.1, the price display box shows up with ZCA Bootstrap Template v3.7.x correctly.
It looks like some functions in ZCA Bootstrap Template v3.7.x don't work well with PHP v7.4

Maybe a note can be added to remind people who still use PHP v7.4?
Nice sleuthing! With that information, I am able to recreate the issue under PHP 7.4.

The root-cause is the additional check on lines 192

    if ($display_price_top === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {

and line 241

if ($display_price_bottom === true && zen_get_products_display_price((int)$_GET['products_id']) > 0) {

The zen_get_products_display_price function returns a ***string ***similar to

<span class="mx-auto w-100 p-1 productBasePrice">$35.99</span>

which fails the > 0 test on PHP 7.4 but passes on PHP 8.0+. Go figure. I'll get that worthless clause removed from v3.7.2 of the template.

See this GitHub issue for resolution: https://github.com/lat9/ZCA-Bootstrap-Template/issues/414

16 Jul 2024, 1:09 PM
#1374
siliconbug avatar

siliconbug

Zen Follower

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

Re: ZCA Bootstrap 4 Template [Support Thread]

lat9:

Nice sleuthing! With that information, I am able to recreate the issue under PHP 7.4.
See this GitHub issue for resolution: https://github.com/lat9/ZCA-Bootstrap-Template/issues/414
The changes work on PHP v7.4, thanks!

16 Jul 2024, 1:41 PM
#1375
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Is the bootstrap version of tpl_order_status_default.php compatible with OPC so that guests can look up order status? I have overridden zc158a core files includes/templates/default/templates/tpl_order_status_default.php and includes/modules/pages/order_status/header_php.php with the OPC versions as instructed, but what should be used for tpl_order_status_default.php in bootstrap with OPC?

Dave
zc158a, OPC 2.5.2, ZCA Bootstrap 3.7.1

16 Jul 2024, 2:25 PM
#1376
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

Dave224:

Is the bootstrap version of tpl_order_status_default.php compatible with OPC so that guests can look up order status? I have overridden zc158a core files includes/templates/default/templates/tpl_order_status_default.php and includes/modules/pages/order_status/header_php.php with the OPC versions as instructed, but what should be used for tpl_order_status_default.php in bootstrap with OPC?

Dave
zc158a, OPC 2.5.2, ZCA Bootstrap 3.7.1
That template is compatible with OPC; for bootstrap, the template's tpl_order_status_default.php should be used.

16 Jul 2024, 3:06 PM
#1377
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

Re: ZCA Bootstrap 4 Template [Support Thread]

Shop Suey:

Every Zen Cart version has a README with recommended PHP settings.

If you can't find a README you could look at github and search for older releases. There always is a README. Zen Cart is well documented.

I looked it up for you.
-> https://github.com/zencart/zencart/releases
-> https://github.com/zencart/zencart/blob/v158/README.md

Even quicker is to go to https://docs.zen-cart.com/ and click on Server Requirements. The docs are your friend.

17 Jul 2024, 1:05 PM
#1378
lat9 avatar

lat9

Administrator

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

Re: ZCA Bootstrap 4 Template [Support Thread]

v3.7.2 of the ZCA Bootstrap Template is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2191

This release contains changes associated with the following GitHub issues:

#401: AJAX search's product count can be 'off' (again); variant-managed products might again 'explode' the count!
#404: Correct HTML id parameter in shipping-estimator modal.
#405: Use language-constant for modal shipping-estimator instead of hard-coded English.
#407: Reformat shipping-estimator layout to use 2-column display on medium and above viewports.
#409: Correct AJAX search not including keywords in a product's description; note, new configuration setting added!.
#410: Correct accessibility issue with shopping_cart page's template.
#413: Remove pre-zc158 processing from AJAX search class.
#414: Restore product-pricing display when the site's running on PHP 7.4.

26 Jul 2024, 1:13 PM
#1379
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi

Am experimenting with using bootstrap template for my next upgrade - downloaded latest version and I am tinkering with it.

Generally loving it, however I can't get font awesome social icons to work - have tried a number of permutations of v5 and v6 FA - I see conflicting info on what version is applicable.

If someone could please tell me how to get a facebook, pinterest and insta icons to appear please let me know.

26 Jul 2024, 2:32 PM
#1380
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,955
Plugin Contributions:
8

Re: ZCA Bootstrap 4 Template [Support Thread]

have you tried something like:

<a class="nav-link" href="https://www.instagram.com/mygramthing/" target="_blank" rel="noopener"><i class="fab fa-lg fa-instagram"></i></a>

for fa 6 you might need to do:

<i class="fa-brands fa-instagram"></i>
or
<i class="fa-brands fa-square-instagram"></i>