Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Adding a custom field to a product

Adding a custom field to a product

Locked

Views: 1,347

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
8 Nov 2009, 7:20 PM
#1
icywindow avatar

icywindow

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Adding a custom field to a product

Hello,

I'm new to Zen Cart and PHP, and using version 1.3.8 of Zen Cart. My background is that I'm okay in programming when it's not web-based. I'm still finding my grounding in PHP, though. :blink:

I have a client that would like to add the ability to add a custom attribute to the product (beef jerky) such that instead of having three products for (mild, medium, and hot) settings, there is a radio button designating the spiciness of the jerky. He wants this to carry through to the checkout process.

I looked through the forum preliminarily and FAQs and didn't see an answer directly to this, so I'm sorry if a similar question has been posted.

Thank you.

8 Nov 2009, 8:36 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Adding a custom field to a product

You can add a custom field to the product but it is much easier to use an attribute.

https://www.zen-cart.com/tutorials/index.php?article=57

9 Nov 2009, 12:53 AM
#3
icywindow avatar

icywindow

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Re: Adding a custom field to a product

Thank you, that's exactly what I needed. +rep :)