I am using commerce kickstart 7.x-2.6.
I am customizing a commerce kickstart site and have a page with a collection of products generated by the view "Collection products"
http://freelance-graphic-designer.us/barmaiddev2/product-category/commer...
I would like the Taxonomy Term Description from the taxonomy Commercial Juicers to display once on this page between where it says Commercial Juicers and the first product listing.
see text "this is content about the super awesome commercial juicers. 500 words of custom content will be placed here."
I have added the Taxonomy Term Description as a Field to the Collection products view, however it shows up above each product listing, instead of just once before the listings as it does on the taxonomy term page here: http://freelance-graphic-designer.us/barmaiddev2/commercial-juicers
I truly appreciate any help. Please let me know if you need additional information to solve this issue.
Comments
Comment #1
bojanz commentedThere is no 7.x-3.0-rc2.
If you're using 7.x-2.0-rc2, then your Kickstart installation is old and some of the advice you'd receive might not apply.
(The old taxonomy view was replaced by a Search API powered view since then).
Comment #2
candi commentedSorry, I had typed the omega kickstart version. I have ensured that all the themes and modules are updated to use the most current version. Commerce Kickstart version is 7.x-2.6. The problem still exists.
Comment #3
jsacksick commentedYou should be able to use the "Header" area of the view just like we do currently, we embed a view in an other view, you should be able to use the embeded view and add the taxonomy term description there.
Comment #4
candi commentedThat places the taxonomy description in the header. I need it to be between where it says Commercial Juicers and the first product listing. At the very least, I need it to appear directly under the header image.
Comment #5
coolhandlukek2 commentedTry using global text in your view and calling the field variables separably - then hide the existing field elements.
Its not the most efficient way of doing this but it might work
Comment #6
candi commentedSolved.
How I edited the Collection Products view
I needed to get rid of the
surrounding the field. Did so by editing the view template file:
Copied the file views-view-list.tpl.php to a Template folder inside my theme folder and renamed it views-view-list--collection-products--page.tpl.php
Removed the h3 around
print $title;See these sources on view templates:
http://drupal.org/node/352970
http://www.templatezine.com/2010/03/views-styles-and-theming-how-to-rede...
------------
In the View:
I added the field Taxonomy term: Rendered Taxonomy term
Check "Exclude from display"
View mode "Taxonomy Term Page"
Under Format > Settings
Made Taxonomy term: Rendered Taxonomy term a Grouping Field
----------------
I also removed the header from the view since I had an image in the Rendered Taxonomy Term.
I also removed the 2 Taxonomy Term Name fields since the name came in with the Rendered Taxonomy Term.
Comment #7.0
(not verified) commentedCorrected the Commerce Kickstart version is 7.x-2.6. All themes and modules are updated to the latest versions.