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.
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.
Re: Numinix Extra Field instructions don't show new fields on product pages
Quote:
Originally Posted by
carlwhat
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?
Re: Numinix Extra Field instructions don't show new fields on product pages
What template is the site using?
Re: Numinix Extra Field instructions don't show new fields on product pages
Quote:
Originally Posted by
lat9
What template is the site using?
It's using the Bootstrap template.