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?
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?
I'm also interested in this but would love to put the extra fields in a separated table... anyone?
Thanks in advance !
I am using Easy Populate and when I import I get this error:
No model field in record. This line was not imported
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...
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.
Thanks Chris! it worked perfect for me.
If you have a chance to respond,
Do you have any thoughts on:
separate tables instead,
and having these new fields included in the search fields!!
just a wishlist.
thanks again for your time in that step-by-step
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!
Argh. Ok, the problem seems to be with this part of the code:
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.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>
So, any ideas how to make it display correctly within the above code?
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!