Is it possible to upgrade Bootstrap 4 to version 5?
Is it possible to upgrade Bootstrap 4 to version 5?
So I have this installed for years I suppose. Two environments which I thought were identical.
However 1 config shows right column and under that is enable ajax search
Config 2 has 11 fields between here which includes turning on and off the manufacturers box and more
This lack of those fields is causing an error on the system without those fields. Perhaps I missed a step on one of these which was pretty important because I can throw 1,000 error logs a day with this.
Also the one missing the fields says date added as 1/9/23 not today (day of install of latest version) the actual init file generating the error is in fact from 3.6.2 and yet those fields do not show in admin.
In the two site's Bootstrap configuration display, do both sites display the same Bootstrap version? Is the same version of Zen Cart (and PHP) being used on both ... and what are those versions?
both say 3.6.0 on the template selector both have the entire packet added into the various locations checked twice the dates of each the new files from the github same php 7.4.xx (yes I know moving servers) and zen 1.5.7c. one was done yesterday.
Now to be clear the error messages predate the template upgrade I upgraded the template to remove the error message as it's a bootstrap file error as shown here
--> PHP Warning: Use of undefined constant PRODUCT_INFO_SHOW_BOOTSTRAP_MODAL_SLIDE - assumed 'PRODUCT_INFO_SHOW_BOOTSTRAP_MODAL_SLIDE' (this will throw an Error in a future version of PHP) in /var/www/vhosts/.com/httpdocs/shop/includes/templates/bootstrap/templates/tpl_product_info_display.php on line 80.
--> PHP Warning: Use of undefined constant PRODUCT_INFO_SHOW_NOTIFICATIONS_BOX - assumed 'PRODUCT_INFO_SHOW_NOTIFICATIONS_BOX' (this will throw an Error in a future version of PHP) in /var/www/vhosts/.com/httpdocs/shop/includes/templates/bootstrap/templates/tpl_product_info_display.php on line 300.
--> PHP Warning: Use of undefined constant PRODUCT_INFO_SHOW_MANUFACTURER_BOX - assumed 'PRODUCT_INFO_SHOW_MANUFACTURER_BOX' (this will throw an Error in a future version of PHP) in /var/www/vhosts/.com/httpdocs/shop/includes/templates/bootstrap/templates/tpl_product_info_display.php on line 306.
So based on this which traces to those specific settings not having them is causing an issue.
Last edited by JimmyV; 7 Feb 2024 at 11:34 PM.
Hi there,
Once again, loving the template.
I would like to know if anyone here can help me with the following.
I am looking for an easy way to swap the normal price and the special price, perhaps move them to separate lines.
I will attach two images, first is how it is now and the second is what I am trying to achieve.
![]()
Thanks in advance for any help/suggestions
*edit: Without having to fiddle to much in ZcaBootstrapObserver.php
@JimmyV, that feels like a failed template upgrade from an older (pre-v3.2.0) version. I'll send you a PM with the correction, but I need you to navigate to your admins' Configuration :: Bootstrap Template Settings and tell me what displays in the browser's address bar (the value might be different on the two sites). That'll look something like
What I'm really interested in is the value after &gID.Code:https://yoursite.com/admin/index.php?cmd=configuration&gID=49
ZC 2.1.0. My Store is set to Showcase with Prices (Admin Option 2), and Add to Cart turned off (Display Product Price/Add to Cart Admin Option 0), yet I still get the Add to Cart box in my Product Listings.
If I switch from ZCA Bootstrap-4 to Responsive Classic - extended, the Add to Cart box disappears.
I'm on a PC BTW It makes no difference what value I set for "Float the Add Selected to Cart button?".
Just checked my cell phone (in Bootstrap) and the box is there as well.
There looks to be an override hierarchy or conflict that I'm not following. Thanks in advance for any suggestions you can offer.