Page 2 of 28 FirstFirst 123412 ... LastLast
Results 11 to 20 of 272
  1. #11
    Join Date
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

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

    Why not set your SKU number as the products model number (standard Zen Cart functionality) and then add an extra field (as post 1 in this thread explains) for your Manufacturers model number?

  2. #12
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

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

    Thanks for the suggestion. That's what I was planning to do (or vice versa), now that I found this. (Unless someone has a better idea...) Does it matter which one is the new field and which uses the 'model' field? Would both fields be visible to the search function? Would I be able to limit one of the fields to not allow duplication (for my skus)?

    I was originally trying to use TheOracle's contribution to create the extra field, but it's more trouble than it's worth.

    I guess the only thing I'm waiting on now is the code for a new table instead of adding to the existing one. When it comes time to upgrade, I wouldn't want to lose the new field.

    One more question - would Easy Populate be able to enter data into the new field? Would it matter for Easy Populate if it's added to the existing table or a new one?

    Thanks!

  3. #13
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

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

    I'm also interested in this but would love to put the extra fields in a separated table... anyone?

    Thanks in advance !
    Shirley :)

  4. #14
    Join Date
    Jul 2007
    Posts
    40
    Plugin Contributions
    0

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

    I am using Easy Populate and when I import I get this error:

    No model field in record. This line was not imported

  5. #15
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

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

    I would also love an answer to the extra tables. and I am using Easy Populate as well.

    maybe 1.4 could even have an 'add custom fields' button built in!??!
    that would be cool.

    Thanks in advance...

  6. #16
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    163
    Plugin Contributions
    0

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

    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.

  7. #17
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

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

    Thanks Chris! it worked perfect for me.

    If you have a chance to respond,

    Do you have any thoughts on:

    separate tables instead,

    easy populate,

    and having these new fields included in the search fields!!

    just a wishlist.

    thanks again for your time in that step-by-step

  8. #18
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    163
    Plugin Contributions
    0

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

    Oh man, this is a pain in my arse. Ok, so i think i got the text area going. I am able to use my new product property in the admin. it is there in the databse. The problem now is the output. I check my file over and over, I did just as instructed, but it's nto working right.

    Nothing shows up unless ANOTHER property is also displayed (model, quantity,etc).

    What in the hell can this mean? I am pulling my hair out over this. Been spending the last 2 days trying different things with the code.

    PLEASE someone help me!

    thanks.

  9. #19
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    163
    Plugin Contributions
    0

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

    Argh. Ok, the problem seems to be with this part of the code:

    Code:
    <ul id="productDetailsList" class="floatingBox back">
     
      <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
      <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT .  $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>'  : '') . "\n"; ?>
      <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>'  : '') . "\n"; ?>
     <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
    </ul>
    If I try to put the new property inside here it doesnt work, if i put it above this it does. This sucks because I am trying to control the way this information is presented. I want it in the same List, and in the order I want.

    So, any ideas how to make it display correctly within the above code?

    thanks again!

  10. #20
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    163
    Plugin Contributions
    0

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

    Well, after 2 days of madness and no replies....I got it to work somewhat.

    Ok, so who knows how to do this but with something that has options for the admin to choose from? This purpose of this site is to sell used clothes, and when someone adds a new product, we want to be able to choose the size from a drop down list. this is NOT an attribute for the customer, this is for admin to set for one item.

    Also, wondering how we could display this in a pull down for the customer side, so they can shop by size.

    Any help is much appreciated!

 

 
Page 2 of 28 FirstFirst 123412 ... 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