Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2007
    Posts
    15
    Plugin Contributions
    0

    Default show custom product fields on new and all product pages

    Hello all,
    I added some custom fields to my products using the method in this thread
    http://www.zen-cart.com/forum/showth...=custom+fields
    and it works great - but I wanted some of these to show up in the new product page and the all products page.
    I have tried all of the easy stuff, but the new fields just wont show.
    Any hints?
    Thanks
    Craig

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: show custom product fields on new and all product pages

    That thread travels all over the place so it is difficult to determine what you have done....

    A url to your site and possibly direct to a page(s) would assist
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: show custom product fields on new and all product pages

    Thanks.
    Here is a product page (on a test site, not live yet) - I added a couple of fields for Composer, arranger, online price and ensemble.

    http://s92588529.onlinehome.us/catal...roducts_id=197

    I want to have the composer field also show up in the product listings -

    http://s92588529.onlinehome.us/catal...e=products_all

    primarily new products and all products, but eventually in category view as well.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: show custom product fields on new and all product pages

    Are these integrated into the admin side?

    Did you create a new "product type"?

    Did you edit the tpl_profuct_info_display.php to make them show on the product page?

    Have you looked at the product listing files?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: show custom product fields on new and all product pages

    Quote Originally Posted by kobra View Post
    Are these integrated into the admin side?

    Yes, i can add the new fields in the "add product" part of admin

    Did you create a new "product type"?
    No, i just altered exisitng products

    Did you edit the tpl_profuct_info_display.php to make them show on the product page?
    Yes, and that one works OK

    Have you looked at the product listing files?
    I am doing that tonigth, I am guessing I need to look at the templates for each page, as well as all the files that lead into it. I think part of the problem may be that I am missing a file somewhere, and the new fields I created are not being added to the array that is being called when I look at the product listings.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: show custom product fields on new and all product pages

    The data is initially pulled with /includes/modules/product_listing.php

    Add your DB calls there
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Aug 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: show custom product fields on new and all product pages

    Thanks for the help... I think I have now found all of the files that need to be altered, its now just a matter of getting the syntax correct.

 

 

Similar Threads

  1. v151 New / Custom Extra Product Fields
    By stiggybaby in forum Setting Up Categories, Products, Attributes
    Replies: 28
    Last Post: 28 Oct 2014, 06:40 PM
  2. v151 Banners show in all pages, except for product pages. Help!
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Mar 2014, 05:56 PM
  3. Show all / view all on new product pages
    By delia in forum General Questions
    Replies: 0
    Last Post: 26 Sep 2013, 04:22 PM
  4. Show custom product fields in search results?
    By DigitalShadow in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2011, 01:06 AM
  5. Replies: 1
    Last Post: 10 Dec 2007, 02:40 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