Page 15 of 28 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 272
  1. #141
    Join Date
    Apr 2008
    Location
    Athlone, Ireland
    Posts
    176
    Plugin Contributions
    5

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

    The step by step guide by the OP is very clear. There must be something you may have done wrong without realising.
    Best thing to do is double check you have entered everything properly. for example...

    The OP wrote

    db manipulation
    open the table "products" in your zencart-database and insert new rows at the end of the table called "products_guarantee" and "products_color"
    ALTER TABLE `zencart_products` ADD `products_guarantee` INT NOT NULL , ADD `products_color` VARCHAR( 32 ) NOT NULL;
    did you change the table names to suit your database, ie: ALTER TABLE `zen_products`............

    Did you do as I said in my previous post.. adding the comma ","

    In collect_info.php and preview_info.php, when you add the lines p.products_guarantee, p.products_color (or what ever you called them for your database) you need to make sure to add a comma at the end of the last line before you add the above lines.

    I know, very simple things, but easy to miss too.

    Im not great at explaining things, but hope it helps

    DB

  2. #142
    Join Date
    Sep 2008
    Location
    Toronto
    Posts
    35
    Plugin Contributions
    0

    Idea or Suggestion Re: How-To: Add new Properties to your Products

    is there anyone who did this whole thing and worked for them???

    because what i'm trying to do is to

    1-add extra fields in my products table (which i was able to do)

    2-add them to the admin section (which i was able to do)

    3-show them on the product details page (worked too)

    4-show them on the product listing page, that's when you click on a category name and lists all the products (can't do it yet) (HELP NEEDED!!!)

    if anyone can find a solution for this or find a solution already please post it here, i'll be thankful.

    thanks a lot.

  3. #143
    Join Date
    Apr 2008
    Location
    Athlone, Ireland
    Posts
    176
    Plugin Contributions
    5

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

    Hi hovsepations,

    I could actually do with something similar so I am going to have a go at it tonight, if I get it to work I will post here for you.

    regards

    DB

  4. #144
    Join Date
    Apr 2008
    Location
    Athlone, Ireland
    Posts
    176
    Plugin Contributions
    5

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

    Could not figure it out, sorry.

  5. #145
    Join Date
    Feb 2009
    Posts
    31
    Plugin Contributions
    0

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

    Ok, so I finally managed to display my new field 'products_botanical' that I added with the routine of crasy_chris. Thanks by the way!

    But in order to show it in products_listing, I had to replace 'PRODUCT_LIST_BOTANICAL' by 8 in $define_list in main_template_vars. If I echo the size of column_list it returns only the 4 that are supposed to be displayed set in the admin section.
    1- How can I change/add a column to column_list?

    2- Where is 'PRODUCT_LIST_BOTANICAL' defined?

    3- How can I change where that column would display?

    Also, the sort through that column doesn't work, and now I am really lost...

    you can see my site at
    practitioners.springwind.com

    Thanks for any input on how to fix the issues.
    Fred

  6. #146
    Join Date
    Feb 2009
    Posts
    31
    Plugin Contributions
    0

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

    Quote Originally Posted by yakbuttertea View Post
    Ok, so I finally managed to display my new field 'products_botanical' that I added with the routine of crasy_chris. Thanks by the way!

    But in order to show it in products_listing, I had to replace 'PRODUCT_LIST_BOTANICAL' by 8 in $define_list in main_template_vars. If I echo the size of column_list it returns only the 4 that are supposed to be displayed set in the admin section.
    1- How can I change/add a column to column_list?

    2- Where is 'PRODUCT_LIST_BOTANICAL' defined?

    3- How can I change where that column would display?

    Also, the sort through that column doesn't work, and now I am really lost...

    you can see my site at
    practitioners.springwind.com

    Thanks for any input on how to fix the issues.
    Fred
    Ok, so maybe that will help someone like me that was having issues displaying their new fields:
    - If you follw the step describe around page 6-7-8 (don't remember sorrywhich page exactly) everything will be in place but not displaying. Don't panic, you have to define the constant PRODUCT_LIST_BOTANICAL somewhere and that is defined in the admin section. It tells the program that that column is the number 'x' to be displayed at the 'x' position. So once you define it it will magically appear... Well the way I did it is define it on /includes/module/pages/index/main_template_vars.php instead of putting 'PRODUCT_LIST_BOTANICAL' => PRODUCT_LIST_BOTANICAL, I did 'PRODUCT_LIST_BOTANICAL' => 8 and it worked.

    - Now I have an other question, how can we have the alpha filter working on the new field?

    Thanks!

  7. #147
    Join Date
    Feb 2009
    Posts
    31
    Plugin Contributions
    0

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

    Quote Originally Posted by hovsepations View Post
    is there anyone who did this whole thing and worked for them???

    because what i'm trying to do is to

    1-add extra fields in my products table (which i was able to do)

    2-add them to the admin section (which i was able to do)

    3-show them on the product details page (worked too)

    4-show them on the product listing page, that's when you click on a category name and lists all the products (can't do it yet) (HELP NEEDED!!!)

    if anyone can find a solution for this or find a solution already please post it here, i'll be thankful.

    thanks a lot.
    Look at my posting maybe that is your answer...

  8. #148
    Join Date
    Sep 2008
    Location
    Toronto
    Posts
    35
    Plugin Contributions
    0

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

    thanks yakbuttertea,
    i'm gonna try it and see how it works for me.

    i'll let you know

  9. #149
    Join Date
    Mar 2009
    Posts
    12
    Plugin Contributions
    0

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

    I'm selling computer equipment, which has very many different properties (for instance size, how much ram, cpu etc.), so I almost need to add 50 different ones that only show when filled in admin console.

    But before I begin I wondered if it’s smart to do it this way, if not what do you advice?

  10. #150
    Join Date
    Feb 2009
    Posts
    31
    Plugin Contributions
    0

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

    Does someone know how to work with alpha filter?I am trying to have my new field sorted by the alpha filter. So far, the filter sort only by the Item column.How can we add an other filter or choose which column the filter will work on?
    Last edited by yakbuttertea; 24 Mar 2009 at 08:07 PM. Reason: mispell

 

 
Page 15 of 28 FirstFirst ... 5131415161725 ... 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