- Posts: 846
- Thank you received: 92
lenght of product in module card
10 years 3 months ago - 10 years 3 months ago #244740
by lionel75
lenght of product in module card was created by lionel75
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
in the hikashop demo page for shoes kids the name of shoes are short .In the case of the name is wide ; Is there a way to reduce the name in module cart only to fit the content in a column ( to have less than 2 lines instead many like 5 )?
i test and i can see the charactaerisitic or variant value appear in the cart after the product name and it is efficient
perhaps the text content in description of a product should be use instead the product name inside a hover popup ?
the best seem to define a selector with css properties widh and height overflow : hidden for the name to limit the lengt hof line and the number of line
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
in the hikashop demo page for shoes kids the name of shoes are short .In the case of the name is wide ; Is there a way to reduce the name in module cart only to fit the content in a column ( to have less than 2 lines instead many like 5 )?
i test and i can see the charactaerisitic or variant value appear in the cart after the product name and it is efficient
perhaps the text content in description of a product should be use instead the product name inside a hover popup ?
the best seem to define a selector with css properties widh and height overflow : hidden for the name to limit the lengt hof line and the number of line
Attachment not found
Last edit: 10 years 3 months ago by lionel75.
Please Log in or Create an account to join the conversation.
10 years 3 months ago #244742
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic lenght of product in module card
It takes only a little bit of generic, simple CSS to effectively truncate text, even indicating it with an ellipsis.
Learn more e.g. here: css-tricks.com/snippets/css/truncate-string-with-ellipsis/
Other methods, like your mentioned "hover popup" (aka "tooltip"?), require other and more customization which you may apply as per your needs.
Learn more e.g. here: css-tricks.com/snippets/css/truncate-string-with-ellipsis/
Other methods, like your mentioned "hover popup" (aka "tooltip"?), require other and more customization which you may apply as per your needs.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
10 years 3 months ago - 10 years 3 months ago #244766
by lionel75
Replied by lionel75 on topic lenght of product in module card
Hi
1) thank's for the trick !
for pop up the best is to study / take the code from already layout /design page ( hks demo is nice )
2) i test the demo hikashop website and see when copy url from firefox to chrome browser that the rendering page is not the same . Does this behaviour is because some session cookies variable are use ? then use filter in chrome ..nothing work !!
regard's
1) thank's for the trick !
for pop up the best is to study / take the code from already layout /design page ( hks demo is nice )
2) i test the demo hikashop website and see when copy url from firefox to chrome browser that the rendering page is not the same . Does this behaviour is because some session cookies variable are use ? then use filter in chrome ..nothing work !!
Attachment not found
regard's
Last edit: 10 years 3 months ago by lionel75.
Please Log in or Create an account to join the conversation.
10 years 3 months ago - 10 years 3 months ago #244770
by lionel75
Replied by lionel75 on topic lenght of product in module card
I like the way chekbox change the number of item in input select box using Menu - >compoent -> hikashop -configuration and then system -> chekout -> Login & registration -> DefaultregistrationView & Registration
Does this behaviour is a joomla one or hikashop implentation ?
In all the case login should appear whatever chekbox is selected !!
if in chekbox , guest is selected then guest item appear in select input .
if i select any chekbox in all the case guest chekbox item is available and so compatible with the others chekbox
Does the chekbox is really usefull ? why not put all the item in the select box
Why the simplified item doesn't work on my webserver ?
Does this make sense ?
perhap the behaviour inside chekbox cant be implemented inside the select box .
is it not easier to have only select box wit hchekbox in it instead another chekbox ?.
for resume chek the 3 items one by one in chekbox ll generate 3 items in the select box . if one appear the other don't appear . so al litem are in select guest and login ca nbe choose but for the 3 othere only one item can be use not al lthe 3 in selct box !!
Attachment not found
Does this behaviour is a joomla one or hikashop implentation ?
In all the case login should appear whatever chekbox is selected !!
if in chekbox , guest is selected then guest item appear in select input .
if i select any chekbox in all the case guest chekbox item is available and so compatible with the others chekbox
Does the chekbox is really usefull ? why not put all the item in the select box
Why the simplified item doesn't work on my webserver ?
Attachment not found
Does this make sense ?
perhap the behaviour inside chekbox cant be implemented inside the select box .
is it not easier to have only select box wit hchekbox in it instead another chekbox ?.
for resume chek the 3 items one by one in chekbox ll generate 3 items in the select box . if one appear the other don't appear . so al litem are in select guest and login ca nbe choose but for the 3 othere only one item can be use not al lthe 3 in selct box !!
Attachment not found
Last edit: 10 years 3 months ago by lionel75.
Please Log in or Create an account to join the conversation.
10 years 3 months ago #244796
by nicolas
Replied by nicolas on topic lenght of product in module card
Hi,
2. The demo website displays the same regardless of the browser you're using. I don't see why it would be different. Please provide the link and we can check.
3. It's done by HikaShop.
4.
And if you have only a guest checkout without registration, you might not want the login to appear. So it's normal that it is optional.
5.
It's stupid to have a registration and a simplified registration activated at the same time. Because that would mean that you would let the customer choose how to register (with or without selecting a password and entering a username). It would be confusing to the customer. So it's one or the other.
And we don't put all the elements in a dropdown because otherwise you could select a mode which wasn't checked in the "registration" setting, and that would be illogical. What should the program do if you select the "registration" mode as default if you didn't select it as one of the modes available to the customer ? So to avoid that illogical case, you can only select among the selected choices in that dropdown.
6.
You can have HTML in the choices of a dropdown.
2. The demo website displays the same regardless of the browser you're using. I don't see why it would be different. Please provide the link and we can check.
3. It's done by HikaShop.
4.
Why is that ? If you turn off the "login" setting above, then it won't display.In all the case login should appear whatever chekbox is selected !!
And if you have only a guest checkout without registration, you might not want the login to appear. So it's normal that it is optional.
5.
They are, otherwise, we would have done it differently.Does the chekbox is really usefull ? why not put all the item in the select box
It's stupid to have a registration and a simplified registration activated at the same time. Because that would mean that you would let the customer choose how to register (with or without selecting a password and entering a username). It would be confusing to the customer. So it's one or the other.
And we don't put all the elements in a dropdown because otherwise you could select a mode which wasn't checked in the "registration" setting, and that would be illogical. What should the program do if you select the "registration" mode as default if you didn't select it as one of the modes available to the customer ? So to avoid that illogical case, you can only select among the selected choices in that dropdown.
6.
HTML doesn't allow for that.perhap the behaviour inside chekbox cant be implemented inside the select box .
is it not easier to have only select box wit hchekbox in it instead another chekbox ?.
You can have HTML in the choices of a dropdown.
Please Log in or Create an account to join the conversation.
10 years 2 months ago #244816
by lionel75
Replied by lionel75 on topic lenght of product in module card
Hi
I test after publish my last post and i understand better now the logic and how it work .. the last post should be remove !!
thank's for your reply
I test after publish my last post and i understand better now the logic and how it work .. the last post should be remove !!
thank's for your reply
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds