Order quantity field in j2store list is too small

joit

Active Member
the input field of the order quantity in a j2store list is too small to see the number (pic)
It seems to be hard coded to 40px, 60px would be great.
you can check it here:
161121/component/content/article?id=18&wirt=5

cou?ld you fix that?
 

Attachments

  • order quant.png
    order quant.png
    3.8 KB · Views: 36
It's a template issue (it's ok in Protostar).
But you can override ...\plugins\fabrik_form\j2store\layouts\fabrik-form-j2store-addtocart-list.php
 
@cheesegrits it's next to the "bestellen" button
@troester If I override this
\plugins\fabrik_form\j2store\layouts\fabrik-form-j2store-addtocart-list.php
it will probably be overriden with the next layout update, right? Do you know if there is another way?
 
No, it's not part of the bootstrap3 overrides, so it should be ok.

Just to mention it (@cheesegrits ):
it seems Protostar is using widht:40px + the padding outside the box
purity_iii has the padding "inside"
I didn't find out why.
In any case I think it would be better to use e.g. width:3em (to be independend of font size etc) but this doesn't solve the "padding" effect.
 
I'd like to get back to this one.
I suggested to set the width to 60px instead of 40px which works for me. If there is a better way of adjusting the size I'm happy, too!
But the 40px should really be increased.
It would be great if that got merged in the layout.

BTW, I noticed that the up and down buttons are missing in Edge and IE
 
Last edited:
Like I said, that's an HTML5 thing, part of the HTML specification and handled by individual browser implementations, nothing to do with Fabrik. HTML5 is still somewhat uneven in adoption on various platforms. It's why we don't rely on it or use it more. It's only being used in that field because we directly copy the j2store layout for the qty field / cart button, and they happen to use type=number for the field.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top