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
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
No It's not
PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
**I answer questions in the forum, private messages are not conducive to a helpful community.
Bookmarks