Can't take credit for the UI. The modal search was based on the AJAX search contribution by @balihr.
Printable View
Ajax search is a brilliant addition.
I have a slight issue which must be due to configuration or permission on my sites. The Ajax search works perfectly most of the time.
In production, select the magnifying glass, enter a search term, and the items display in the drop down. If I click the "View All" button the products are displayed whereas if I press enter none of the products are displayed.
In my test environment I can partly reproduce it as the first search does not display results but a subsequent search using a different search word will.
There are no error log files created.
Has anyone seen something like this?
environment:
PRODUCTION: Zen Cart 157c; Apache 2.4.41; PHP 7.4.3; MySQL 8.0.27; Ubuntu 5.4.0
Dev: Zen Cart 157c; Apache 2.4.46; PHP 7.4.13; MySQL 5.5.5 -10.4.17-MariaDB; XAMPP v3.2.4; Windows 10 build 19041
I have loaded Bootstrap onto a vanilla version of zc157c and am still getting inconsistent results. Pressing the "Show All" button always works and displays the products retrieved via the AJAX search.
Pressing the enter key only works sometimes. In most cases I land back on the Home Page.
It is as if the full URL associated with the "Show All" button is not being fired when the Enter key is pressed.
Deleted
After extensive testing my conclusion is thein the ajax_search.js file is not actioning or window .location is being altered so the final page displayed is not the advanced search results page.Code:window.location.replace(searchLink);
By addingimmediately after that line the results are always returned when the enter key is pressed.Code:return false;
I tried to minify the file as well but my minified result does not work. I assume minify requires libraries to be added.
zc157c ; ZCA Bootstrap-4
HI May I get some help on Attribute Image Swatch? I have read dozens of documents & watched Youtube tutorials but none seem to have covered adding image to the Swatch. I tried all ways but the image is not showing. I have also noted that Attributes of option type Read Only cannot have images associated & even if defined will not be displayed. So over the last days I have tested all types but just can't have the attribute image shown . I present a case scenario here with some screenshots. In this case I have a Artistic Wire 18g in 3 colours, I would like to show the colors with attribute image. As you can see the options are shown just no way of getting the images up. The attribute image folder has permission code 755 at top level & 644 for files. If someone can please provide some guidance or is this function not available in the ZCA Bootstrap-4 template?
Appreciate any guidance!
I'm gonna take a stab in the dark here. Try changing the Silver.jpg to silver.jpg
Sometimes, beginning a filename with a capital letter can be a problem.
Newbie or beginner at bootstrap question:
What s the best way to turn right column off?
i switched setting to 0 instead of 3.
Then per instructions, increase center column to 9 to maintain the 12 total requirement.
However, when i do this right column is off but whatever box that were there are getting slammed under the left column!
I know i can fix it by turning the unneeded right boxes off.
The question is: is it normal behavior? or Am i missing something?
Thank you for your time