Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Order total items flipped during checkout

Order total items flipped during checkout

Views: 485

Results 1 to 5 of 5
12 Aug 2011, 7:16 AM
#1
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Order total items flipped during checkout

I am not sure where this goes ....

During Step 2 of the checkout process, where the customer selects their payment method, the order total is displayed as it should be.

However the items are 'flipped' - the description is below the value

I don't have any pricing modules installed. I've looked in the template for the checkout page and other than calling in the order total module, the specific code for each item is not there.

I'm not sure why I have this error or how to fix it

12 Aug 2011, 1:37 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order total items flipped during checkout

It is due to the width that they are showing that way ... they are wrapping ...

12 Aug 2011, 3:13 PM
#3
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Order total items flipped during checkout

Well, I thought that too, but there is nothing in the stylesheet that would set the width --- but I will see what I can do to fix that! thank you.

12 Aug 2011, 3:25 PM
#4
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Order total items flipped during checkout

tamalita:

Well, I thought that too, but there is nothing in the stylesheet that would set the width --- but I will see what I can do to fix that! thank you.

there is nothing in the stylesheet that would set the width for any of the items in this section
so I added these to my stylesheet:

#otsubtotal, #otshipping, #ottotal {width: 100%;}
.totalBox, .lineTitle {width: 350px; }

the ids are the groups (subtotal, shipping, total) while the classes are the specific lines in question
I changed the width of the classes to lower and higher and none of them had any effect on the wrapping
just to be sure I was actually doing something, I did change the text color successfully

12 Aug 2011, 3:32 PM
#5
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Order total items flipped during checkout

ok actually .... just as an fyi I found the file that was coding this bit
includes/templates/template_default/templates/tpl_modules_order_totals.php

so I put a copy in my template
the code actually had the value above the title
so I switched that and now it's displayed properly