Forums / Built-in Shipping and Payment Modules / Checkout items display "Array" at end of each item

Checkout items display "Array" at end of each item

Locked

Views: 1,946

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
6 Dec 2007, 2:18 PM
#1
mgrunk avatar

mgrunk

New Zenner

Join Date:
Feb 2007
Posts:
53
Plugin Contributions:
0

Checkout items display "Array" at end of each item

This is a site that I've taken over from another programmer - https://www.providencecoffee.com - when you get to the check out screen after selecting a payment choice, the items in your cart are displayed, but the word "Array" shows up at the end of each item. I've searched via the tool kit - but am not having any luck.

Suggestions?

Thanks in advance.

Michelle

8 Dec 2007, 7:47 PM
#2
mgrunk avatar

mgrunk

New Zenner

Join Date:
Feb 2007
Posts:
53
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

This is a site that I've taken over from another programmer - www.providencecoffee.com - when you get to the check out screen after selecting a payment choice, the items in your cart are displayed, but the word "Array" shows up at the end of each item. I've searched via the tool kit - but am not having any luck.

Suggestions?

Thanks in advance.

Michelle

8 Dec 2007, 8:15 PM
#3
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

Nevermind, I didn't go in far enough.

John Patrick
A Zen Cart Advocate!

8 Dec 2007, 8:44 PM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

Zencart version?
Which mods installed? (related to checkout and payment)
If you switch back to the default template, does this still happen?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

8 Dec 2007, 8:44 PM
#5
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

I went through the whole checkout process and didn't see any arrays, using firefox.

John Patrick
A Zen Cart Advocate!

8 Dec 2007, 8:47 PM
#6
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

I would like to see the options field above the add to cart qty field, so that I know that I need to choose ground or whole bean before I try to add to cart.

Reason being is that the page refreshes and shows the error but it took me a couple of times before I realized that I needed to scroll further down to find the options.

John Patrick
A Zen Cart Advocate!

8 Dec 2007, 8:49 PM
#7
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

I just tried it to the shopping cart level in ie 6 and didn't see any problems there either.

John Patrick
A Zen Cart Advocate!

8 Dec 2007, 9:19 PM
#8
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

mgrunk:

This is a site that I've taken over from another programmer - www.providencecoffee.com - when you get to the check out screen after selecting a payment choice, the items in your cart are displayed, but the word "Array" shows up at the end of each item. I've searched via the tool kit - but am not having any luck.

This was a bug that was in v1.3.0 but fixed in later versions. The file that is causing the problem is tpl_checkout_confirmation_default.php which is normally in \includes\templates\template_default\templates. Chances are that the file was modified at some point during the past and there is an override version in \includes\templates\YOUR_TEMPLATE\templates (were YOUR_TEMPLATE is the name of your custom template). The override version was probably missed during the upgrade from v1.3.0 so still has the bug in it.

Check that the version in \includes\templates\template_default\templates is the same as the file in the distribution that you are using (v1.3.7 or whatever) and then switch back to using it by removing the version in your override directory (but keep a copy of it). Test that fixes the problem.

If all is well then copy tpl_checkout_confirmation_default.php back to your override directory from template_default and make any changes necessary to fit how you want it to look.

Sorry that is a bit long, hope it makes sense.

Regards,
Christian.

8 Dec 2007, 10:57 PM
#9
mgrunk avatar

mgrunk

New Zenner

Join Date:
Feb 2007
Posts:
53
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

It made perfect sense and worked wonderfully - thanks for taking the time to explain. It's corrected now.

Michelle

8 Dec 2007, 10:59 PM
#10
mgrunk avatar

mgrunk

New Zenner

Join Date:
Feb 2007
Posts:
53
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

birdoasis:

I would like to see the options field above the add to cart qty field, so that I know that I need to choose ground or whole bean before I try to add to cart.

Reason being is that the page refreshes and shows the error but it took me a couple of times before I realized that I needed to scroll further down to find the options.

I will look into that - thanks. Unfortunately, I didn't design this store - I inherited the maintenance from another programmer, so I'm trying to figure how he set things up.

Thanks for any further clarification.

Michelle

22 Dec 2007, 7:09 AM
#11
ccd avatar

ccd

New Zenner

Join Date:
Nov 2007
Posts:
8
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

I have the same problem. How I remove the word "Array" from there?

22 Dec 2007, 7:38 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Checkout items display "Array" at end of each item

What is the version history of your site?
What Zen Cart version is it running now?
What versions has it been upgraded through?
(see Admin->Tools->Server Info)
What template are you using? What version of Zen Cart was it designed for?
What addons/contributions do you have installed?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Dec 2007, 3:11 PM
#13
mgrunk avatar

mgrunk

New Zenner

Join Date:
Feb 2007
Posts:
53
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

http://www.zen-cart.com/forum/showthread.php?t=82445

is the solution that was posted to me when I put the question in a better spot. It fixed it for me - page down the thread.

Michelle

23 Dec 2007, 3:24 PM
#14
ccd avatar

ccd

New Zenner

Join Date:
Nov 2007
Posts:
8
Plugin Contributions:
0

Re: Checkout items display "Array" at end of each item

this fix the problem thanks