Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Numinix Extra Field instructions don't show new fields on product pages

    ZC 157c with Bootstrap template. Fresh install PHP Version: 7.1.33

    I've added the Numinix Product Fields latest version found at:
    https://www.numinix.com/zen-cart-plu...-fields-dl-800
    (This is version 3.1.0 - the one found in the plugins form is 2.4.8)

    The installation went great and I was able to make the changes necessary to make it work with music products. However, though everything seems to work well in the admin side, I am not able to show any field values on the product pages.

    The readme states:

    To display numinix product fields in product info page
    Open includes/modules/YOUR_TEMPLATE/templates/YOUR_TEMPLATES/templates/tpl_product_info_display.php and find:
    Code:
     <php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
    Add the following:
    Code:
    <!-- BEGIN NPF MODIFICATIONS -->
    <?php
      if(count($numinix_fields_display ) > 0) { ?>
    <?php foreach ($numinix_fields_display as $field => $value) {
        $field_name = ucwords(str_replace('_', ' ', $field));
     ?>
        <li><?php echo $field_name . ': ' . $value; ?></li>      
      <?php } ?>
    <?php } ?>
    <!-- END NPF MODIFICATIONS -->
    I have made the necessary changes to my templates/tpl_product_info_display.php (templates/tpl_product_music _info_display.php in my case), but I am not getting any output to the store's product page.

    I have also built my own custom field, and that is behaving the same way. Values are being stored in the database and are present when editing a product. But no matter what I try, neither extra field approach is producing values called to the store's product page.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Numinix Extra Field instructions don't show new fields on product pages

    there is a file in the plugin:

    catalog/includes/templates/YOUR_TEMPLATES/product_info/extra_main_template_vars/extra_main_template_vars.php:22:

    did you copy that file and move it here to:

    catalog/includes/templates/YOUR_TEMPLATES/product_music_info/extra_main_template_vars/extra_main_template_vars.php:22:

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: Numinix Extra Field instructions don't show new fields on product pages

    Quote Originally Posted by carlwhat View Post
    there is a file in the plugin:

    catalog/includes/templates/YOUR_TEMPLATES/product_info/extra_main_template_vars/extra_main_template_vars.php:22:

    did you copy that file and move it here to:

    catalog/includes/templates/YOUR_TEMPLATES/product_music_info/extra_main_template_vars/extra_main_template_vars.php:22:

    best.
    Thank you for the reply. I had it at /includes/templates/bootstrap/product_info/extra_main_template_vars/extra_main_template_vars.php. I added the directory and file: /product_music_info/extra_main_template_vars/extra_main_template_vars.php. But it had no effect on output to the product page.

    The new fields appear in music product creation pages but it appears they're not being saved for the Numinix fields. Returning to the product input page shows the fields empty after previously being filled. Might that indicate a database issue, or problem in collect_info.php?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Numinix Extra Field instructions don't show new fields on product pages

    What template is the site using?

  5. #5
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: Numinix Extra Field instructions don't show new fields on product pages

    Quote Originally Posted by lat9 View Post
    What template is the site using?
    It's using the Bootstrap template.

 

 

Similar Threads

  1. v155 Numinix Extra Fields to Product Page on Storefront
    By Joseph M in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 14 Aug 2018, 11:43 PM
  2. v155 Applying Numinix Extra Fields to Product - Music
    By Joseph M in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 11 Aug 2018, 01:53 AM
  3. v139h How to add Numinix Product Fields (MSRP) to Product Listing Pages
    By Angeltown in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 7 Nov 2013, 11:00 PM
  4. Replies: 0
    Last Post: 25 Mar 2009, 06:54 PM
  5. show custom product fields on new and all product pages
    By crl in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Oct 2007, 05:04 AM

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