Forums / Customization from the Admin / Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Locked

Started by tlyczko on 3 Mar 2010, 4:00 PM · Views: 1,135

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Mar 2010, 4:00 PM
#1
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Which values in the database config table or other tables control these values??

Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
Display Multiple Products Qty Box Status and Set Button Location
Display Multiple Products Qty Box Status and Set Button Location

I ask because the Admin I'm using will not display choice #2 (on with Qty) for the Product Add to Cart Button, despite the Multiple Products being turned OFF.

Thank you, Tom

4 Mar 2010, 8:08 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

In the configuration table, the configuration_keys are:
Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
PRODUCT_LIST_PRICE_BUY_NOW

Display Multiple Products Qty Box Status and Set Button Location
PRODUCT_LISTING_MULTIPLE_ADD_TO_CART

Can you better explain what you mean by it won't display choice 2?

Have you tested switching to the Classic Template?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Mar 2010, 9:13 PM
#3
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Radio buttons only appear for 0 and 1, despite heeding the directive about the other multiple items thing, which was already set to 0.
I think it does not appear because it's a 1.2.6 database that was successfully upgraded to 1.3.8 and 1.3.8 code, which is presently running on a dev server because I have had to completely redo all the templates etc.
ANYWAY, I manually edited the value in the configuration table itself with a SQL tables editor and that fixed things...took a while to find one that displayed what I needed to see to edit the correct field value.
Thank you, Tom

28 Nov 2010, 8:51 AM
#4
icemanchai avatar

icemanchai

New Zenner

Join Date:
Jun 2006
Posts:
76
Plugin Contributions:
0

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Could you please explain in more detail about how to show the radio button #2 for display product add to cart?

Any file replace to correct it?

Thank you.

28 Nov 2010, 2:11 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Are you looking for the setting in the Configuration ... Product Listing ... :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Nov 2010, 10:56 AM
#6
icemanchai avatar

icemanchai

New Zenner

Join Date:
Jun 2006
Posts:
76
Plugin Contributions:
0

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Thank you for your reply, Linda. I just solved my problem with following procedure:

  1. Log in phpMyadmin
  2. Find table "configuration"
  3. Search "PRODUCT_LIST_PRICE_BUY_NOW" in configuration key
  4. Edit "set_function"
    from
    zen_cfg_select_option(array('0', '1'),
    to
    zen_cfg_select_option(array('0', '1', '2'),

Sql file in zc_install of 1.3.9h included this option 2, don't know why I could not upgrade this option from 1.3.5 even I upgrade the database every version after 1.3.9.

Thank you. :smile:

29 Nov 2010, 5:38 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Admin will not display choice #2 (on with Qty) for the Product Add to Cart

Odd ... thanks for the update on the solution that worked for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!