New field will not display..
I can add a field to a product, I can see and use that field when editing a product page, I can see the field while in the edit page and hitting "preview" - yet the new field never shows when I just view the page normally. What am I doing wrong?
Comments
are you using the omega kickstart theme?
Are you using the omega kickstart theme or your own custom theme?
Thanks
I am using this theme: http:
I am using this theme: http://www.themesnap.com/premium-drupal-themes/ecommerce-pro.html
Almost afraid to suggest this...
Maybe try clearing your cache?
When you say "view the page normally" are you logged in or anonymous?
Sorry, yeah I meant not
Sorry, yeah I meant not logged in/ anonymous. Or even if logged in (admin or other) and just viewing the page.
Anyone have any ideas?
Anyone have any ideas?
A little more info
It's a little difficult to help you if you are using a custom theme
because we don't have access to the templates
but maybe this link can guide you a little more:
http://www.drupalcommerce.org/discussions/337/how-theme-product-display
Thank you for the link ,that
Thank you for the link ,that did help, at least getting me back to looking at the node--product-display.tpl.php ...I think I need to edit- adding
<?php
print render($content['product:field_description']);
?>
For the "field_discirtion" I tried field_video and video (the name of the field) yet it still does not show.
I know the video is there and works, plays fine when previewing the product from its edit page. Just dont understand whats blocking it from showing on the product page.. The feild I am adding is JW player, but any new field does not show..
Looks like you need the whole
Looks like you need the whole code.
<?php
hide($content['product:field_description']); //where it says 'field_description' can be any field that in your product display.
print render($content);
?>
<?php
print render($content['product:field_description']);
?>
Works! Thank you!!!