Page 3 of 28 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 272
  1. #21
    Join Date
    Aug 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Can someone please help me? I don't understand the first step. Where do I change what you are talking about? I don't see anywhere where it just says Product. Please help me.

    Step 1 is what I don't understand.

  2. #22
    Join Date
    Aug 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Please someone can help? I don't understand step 1. What exactly and where exactly you want me to change this? I don't see a table anywhere.. Can you please give me specific steps. And what exactly do I want to write if I want to add physical condition and warranty as the options?

  3. #23
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    163
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    You need to open up your database and add your new properties to the "products" table.

    You can probably do this using MyPHPAdmin through your webhosts control panel.

  4. #24
    Join Date
    Aug 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Okay,
    Here is what I got now.

    Add 1 field(s) At End of Table, then clicked next.

    Field TypeDocumentation Length/Values1 Collation Attributes Null Default2 Extra Primary Index Unique --- Fulltext Comments

    I got that in a line and under it they tell me to choose what I want. Also they ask where I want to store this in.

    I didn't know what to put in there. Any help?

  5. #25
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Quote Originally Posted by ElBasha View Post
    Okay,
    Here is what I got now.

    Add 1 field(s) At End of Table, then clicked next.

    Field TypeDocumentation Length/Values1 Collation Attributes Null Default2 Extra Primary Index Unique --- Fulltext Comments

    I got that in a line and under it they tell me to choose what I want. Also they ask where I want to store this in.

    I didn't know what to put in there. Any help?
    I'm not sure if I can help, but it worked for me. I got the exact same line of fields that you show here (starting with 'Field'...). I filled in the ones that crazy_chris mentioned & left the rest blank (unless I knew I wanted something else, such as 'unique').

    I didn't have a question after this about where to store info, but did have a question on the 'Add 1 field' line. It gave me the option to add at the beginning, end, or after a specified field. Nothing else regarding 'where'. Were you already in your 'products' table when you clicked on 'Add 1 field..."?

  6. #26
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Yeah! Only one day, and it works!!! (I had to focus on my live site for awhile, and just got back to working on this...)

    It took me longer to uninstall the Additional Products Fields mod than it did to create fields using this method!

    I made one mistake that I caught and thought I'd share, just in case somebody else has the same problem. When I finished all the instructions, I had the fields in the product pages in Admin & could enter data, but they didn't show up on my site in my product info display.

    It turns out I'd tried to use the override system in a place where it doesn't work. I knew you couldn't use overrides in the admin section, but usually should in the storefront section. I tried to use zen overrides for includes/modules/pages/product_info/main_template_vars.php
    When I was trying to figure out what went wrong, I remembered that there was one section of the storefront that doesn't accept overrides either, and I thought it might be 'modules'. Sure enough, when I modified the file in its original location (no overrides), my new fields showed up on my site!

    Now, one question for the zencart team. I noticed when I was in phpMyAdmin that if I removed the 'auto_increment' condition from products_id, it looked like I could then enter my own values for product id (I'd like this to be my sku's). Would this mess up other functions in zen if I did this? Would the answer depend on if the skus are integers vs. alphnumeric? That's all I wanted in the first place, was to use my skus as the id's.

    Thanks, if any of you guys (zen team) are reading this!

  7. #27
    Join Date
    Aug 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Yes I was in the table already, but I mean what is written by crazy is kind of confusing me, I don't know how to fill it, he has both the products he wants to add on one line, but we have to add each of them seperatly.

  8. #28
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Quote Originally Posted by magneteye View Post
    hey, trying this out. but how do I create dropdowns and text areas? you only give examples of a text field.

    I tried changing zen_set_field_length to zen_draw_textarea_field but it gave me errors.
    I need mine as a text area too. Any help?

  9. #29
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Quote Originally Posted by ElBasha View Post
    Yes I was in the table already, but I mean what is written by crazy is kind of confusing me, I don't know how to fill it, he has both the products he wants to add on one line, but we have to add each of them seperatly.
    The line that crazy_chris wrote, "ALTER..." is the SQL query itself. The menu that you found is an alternative to writing your own SQL queries for us SQL-illiterate folks. When you fill out the form and save your new field, phpMyAdmin creates the query for you, and it'll look like what crazy_chris wrote. You have to do it separately for each field. If you want to write in SQL query form instead, click on 'SQL' from the menu along the top. I think that if you're writing an SQL query you can include as many fields as you want at the same time.

  10. #30
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: How-To: Add new Properties to your Products

    Quote Originally Posted by lismith View Post
    I need mine as a text area too. Any help?
    I looked at what they did for the 'description' field (its in TABLE products_description) and they just put 'text' in the 'Type' field. Have you tried that?

    As for the drop-downs, I'd suggest trying to duplicate what they did for manufacturers_id. It looks like there's a column there for 'distinct values'. I haven't done it, but I'd try that...

 

 
Page 3 of 28 FirstFirst 1234513 ... LastLast

Similar Threads

  1. change how latest products works or add new box that displays products we select
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Oct 2010, 04:19 PM
  2. shopping cart contents and new properties to the products
    By stitchnkitty in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Nov 2009, 05:50 PM
  3. Replies: 4
    Last Post: 20 Jun 2009, 04:06 PM
  4. !! Please help !! Add new Properties to your Products
    By JohnSquier in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 27 Feb 2008, 05:46 AM
  5. alter and add new product properties
    By jmitton in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 20 Jan 2008, 03:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR