Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Product option values column not responsive
Author « Topic »  

Mooseman
Advanced Member

166 Posts

Posted - 05/04/2021 :  12:09:36  
As page width decreases (although the type size shrinks) the option value descriptions do not wrap causing overlap of the option’s cost at numerous breakpoints as shown in screen shot examples below.

Vince
Administrator

42428 Posts

Posted - 05/04/2021 :  14:26:02  
Hi Mooseman
There was a change in the ectcart.css file to remove a "white-space:nowrap" from the cart and that could be the cause here. What version are you on?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/04/2021 :  14:43:13  
Hi Vince,

This client is: v7.2.5

Vince
Administrator

42428 Posts

Posted - 05/04/2021 :  15:21:53  
Hi Mooseman
In that case look in the file css/ectcart.css and search for...

div.cartline{
white-space:nowrap;
padding-bottom:6px;
margin-bottom:6px;
}

...and remove then line "white-space:nowrap;" from that. The change is in the v7.2.6 updater so when they update you won't need to do this again.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/05/2021 :  05:52:41  
Hi Vince,

In my php v7.2.5 the entry in 'ectcart.css' doesn't include 'white-space:nowrap'

It reads as follows:

/* Cart Product Row */
div.cartline{
padding-bottom:6px;
margin-bottom:6px;
}

There are no 'nowrap' declarations whatsoever in the 'ectcart.css'

Just in case, I also searched all the other css for this site for the 'cartline' selector, but found nothing. There is no internal css for 'cart.php' either.

Mooseman

Vince
Administrator

42428 Posts

Posted - 05/05/2021 :  14:24:58  
Instead of the image then could you let me know the link to the page? That way I can use the object inspector to see what is causing the problem.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/05/2021 :  14:32:17  
Hi Vince,

Am working locally on this project, but is far enough along to sync with the remote for live testing.

Let me do that, then when complete I will private email you the URL, PWs, etc.

Thank you

Mooseman
Advanced Member

166 Posts

Posted - 05/06/2021 :  10:25:25  
Hi Vince,

I just private emailed you the necessary info.

Thanks for your help

Vince
Administrator

42428 Posts

Posted - 05/07/2021 :  03:35:29  
Hi Mooseman
I see the problem and for some reason it seems the cart code was replacing spaces with on breaking spaces. I think this is a hangover from times past when CSS wasn't so developed and isn't necessary now so I've removed that from the inccart.php script and added the changes to the updater. The thing is as you are on v7.2.5 you can't just replace with the v7.2.6 inccart.php. If you want to zip up and email me your current version I'll add the change.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/07/2021 :  06:16:14  
Hi Vince,

I updated the local copy to v7.2.6. The problem did not correct itself.

What I did notice was that although 'cart.php' option descriptions still overlapped on narrow page widths, 'thanks.php' did not, wrapping as it should.

This may have been the case even before I updated, but I can't say for sure as I did not consider making the comparison.

Wanted to share this observation with you, in the event it suggests the problem may be somewhere else.

Should I update the remote as well, or do you want to investigate other possibilities first?

Mooseman
Advanced Member

166 Posts

Posted - 05/07/2021 :  08:59:13  
Thought maybe a screenshot would help explain the difference between the two files:

Vince
Administrator

42428 Posts

Posted - 05/07/2021 :  09:40:41  
If you don't mind updating the remote that would make life easier to debug this. But I have to say in the image you posted it seems there might not actually be a need to wrap at that point.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/07/2021 :  11:51:56  
Hi Vince.

If the buyer is viewing their order on a tablet or phone the cart option costs for some items are unreadable.

Can we expect them to pay for something if the option costs per item cannot confirmed BEFORE payment info is submitted?

Will update the remote and advise when complete.

Mooseman
Advanced Member

166 Posts

Posted - 05/07/2021 :  13:33:50  
Hi Vince,

The remote is now running v7.2.6.

Please use the same URL, PWs, etc., privately emailed to you on 5/6.

I appreciate your help.

Vince
Administrator

42428 Posts

Posted - 05/08/2021 :  01:56:19  
Hi Mooseman
I had check and it doesn't seem that the site has the change I made. Did you get a new copy of the updater before copying the inccart.php script? Can you try anyway getting a new copy of the updater, copy the inccart.php and if that doesn't help please send me the site FTP login and I'll add the change.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mooseman
Advanced Member

166 Posts

Posted - 05/08/2021 :  04:45:19  
Hi Vince,

Downloaded v7.2.6 again this morning and uploaded only the 'inccart.php' to both the local and remote servers. The option description column now wraps, no longer obscuring the option unit cost.

Thank you so much for the fix.

Your skills and follow-through are greatly appreciated. Well done!

Mooseman

Vince
Administrator

42428 Posts

Posted - 05/11/2021 :  10:02:33  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000