Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default 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

    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

    3. 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

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


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

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

    product_model.php


    10. /includes/languages/espanol/product_models_info.php

    /includes/languages/english/product_models_info.php

    11. /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

    13. /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?


  2. #2
    Join Date
    Mar 2009
    Posts
    414
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Product Type Filter Sideboxes
    By rbarbour in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Sep 2011, 04:25 AM
  2. Disable Product Type Sideboxes
    By rbarbour in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 5 Jan 2011, 04:26 PM
  3. Auction Product Type: starting bid doesn't update properly
    By arrow in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 7 Oct 2009, 10:10 PM
  4. PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer
    By Zebra- in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 7 Aug 2009, 02:19 PM

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