Forums / Managing Customers and Orders / 'Product Name Array' Displaying In Last Step of Checkout

'Product Name Array' Displaying In Last Step of Checkout

Locked

Started by radish on 19 Sep 2006, 4:55 AM · Views: 4,481

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
19 Sep 2006, 4:55 AM
#1
radish avatar

radish

New Zenner

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

'Product Name Array' Displaying In Last Step of Checkout

Hi,

I have about 20% to go before my cart is ready to go live and one of the 'quirks' I'm experiencing right now is the word 'Array' showing up beside the item name during step 3 of checkout under 'shopping cart contents'.

I'm not sure if the product image is supposed to be displaying there or not, but it seems really odd that 'Array' is displayed.

Has anyone else run into this? I'm running 1.3.5

Cheers,

Colin

4 Oct 2006, 7:52 PM
#2
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

I'm having the same problem running a fresh install of 1.3.5.

Example: 1 x test Array $2.00
Product name is just "test".

Did you find a solution?

I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 8:03 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

Which 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.

4 Oct 2006, 8:55 PM
#4
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

Whew...I hope I can remember them all.

Enabled:

Super Orders
User Tracking
GoogleFroogle
Database Backup
Email Archive
Ty Package Tracker
Linkpoint API
BettercategoriesEZ
Quick Order
Blank Sidebox
We Accept CC Sidebox
Returns
Order Steps

Disabled:

Image Handler 2
Ultimate SEO Url
Column Grid
Split Login

I think that's everything. :smile:

I forgot one...Product Info Display mod, but it's disabled.

I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 9:09 PM
#5
radish avatar

radish

New Zenner

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

Hi Boggled and DrByte,

Boggled: I've yet to find a solution to 'array' being displayed, anything on your end?

DrByte: I currently have these contributions installed:

ImageHandler2
Newsletter Subscribe
Column Grid
MZMT
News & Article Management

I think that's it...

4 Oct 2006, 10:38 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

I'm having the same problem running a fresh install of 1.3.5.
aha ... I see "fresh install" doesn't mean a "clean untouched install" after all :P

.
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.

4 Oct 2006, 10:40 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

The usual layout of the checkout confirmation cart-contents is this:

qty  X    name-of-product     tax-rate    $price

which of these is showing as "Array" ?

.
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.

4 Oct 2006, 10:59 PM
#8
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

DrByte:

aha ... I see "fresh install" doesn't mean a "clean untouched install" after all :P

LOL - I guess I should have said I STARTED with a fresh install. :laugh:

which of these is showing as "Array" ?

name-of-product

When I first saw it, I thought I had messed up and accidentally mis-named my product. :smile:

I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 11:14 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

Boggled:

1 x test Array $2.00

So, is "test" showing, or not showing?
Is "Array" showing immediately after the word "test", or is it several "spaces" across the screen?

.
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.

4 Oct 2006, 11:17 PM
#10
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

I copied and pasted that from the cart.
Test is showing with one space between it and Array...just as if I had typed the name of the product as Test Array.

I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 11:24 PM
#11
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

If I knew how to do a screen shot, I'd be glad to show you what it looks like.
The word Test isn't even lined up under "Item Name". It's over to the left.

Shopping Cart Contents

Qty. Item Name Total
1 x test Array $2.00


I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 11:42 PM
#12
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

WooHoo...I figured out how to do the screen shot!

I added another product to the cart too so you could see how it looks.
The 'Array' doesn't show in just the Shopping Cart, it only shows up after you start going through checkout and you get to Step 3 - Order Confirmation.

Here's the shot: http://candletart.com/ScreenShot.gif

The second product is the "Country Snowman Gingham Wax Tart Gift Bag".

I'll finish that project tomorrow, I've made enough mistakes today!

4 Oct 2006, 11:54 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

/includes/templates/YOURTEMPLATE/templates/tpl_checkout_confirmation_default.php
around line 132, you have:```
<td class="cartQuantity"><?php echo $order->products[$i]['qty']; ?> x</td>
<td class="cartProductDisplay"><?php echo $order->products[$i]['name']; ?>
<?php echo $stock_check[$i]; ?>

On your custom template files, does that last line say $stock_check or $stock_check[$i]  ?

.
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.

4 Oct 2006, 11:55 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

And adding to that, is your "test" product out-of-stock ?

.
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.

5 Oct 2006, 12:06 AM
#15
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

Is this it?

        <tr class="<?php echo $product['rowClass']; ?>">
          <td  class="cartQuantity"><?php echo $order->products[$i]['qty']; ?> x</td>
          <td class="cartProductDisplay"><?php echo $order->products[$i]['name']; ?>
          <?php  echo $stock_check; ?>

It just says $stock_check;

And adding to that, is your "test" product out-of-stock ?

No. There are 15 in stock. I was prepared for several 'tests'. :smile:

I'll finish that project tomorrow, I've made enough mistakes today!

5 Oct 2006, 1:05 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

Change it to $stock_check[$i]

That was a bug until v1.3.0.2. In v1.3.5 it was fixed to use the [$i] part. Perhaps you have missed some upgrades to customizations?

.
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.

5 Oct 2006, 1:08 AM
#17
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

I probably did miss the upgrade on that. I modified/created the basic sage template I'm using in 1.3.0 and then copied it over to the 1.3.5 cart.

I really appreciate you tracking this down for me!! :smile:

I'll finish that project tomorrow, I've made enough mistakes today!

5 Oct 2006, 1:15 AM
#18
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: 'Product Name Array' Displaying In Last Step of Checkout

Made the change, did another test purchase and that fixed it completely!
Awesome! :thumbsup:

I'll finish that project tomorrow, I've made enough mistakes today!

5 Oct 2006, 1:26 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

Remember ... never trust a template designed for another version. Always do a careful comparison to ensure it's upgraded to the version you're using on your site.

.
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.

5 Oct 2006, 4:25 AM
#20
radish avatar

radish

New Zenner

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

Re: 'Product Name Array' Displaying In Last Step of Checkout

DrByte & Boggled,

Sorry, I would have contributed to this thread but I just got home (a new hockey season started tonight!). Any idea what particular mod turned out to the problem?

Thanks so much to the both of you for figuring this out!

Cheers,

Colin