I'm trying to have the foreach array of the subcategories to include a short description of the category. Currently the subcategory title and title image are showing up fine but I've tried a zillion ways to get a short description to show up and just cannot figure it out. Since I'll be having different formats for some of my categories, I've created another page template CTGZ for the array of subcategories showing the subcats:name; .... subcats:image; ..... (and hopefully subcats meta description or I've also tried creating a custom field - but I just cannot get the text to show up) I'm pretty sure i have all the proper Items turned on
I read another forum posting which offered the following, (and I also tried it on the CTGY page) but still no go
<mvt:if expr="l.settings:meta:description">
<meta name="description" content="&mvte:meta:description;" />"
<mvt:else>
<mvt:if expr="l.settings:meta:description">
<meta name="description" content="&mvte:meta:description;" />
<mvt:else>
<meta name="description" content="Default Description" />
</mvt:if>
</mvt:if>
I am certainly not a pro at this, just trying to update my store from 4 (finally!!!) I have studied DTS and have figured out most so far but this has me stumped. And advise is welcome. Thanks!
I read another forum posting which offered the following, (and I also tried it on the CTGY page) but still no go
<mvt:if expr="l.settings:meta:description">
<meta name="description" content="&mvte:meta:description;" />"
<mvt:else>
<mvt:if expr="l.settings:meta:description">
<meta name="description" content="&mvte:meta:description;" />
<mvt:else>
<meta name="description" content="Default Description" />
</mvt:if>
</mvt:if>
I am certainly not a pro at this, just trying to update my store from 4 (finally!!!) I have studied DTS and have figured out most so far but this has me stumped. And advise is welcome. Thanks!
Comment