Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / New product type doesn't display errors nor sideboxes

New product type doesn't display errors nor sideboxes

Locked

Views: 1,338

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 Jul 2008, 8:51 PM
#1
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

New product type doesn't display errors nor sideboxes

Hi,

I am a newbie to zencart, and I decided to create a new product type 'models', I read through the docs, FAQS and posts through hours and spent hours modifying all the scripts and creating tables, for instance I created a table models using the music template Record Artists, and for the extra fields, I used Music Genre as a template, and REcord Company as Model Agency. So far I was testing my first two pull downs, Models Hair and Models Agency, I have gone through the scripts one by one and read all the threads, even checking stuff like record_companies in the source code in all the site, but no matter what when I try to display the new boxes, in the front end, I receive nothing, and something else it shows only Documents from all the sideboxes selected in layout controller! So there has to be a prob somewhere ... I can't find it :lamo:

BTW what is working so far in Admin is it correctly displays the new fields and related tables in EXtras and it allows to add 'products' in models, I checked every single folder one by one and read all code trying to understand the logic, and it seems fine ... here is what I modified/created >>

Admin

  1. Created models.php, models_agency.php, models_hair.php
    models from record_artists, models_agency from record_company, and models_hair and the other fields from music genre.

2.admin/includes/boxes/extra_boxes/product_models_extra_dhtml.php

  1. admin/includes/boxes/extra_datafiles/model_type_database_names.php
    admin/includes/boxes/extra_datafiles/model_type_filenames.php

4.admin/includes/functions/extra_functions/product_model_functions.php

5.admin/includes/languages/extra_definitions/espanol/product_models.php

admin/includes/languages/extra_definitions/english/product_models.php

6.admin/includes/languages/espanol/
models.php
models_agency.php
models_hair.php

and all the other fields similar to models_hair.php

admin/includes/languages/english/
models.php
models_agency.php
models_hair.php

and all the other fields similar to models_hair.php

admin/includes/modules/products_model/
collect_info.php
copy_to_confirm.php
delete_product_confirm.php
update_product.php
Note: those files are the ones I modified

  1. Front End
    /includes/extra_datafiles/
    model_type_database_names.php

8./includes/index_filters/
models_agency_filter.php
models_hair_filter.php

  1. /includes/languages/espanol/extra_definitions/
    product_model.php
    /includes/languages/english/extra_definitions/

product_model.php

  1. /includes/languages/espanol/product_models_info.php

/includes/languages/english/product_models_info.php

  1. /includes/modules/pages/product_models_info/
    main_template_vars.php
    main_template_vars_product_type.php

12./includes/modules/sideboxes/
models_agencies.php
models_hairs.php

  1. /includes/templates/topmodels/sideboxes/
    tpl_models_agency_select.php
    tpl_models_hair_select.php

I will do all the other selects as soon as I make these two work.

14./includes/templates/topmodels/templates/tpl_product_models_info_display.php

Any clues?

:lamo:

30 Oct 2009, 5:18 PM
#2
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Re: New product type doesn't display errors nor sideboxes

I see this is an old thread from July, 2008. However, since it is still posted, I would observe that sometimes the singular word "model" is used and sometimes the plural "models" is used. Hopefully the poster did note this inconsistency.

Notageek