sean1688 Posted January 11, 2015 Share Posted January 11, 2015 we have updated our website www.mastechpowersupply.com to the newest version of Cubecart, but found that in the mobile skin, the category description disappears completely. is there a way to show the category descriptions in mobile skin? Thanks in advance for your help. Sean Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 12, 2015 Share Posted January 12, 2015 It should also not have been visible in the prior version. Here is the first few lines of code for CC5216, Kurouto template content.category.php:<h2>{$category.cat_name}</h2> {if isset($category.image)} <div id="category_image"><img src="{$category.image}" alt="{$category.cat_name}" /></div> {/if} {$category.cat_desc} {if isset($SUBCATS) && $SUBCATS} Here is the same for the Mobile template:<h2>{$category.cat_name}</h2> {if isset($SUBCATS) && $SUBCATS} By definition, the Mobile skin must be very selective on what it shows -- no category image and no category description. But, the data is in the variable {$category.cat_desc}. You just need to add it to the Mobile skin template file where it suits you. Quote Link to comment Share on other sites More sharing options...
sean1688 Posted January 15, 2015 Author Share Posted January 15, 2015 Thanks Bsmither! that took care of it! You are the best! Sean Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.