lat9 / ZCA-Bootstrap-Template

A Bootstrap-4 template for Zen Cart versions 1.5.8 through 2.1.0. Forked from https://github.com/zcadditions/ZCA-Bootstrap-Template-for-1.5.6-v2.0.0c. See the demo site, below, for additional information.
https://zc158.vinosdefrutastropicales.com/zc158/index.php?main_page=index
GNU General Public License v3.0
4 stars 14 forks source link

Quantity entry on product listing page problems #442

Open daphilli224 opened 1 week ago

daphilli224 commented 1 week ago

For certain browser window sizes, the number 0 (default value) in the quantity boxes on product listing pages partially or completely disappears. As the user reduces the size of the window, the size of the quantity box reduces until the left and right padding reduces and finally eliminates the space for the 0, making entry of a quantity to add to the cart from this screen difficult and/or confusing. For example, if the 0 does not show, entering a 1, makes the quantity 10. Reducing the window size further, moves the quantity box below the "Add:". See screenshots: window widths about 1163px and 1288px.

Possible fixes: (1) set the left and right padding to 0, and center the 0 or entry in the box, (2) set the quantity size box width to a fixed value, like the "Add:" box (i.e., don't let it reduce as the window size reduces, or (3) increase the point at which the quantity box moves below the "Add:" so the 0 or entered value is always visible.

Window width about 1163px Window width about 1288px
lat9 commented 2 days ago

Are the left/right sideboxes enabled? What are the settings for these bootstrap configuration values? image

... and where does that ( in the quantity value come from? Never mind; that's the start of the 0.

P.S. I'm not seeing that shrinkage when I reduce the page-size; do you have any site-specific CSS that might be "interfering"?

daphilli224 commented 2 days ago

Both sideboxes are enabled although not shown on the screen shots. The configuration values are 3, 6, and 3, for left column width, center column width, and right column width respectively. The “(“ in the quantity value is a “0” with the right half not visible because the space is inadequate to display the entire digit. The “0” is the default value for the field. I have not looked up specifically where it is set.

BTW, zc1.5.8a, php 8.2, bootstrap template version 3.7.3.

Dave

On Sep 19, 2024, at 5:58 PM, lat9 @.***> wrote:

Are the left/right sideboxes enabled? What are the settings for these bootstrap configuration values? image.png (view on web) https://github.com/user-attachments/assets/16c01b92-9332-4d32-b0a8-aa242404ae52 ... and where does that ( in the quantity value come from?

— Reply to this email directly, view it on GitHub https://github.com/lat9/ZCA-Bootstrap-Template/issues/442#issuecomment-2362273555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVXNN2E64S7OEMYZIP3VGSDZXNCHJAVCNFSM6AAAAABOF424H2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGI3TGNJVGU. You are receiving this because you authored the thread.

lat9 commented 2 days ago

Dave, could you either post a link or send me one via direct email or Zen Cart PM? There haven't been changes in this area between 3.7.3 and 3.7.4-beta and I'm unable to reproduce your issue.

lat9 commented 1 day ago

@daphilli224 pointed me in the right direction. If, like the demo-products' "Documents" category, none of the products have specials the behavior noted in this issue arises.