Thanks, I can confirm that the update button is now working, but the right corner in the first row seems to be missing and the headings in that row seems to have switched one place to the left.
Attachment 20856
Printable View
Thanks, I can confirm that the update button is now working, but the right corner in the first row seems to be missing and the headings in that row seems to have switched one place to the left.
Attachment 20856
There were two sections (one for the heading and one for the content) where that PHP conditional was removed. It looks like you got only one.
I did delete line 73 - 75, 77 - 79 and also 118 - 120 and 122 -124. Is there more than that?
Please pull the entire file from that commit:
https://github.com/lat9/ZCA-Bootstra...rt_default.php
I'm thinking that some modification you'd made is affecting that display.
Ah yes that worked, I must have missed something. Thanks a lot.
PHP 8.3/ZC 2.1.0/Bootstrap 3.7.4
Is there a neat way to force the template to use the "Bootstrap Template Additional Images Carousel" for all images?
Currently if I have four images and click "Larger Image", ZC will show only the main/primary image in the popup modal but if I click "Additional Images" it shows all four. What I would like to do is instead ALWAYS use the additional images carousel instead.
Not entirely convince it is Bootstrap template related but I am getting an odd alt title for category image.
The alt title being generated is " a generic image". Why?
I thought the category name would be applied to the category image alt title.
Example page can be seen here https://www.royal-fleur.com/valentines-day-flowers
Any suggestions?
Thank you
oh my....
saving a database query?
in YOUR_TEMPLATE/templates/tpl_index_categories.php
one can find the following code and make said change:
PHP Code:
//from
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
//to
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, $current_categories_name, SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
in bootstrap:
best.PHP Code:
//from
<div id="indexCategories-categoryImage" class="categoryImage">
<?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?>
</div>
//to
<div id="indexCategories-categoryImage" class="categoryImage">
<?php echo zen_image(DIR_WS_IMAGES . $categories_image, $current_categories_name, SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?>
</div>
In Zen Cart 1.5.8a with Bootstrap 3.7.0 I have a floating "Add to cart"-button. The product listing scrolls under the button.
Float the Add Selected to Cart button in the Bootstrap settings is set to "Always".
Display Product Add to Cart Button is set to 1, Display Multiple Products Qty Box Status and Set Button Location is set to 3. Both settings are in Product Listing.
With Zen Cart 2.1.0 and Bootstrap 3.7.4 I can not replicate this floating button. There is only a link "Add to cart" which does not even look like a button.
How can I set the floating button behaviour?
I found the reason. When I changed the language to English to make a screenshot for you (I only got this Zen Cart running locally), it worked correctly. When I shortened the Japanese text, it was OK. The original Japanese text was too long.
I changed function zen_image_submit in includes/functions/html_output.php line 304
from
toPHP Code:
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strlen($alt)<30)
Now it works.PHP Code:
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && mb_strlen($alt)<30)
v3.7.5 of the template is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2191
This release contains corrections for these GitHub issues:
#463: Correct comments in products-all/new page headers.
#459: Indicate to zc210's Layout Boxes Controller that the template doesn't support mobile sideboxes.
#454: Correct 3-page checkout country-selection is reset on form errors.
#462: Correct PHP Deprecation in tpl_columnar_display_carousel.php.
#466: Correct shopping-cart update "not working" on specific configuration.
Zen 2.1.0 PHP 8.3
Bootstrap 3.7.4
No other mods
The search header is on & displaying in the header correctly, but also in the right column.
~Melanie
No It's not
PHP 8.3 / ZCA 3.7.5 / ZC 2.1.0
This is kind of a weird question, but is there a way to replicate the smooth transition that that "Back to Top" button does on some pages? For example, I have a (somewhat) long terms and conditions complete with a Table of Contents. I wanted to know is there a way to replicate the smooth scrolling back to top for like chapters?
I managed to replicate this with the following:
But combining that with the "Back to Top" that pops up creates a weird stutter before it jumps back to top.Code:html {
scroll-behavior: smooth;
}
PHP 8.3.4, ZC 2.1.0, ZCABootstrap 3.7.6
I don't know what is wrong but for some reason I cannot show the shipping estimator on the shipping cart as either a button or listing.
I keep getting the following error code:
The only thing I get a reference to is:Code:[11-Feb-2025 14:12:01 America/New_York] PHP Fatal error: Uncaught TypeError: Cannot access offset of type array on array in E:\xampp\htdocs\justuptown\includes\modules\shipping_estimator.php:152
Stack trace:
#0 E:\xampp\htdocs\justuptown\includes\templates\bootstrap\templates\tpl_shopping_cart_default.php(229): require()
#1 E:\xampp\htdocs\justuptown\includes\templates\bootstrap\common\tpl_main_page.php(233): require('E:\\xampp\\htdocs...')
#2 E:\xampp\htdocs\justuptown\index.php(94): require('E:\\xampp\\htdocs...')
#3 {main}
thrown in E:\xampp\htdocs\justuptown\includes\modules\shipping_estimator.php on line 152
I can say removing the $currencies->currencies[$currency]['value'] bit of the code or just setting 'currency_value' to 1, causes the module to work and the shipping estimator form to display.Code:'currency_value' => isset($currency, $currencies->currencies[$currency]['value']) ? $currencies->currencies[$currency]['value'] : 1,
Odd enough I can run this on a barebones ZenCart and encounter no errors.
What's additionally weird is that the $currency variable isn't set (in either stock Zen Cart or stock Bootstrap) except for on the order_status page.
US Dollar, Australian Dollar, British Pounds, Bitcoin
The funny thing is I debug printed both variables and they ARE set.
Here's what $currency is set to:
Code:Debug [0/0]:Array
(
[id] => AUD
[text] => $
[title] => Australian Dollar
)
$currencies->currencies:
Code:
Debug [0/0]:Array
(
[USD] => Array
(
[title] => US Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.000000
)
[EUR] => Array
(
[title] => Euro
[symbol_left] => €
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 0.773000
)
[GBP] => Array
(
[title] => GB Pound
[symbol_left] => £
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 0.672600
)
[CAD] => Array
(
[title] => Canadian Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.104200
)
[AUD] => Array
(
[title] => Australian Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.178900
)
)
In what non-standard Zen Cart file is $currency set to that array? That's what the shipping_estimator is complaining about.
I'm trying to add a help button inside the OPC shipping card with the bootstrap template for one particular shipping method. The button I want to use is the blue square with the question mark inside it. I've got the button displayed but noting happens when I click it. The code is modeled after similar code for the button on the admin side and for the help link in the shopping cart page. What have I missed?
Code fragments follow:
From includes/templates/bootstrap/templates/tpl_modules_checkout_one_shipping.php starting at line 16
New file: includes/templates/bootstrap/modalboxes/tpl_flatquote_help.phpCode:?>
<fieldset>
<legend><?php echo $quotes[$i]['module']; ?> <?php echo (!empty($quotes[$i]['icon'])) ? $quotes[$i]['icon'] : '';
// bof edit to add help modal icon for international shipping
if ($shipping_module_id === 'flatquote') {
echo '<div class="pull-right noprint"><a class="btn btn-sm btn-default btn-help" data-toggle="modal" href="#flatquoteHelpModal" title="Help" role="button" rel="noopener"><i class="fa fa-question fa-lg aria-hidden="true"></i></a></div>';
}
// eof edit to add help modal icon for international shipping
?>
</legend>
There's also a new file in includes/languages/english/lang.flatquote_help.php containing defines for the above file.Code:<?php
/**
* Modal for international shipping flatquote help
*
* BOOTSTRAP v3.4.0
*
* @package templateSystem
* @copyright Copyright 2003-2016 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*/
zca_load_language_for_modal('flatquote_help');
?>
<!-- Modal -->
<div class="modal fade" id="flatquoteHelpModal" tabindex="-1" role="dialog" aria-labelledby="flatquoteHelpModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="flatquoteHelpModalLabel"><?php echo HEADING_TITLE_FLATQUOTE_MODAL; ?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo TEXT_MODAL_CLOSE; ?>"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<h2><?php echo SUB_HEADING_TITLE_1; ?></h2>
<p><?php echo SUB_HEADING_TEXT_1; ?></p>
<h2><?php echo SUB_HEADING_TITLE_2; ?></h2>
<p><?php echo SUB_HEADING_TEXT_2; ?></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo TEXT_MODAL_CLOSE; ?></button>
</div>
</div>
</div>
</div>
For unknown reason(s) the new file for the modal is never called based on trigger_error statements placed inside the file for debugging. So I suspect a problem with the new code I placed in tpl_modules_checkout_one_shipping.php but I'm stumped.
An image of the shipping card follows as it stands now. Further changes to the card are anticipated as I am trying to refactor the very old "Shipping by Quote" plugin.
Attachment 20906
Thank you for any help!
Dave
zc1.5.8a, ZCA-Bootstrap-Template-3.7.5, one_page_checkout-2.5.4
Why not just include that button and the associated modal popup as part of the shipping module's quote method?
Thanks lat9. I was planning to use $quotes['html_input'] for the actual Request Quote button (but haven't started work on it yet), and initially considered $quotes['icon'] for the help button, but opted not to. But I'll try it.
By the way, I found an error in the <i>...</i> expression and fixed it, but the modal still doesn't come up.
Dave
Cindy, I discovered I forgot to include the require statement for the modal template file, causing no response when clicking the help button. I have moved the help button html to the shipping module $this->quote[‘icon’] variable and it works as before, but I can’t figure out how to get the php require statement included in the shipping module. Right now it’s in the OPC shipping template file. And the modal is now coming up when the help button is clicked.
Dave
Question: is there already built-in settings to have the Add to Cart Box float at the top of the page of the mobile menu (in vertical/portrait orientation)?
If the phone is sideways (landscape mode), it's perfect because the Add to Cart Box floats on the right side of the screen.
But if the phone is in vertical/portrait mode, the Add to Cart Box is at the very bottom of the product page. I am getting a lot of customers who think the product is available and asking questions, because they aren't scrolling to the very bottom and seeing that it's out of stock or discontinued.
Just wondering if that functionality already exists (to both display the Add to Cart box near the top of the product description when in vertical screen orientation), or if it's something I can add through CSS (making a block of code hidden or visible depending on the size of the display, etc).
Attachment 20921
v3.7.6 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 for the following GitHub issues:
#471: Correct XSS vulnerabilty in Bootstrap carousels.
#472: Correct duplicate ID featuredCenterbox-card-header in featured-categories centerbox.
#468: Retire use of E_USER_ERROR; deprecated for PHP 8.4.
#473: Add icons to upper nav-bar links.
#470: Correct font-awesome class used for front-page slider.
#474: Correct action used for product notifications on the checkout_success page.
#476: Add about_us page-link to site_map page listing.
#477: Use consistent heading numbers for checkout_shipping_address page.
Can someone tell me how (if possible) to display a Shopping Cart icon in the top menu header for MOBILE devices?
In regular desktop mode, if someone adds an item to their shopping cart, the Shopping Cart link will display. But in mobile devices, if someone adds an item, there is no icon for them to see and click.
Instead, they have to click the menu (three horizontal lines) and then go to the Shopping Cart. It would be easier if the template would reduce this to one click instead of two.
We have had some customers complain that they couldn't find how to checkout, and we figured out it's because they continue browsing for more items, and then forget how to get back to the Shopping Cart. Having a little icon at the top of the mobile menu would eliminate this issue.
I didn't see if there was any configuration item in the Admin Menu to allow that to display or not.
Using this template with ZC 2.1.0. Looks great !
I am trying to display EZ Pages and possibly banners in the header instead of side boxes by way of layout boxes controller. I have no problem w/ search in the header, but that is the only box I am able to move to it. I have 3-6-3 set-up on template settings for columns and have reset the boxes, but still the only box that will go to header boxes is the search box. And for clarification, when I try and drag the box over I get a small icon to display not allowed icon. What am I missing? Anyone? Thanks !
Not really a bootstrap item as both are controllerd by your Configuration menu.
Under Configuration >> EZ-Pages Settings, you can turn the Header Bar on or off.
https://docs.zen-cart.com/user/admin...-banner-groups gives a good explanation of how to position banners and a visualization of where the three header/footer options can be placed.
Thanks for your response. I just realized it will go within the navmain bar. I was hoping to place w/ a float right within the logoWrapper. I was thinking I may need to adjust the tpl_header.php file to move that string to a new location. Does that sound right? Thanks again.
Open a thread outside bootstrap for discussion.
I was having a look at the demo of this template and noticed a "my favorites" link at the navmain Wrapper next to login. I would like to do the same and know where I can go to add other links there as well. Thanks !
the "my favorites" is related to a commercial wishlist plugin on lat9s website
I know I have asked before and got different answers. What is the correct way to remove the Back to Top icon from appearing?
The last suggestion was to enter in the site specific CSS the following below. But there was some that said it should not be done there. It worked on older versions but it reappeared on the upgrade.
<style>
#back-to-top.show {
display: none;
}
</style>
I wish this was a configurable option in the admin settings
Thank you
includes/extra_datafiles/dist.site-specific-bootstrap-settings.php
rename file to site-specific-bootstrap-settings.php
then edit line 23 from
toCode://$zca_disable_back_to_top = false;
Code:$zca_disable_back_to_top = true;
Hi,
I posted this in another thread, but no replies.. seeing as it's a Template related question, I am going to try here.
I have successfully installed the newest version of ZC - v2.1.0
I can't fix the following 2 issues and so after hours of trying and searching, I am coming here for help.
I am using the Bootstrap Template. I have the following 2 issues.
1. No matter what I do, I am not able to disable (remove) the Notifications Bar - Notify me of updates to ... under each product.
I have disabled sideboxes/product_notifications.php and in configuration I have Customer Product Notification Status on 0
It's still there under each product.!
2. My site has 3 columns. As soon as I click on a product, it opens a new window and all the right Side-boxes disappear. Is there a setting where I can enable these to show on all pages? I am assuming this is a template issue?
thank you to anyone who can help
Okay, so after a bit more research I see that the column says : 3 Column Layout (removes right column on product info, shopping cart & checkout pages). So this is not optional??
As to the notifications it says (or used to say): Option to include the Product Notification and Manufacturer Info side boxes on the product info pages. I don't have an option to disable this under Product info pages.. also as I mentioned above, I have tried removing the sidebox and notificaton.
The template, by default, disables the right/left columns on various pages in its /common/tpl_main_page.php:
You can change that by modifying that file in your site's clone of the template.PHP Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base, explode(',', str_replace(' ', '', 'product_info, document_general_info, document_product_info, product_music_info, product_free_shipping_info, shopping_cart, checkout_shipping, checkout_shipping_address, checkout_payment, checkout_payment_address, checkout_confirmation, checkout_success')))) {
$flag_disable_right = true;
}
if (in_array($current_page_base, explode(',', str_replace(' ', '', 'checkout_shipping, checkout_shipping_address, checkout_payment, checkout_payment_address, checkout_confirmation')))) {
$flag_disable_left = true;
}
For the notifications' choice removal, see Configuration // Bootstrap Template Settings // Display the Notifications Box on Product Pages
Not entirely a Bootstrap question but since it is the template I am using:
Is it possible to remove the Price column in the shopping cart and have the product price move after or near the product name?
I find the column redundant in my special case and feel i would be more clear at least on mobile if possible
Thank you
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.6
CKEditor version 5
Australia Post Shipping Module V2.5.7a
I have just updated my developement site to the modules above and I am getting this error after going from Bootstrap 3.72 tp 3.76.
Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/xxxx/public_html/dev.outdoorking.com/includes/init_includes/init_zca_bootstrap.php:27 Stack trace: #0 /home/xxxx/public_html/dev.outdoorking.com/includes/autoload_func.php(40): require_once() #1 /home/xxxx/public_html/dev.outdoorking.com/includes/application_top.php(246): require('/home/xxxx') #2 /home/xxxx/public_html/dev.outdoorking.com/index.php(25): require('/home/xxxx') #3 {main} thrown in /home/xxxx/public_html/dev.outdoorking.com/includes/init_includes/init_zca_bootstrap.php on line 27
I am able to get into the admin area but the main page is showing the error. Any assistance on how to fix the issue as I am try to make corrections to the display on tbe development website before I place the files on the live site.
This is the error log from the admin log file is :
[04-May-2025 19:26:50 Australia/Sydney] Request URI: /, IP address: 112.141.5.62, Language id 1
#0 /includes/init_includes/init_zca_bootstrap.php(27): zen_debug_error_handler()
#1 /includes/init_includes/init_zca_bootstrap.php(27): require()
#2 /includes/autoload_func.php(40): require_once('/home/xxxx')
#3 /includes/application_top.php(246): require('/home/xxxx')
#4 /index.php(25): require('/home/xxxx')
--> PHP Warning: require(includes/functions/zca_bootstrap_functions.php): Failed to open stream: No such file or directory in /includes/init_includes/init_zca_bootstrap.php on line 27.
[04-May-2025 19:26:50 Australia/Sydney] PHP Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/init_includes/init_zca_bootstrap.php:27
Stack trace:
#0 /includes/autoload_func.php(40): require_once()
#1 /includes/application_top.php(246): require('/home/xxxx')
#2 /index.php(25): require('/home/xxxx')
#3 {main}
thrown in /includes/init_includes/init_zca_bootstrap.php on line 27
[04-May-2025 19:26:50 Australia/Sydney] Request URI: /, IP address: 112.141.5.62
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/init_includes/init_zca_bootstrap.php:27
Stack trace:
#0 /includes/autoload_func.php(40): require_once()
#1 /includes/application_top.php(246): require('/home/xxxx')
#2 /index.php(25): require('/home/xxxx')
#3 {main}
thrown in /includes/init_includes/init_zca_bootstrap.php on line 27.
You've apparently either deleted or failed to upload the file /includes/functions/zca_bootstrap_functions.php from the template's distribution zip-file.
I will upload the file again and see what happens.
.Uploaded the file and now get a blank page on the front page.
Hi All,
Just to let you know that it appears to be my error by not uploading three of files from the zip folder.
Sorry to waste peoples time because of my error.
Thank again Lat9 for the assistance locating the files.
Hallo,
After hours or searching and googling, I have finally landed here and hope someone can help me.
We have just installed the new v2.1.0 using the Bootstrap Template.
Can someone please tell us where to change the font sizes! We have checked the CSS files, but can't find them.
What are we missing?
thanks for your help.
Copy the file (from your bootstrap template clone) /includes/templates/your-bootstrap/css/dist-site_specific_styles.php to a file named site_specific_styles.php in the same /css sub-directory and make your edits there.
The 'base' font sizes are controlled by bootstrap's CSS files. See this (https://getbootstrap.com/docs/4.6/ge.../introduction/) Bootstrap 4.6 documentation for additional details.
Thank you for your reply.
I opened up the file you mentioned - includes/templates/your-bootstrap/css/dist-site_specific_styles.php
But all I see is the following.
<?php
/*
* BOOTSTRAP 3.6.4
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstra...ecific-styling
* for additional information.
*/
?>
<style>
/* Your content here ... */
</style>
Is there no one specific file that has all the fonts and sizes in it already, which I can just customise?
I went to the link you sent, but sadly I am still not finding a simple file that has the fonts for easy changing.
I am still missing something :(
There's not one file; the font sizes are initialized by the base Bootstrap CSS/JS: https://getbootstrap.com/docs/4.6/co...and-paragraphs
You'll need to add your site-specific CSS styling to the /css/site_specific_styles.php file.
Another possibly helpful link: https://www.w3schools.com/bootstrap4...typography.asp
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.4
CKEditor version 5
Image Handler version 5
I am wanting to know how to get the search to start working as you type a number or letters into search box which I have two of. One is the magnifying glass and the other is in a side box (because people don't seem to know what the magnifying glass picture is for).
Is there an option in the configuration settings to adjust this or do I need to change a file and if a file change is needed which file etc.
Once again any assistance is a great help as I am slowly getting through the dev site correcting things (and then updating the live site) that were done in the past by other people (not from here) that lied that they new zencart software.
How many items are on your website? I have 17,000 and mine is instant..
I just tried your website and it's really slow. You may have a server problem or database locking issue.
Also, when I select different options on your header, it's opening a new tab. Not sure why you have it doing that?
I'd contact your host about database issue.
We have a lot of data that gets searched because we have different suppliers selling the same part with different part numbers. That is why you would see a few item show for the same part number or description.
Our search also is searching for model numbers as well as SKU and information in the description box. We have done it that way to make it easier for the customer to find things.
There definitely seems like something is wrong with your server configuration. The issue seems to stem from the amount of time your database is taking to return search results. For example, on my site, I used my Ajax Search to type in a very generic term (Playing Cards, which we have over 1200 listings) and the Ajax window popped up within seconds.
I noticed on your site that the query takes FOREVER. In other words, I do get your Ajax Search to pop up results, but you have to sit there and wait for it. For example, I typed in the word "Throttle" and it took forever, but it finally popped up. I then went back to your home page, hit the search again, and typed "Throttle" again, and they pop up almost instantly (probably because the results are cached to reload the same content, I imagine). But if you put in a new search (for "Redback"), it takes forever again. But after, it loads the same search just fine.
I don't know who your web host is, but I'd be curious what kind of system resources you have (RAM, Core Processors, etc). The problem doesn't seem to be the Ajax Search, but your database / server speed in general.
If you turn off the Ajax Search in the Bootstrap Settings, I'm guessing you will still see slow results (but not quite as slow since it's not Ajax). Just a guess.
Has your site always had a slow response time?
Also, are you able to see if your database has any OVERHEAD and the option to OPTIMIZE those tables? I use MySQL and it will tell me which tables can be optimized or cleaned up to reduce overhead.
Hi Jeff,
I did as you said and run optimmize the tables and this is what I got in return after completion.
outdoorking_dev.ceon_umm_category_mapping_templates
outdoorking_dev.ceon_umm_configs
outdoorking_dev.ceon_umm_other_pages
outdoorking_dev.ceon_umm_page_mapping_templates
outdoorking_dev.ceon_umm_product_mapping_templates
outdoorking_dev.ceon_uri_mappings
outdoorking_dev.ceon_uri_mapping_configs
outdoorking_dev.ceon_uri_mapping_prp_uri_parts
outdoorking_dev.customers_to_groups
outdoorking_dev.customer_groups
outdoorking_dev.ceon_uri_mapping_prp_uri_parts
outdoorking_dev.stripe
Table does not support optimize, doing recreate + analyze instead
It appears that ceonurl mapping module might be causing most of the issues because in the past the search worked reasonable well until I decided to cleanup the site because of people that worked on left a lot of files on the site that should not be there.
At present I am testing on my dev site first and when something is woirking correctly I update the live site and then move on to the next module and check if that has issues as well.
Slowly, slowly so I don't make errors with the live site.
Should I run the command that is suggested for the files that have issues?
Also as I don't use the stripe module should I remove it from the site to fix that issue?
I forgot to say that I am using bootstrap version 3.6.2 which I am going to update today to the same as the live site.
I realize this is an older post but I have a question regarding the discussion. Are you speaking of viewing the search bar in desktop mode? I am trying to get the search bar to display on the front page of responsive/portrait mobile without having to click on the toggler menu bar. Can you tell me if you know of a solution for this request? Thanks!
Responding to my own request after trying a couple of options one worked for me, right or wrong, it works.
In case anyone else wants to do the same, here is what I did...
file: tpl_header
Grabbed the below bit of code from around line# 72 and relocated it to just below "tagline" tag around #112.
Since it was placed below the tagline, it is using the TaglineWrapper css, so it fit perfect for my purpose. The only css I needed to add was in stylesheet.css*** I do not use the tagline so not sure how it would interact, I assume a bit of css to get it worked out if needed. It also moved the search bar from the navmain to the tagline area across from the logo on desktop which I prefer. Keep in mind this also removes it from the toggle in Responsive which I don't mind since it is displayed in the header.Code:@media only screen and (orientation:portrait)
#taglineWrapper {padding-top:10px;}}
Code Moved from around #72 to #112:
There is probably a bunch of different ways to make it work, but I am not a coder and this worked for me.Code:<?php
require DIR_WS_MODULES . zen_get_module_sidebox_directory('search_header.php');
?>
I am having the hardest time understanding this template system. I downloaded it from GitHub and after copying all relevant files to the site, it throws PHP error on the front end:
In addition, there is no Admin > Tools > ZCA Bootstrap Colors as the FAQ claims.PHP Code:
--> PHP Fatal error: Uncaught Error: Undefined constant "ZCA_BUTTON_COLOR" in /site/public_html/includes/templates/bootstrap/css/stylesheet_zca_colors.php:73
Can someone point me to the installation instructions and how to use this template as the download contains no readme, no instructions.
Thanks!
The zip-file includes a /docs/bootstrap directory; that's where you'll find the installation instructions as well as a pointer to the template's wiki articles: https://github.com/lat9/ZCA-Bootstrap-Template/wiki