Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Options / Attributes showing as - in shopping cart

Options / Attributes showing as - in shopping cart

Locked

Views: 2,506

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
2 Oct 2008, 7:48 PM
#1
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Options / Attributes showing as - in shopping cart

When a multiple check button option or options is/are selected for an item, they only show as a hyphen - in the shopping cart.

I tried removing them and reinstalling them to no avail.

Drop down options work fine.

The only changes to my store in the last 6 months have been adding the image handler. I don't know if this was happening before or after the image handler module was installed. Could that be the cause? None of the options use images by the way.

2 Oct 2008, 10:47 PM
#2
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

I removed the Image Handler2 just to see what happens with the options at checkout.

No change. Any item added to the shopping cart with a check box item selected, still displays only a hyphen - where the option description and price if any should be.

No change in the total price at checkout, no indication of what the option is supposed to be.

2 Oct 2008, 11:08 PM
#3
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

I downloaded the latest version of the
Improved Attributes Controller

Created a new item, added attributes with multiple check boxes and add on prices. When adding the item to the shopping cart, it now shows the increase in the price but does not show the item description, still just shows a hyphen where the description should be. -

2 Oct 2008, 11:20 PM
#4
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

Correction

It does NOT show an increase in price. I also tried the
Bulk attribute creator

And created a new item with options. Same problem as above, only shows a hyphen - where the option description and price should be. (Sorry about the multiple posts but the system won't let me edit my previous posts.)

3 Oct 2008, 2:29 PM
#5
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

Still having the same problem! anyone out there with any suggestions? I had to delete all my checkbox options so that my customers won't have problems checking out, but would really like to get them back in there.........

14 Oct 2008, 5:17 PM
#6
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

*** your new post has been moved and edited***

Please DO NOT post a new thread to get attention for an old one - It is okay to post more information about the ongoing problem as a reply to your own post.

16 Oct 2008, 5:58 PM
#7
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

still no help on this............

25 Oct 2008, 12:05 PM
#8
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

Well it has almost been almost month now with no help from the ZenCart forum, and the multiple option type check button attributes still won't work.

Pull down attributes and radio attributes work fine. I also just noticed that a Text box attribute doesn't present a box for text entry. It shows on the item page but you can't type anything in....

I guess I am doomed to be without check button or text box attributes until the next major upgrade is released.....:cry:

26 Oct 2008, 4:06 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Options / Attributes showing as - in shopping cart

Have they ever worked correctly for you?

What version of Zen Cart are you running?

27 Oct 2008, 5:35 AM
#10
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

Yes, they have worked perfectly for quite some time now (well over a year). The only change made to the install since the problem was noticed, was adding the mod that allows you to assign stock quantities to the attributes, so I am guessing that might be the culprit though I cannot say for sure if the problem existed before that install or if it started happening after.

27 Oct 2008, 3:49 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: Options / Attributes showing as - in shopping cart

One other thing to check is did you add the Security Patch recently and have you updated it to the current one?

Just to rule out that being an issue get the latest patch:
http://www.zen-cart.com/forum/showthread.php?t=108428

I am not sure what problems are caused with the add-on you are using ... but something is causing this issue and this is not a common problem known with Zen Cart to have that display change like that ...

27 Oct 2008, 8:04 PM
#12
teberle avatar

teberle

New Zenner

Join Date:
Sep 2005
Posts:
3
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

I had the same problem with the check box option not adding to the total and a "-" being present for the option on the checkout page. I made the Security Patch mentioned above and that fixed the problem. Make sure you read the entire Security Patch thread including changes having to be made to the shopping_cart.php file

Security Patch Thread: http://www.zen-cart.com/forum/showthread.php?t=108428

31 Oct 2008, 4:41 PM
#13
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

That was the problem. I installed the security patch above and it works now.

Thanks a bunch.

31 Oct 2008, 5:00 PM
#14
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

FYI - installing the patch did not fix the Text Box error. Any text box entry attributes still do not allow text entry.

31 Oct 2008, 6:42 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: Options / Attributes showing as - in shopping cart

Could you perhaps peek at your database via phpMyAdmin at the table:
products_options_values

Sort on the:
products_options_values_id

Do you have an entry for:
products_options_values_id 0
products_options_values_name TEXT

If not, could you update the database table by running this in the SQL option:

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');
31 Oct 2008, 8:37 PM
#16
lrs avatar

lrs

Zen Follower

Join Date:
Feb 2006
Posts:
130
Plugin Contributions:
0

Re: Options / Attributes showing as - in shopping cart

I found those entries in the database, and as I was looking at them I noticed that the quantity was set to 0. Remembering that with the attributes as stock mod, there has to be at least one in stock to display properly, I changed it to 10000 qty. The text box now allows text entry.

I figured that with the attributes as stock mod installed, since the other attribute values had to have at least one quantity in "stock" to show up, then the text box attribute would also need a min 1 quantity, even though it has no value added to it, nor does it allow adding a value.

Since the text box option doesn't have a value, it wasn't showing up in the option values menu where you would normally add the quantity in stock for the attributes. I guess the only way to add the required stock quantity is how I did it. I don't recall reading about the need to do this in the attributes as stock mod instructions, but it might be in there.

22 Jun 2009, 4:48 PM
#17
hmreseller avatar

hmreseller

New Zenner

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

Re: Options / Attributes showing as - in shopping cart

This thread may too old to post to, but it is the only one I found dealing with this specific issue - and I've had the same issue after installing this patch in September 2008 AND most recently after upgrading to v1.3.8a on June 2, 2009.

I've updated the shopping_cart.php per the instructions in the announcement (http://www.zen-cart.com/forum/showthread.php?t=108428), and with the upgrade, uploaded the security_patch_v138_20080919.php to the includes/extra_configures/ folder. Changes to shopping_cart.php do not seem to create an error, but when the security patch file is uploaded, the checkbox options 1) show on cart page as "-" and 2) do not add the additional pricing, if any is associated with the chosen option.

To resolve, I've left the changes in shopping_cart.php, but have to delete the security patch file altogether to make it work. I had to do this in 09/08 and today as well. I'm sure this is not a good idea as the security patches are released for a reason!

Has anyone else encountered this, and/or, does anyone know how to fix?

Thanks!

22 Jun 2009, 6:23 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Options / Attributes showing as - in shopping cart

Did you check your /includes/classes/shopping_cart.php and check the code posted in #2 ...

I cannot reproduce your problem with 2008_0919 and 20090619 patches in place ...