Jump to content

Search the Community

Showing results for tags 'category view icons'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location

Found 1 result

  1. Hi everyone, I couldn't find any tips on this topic yet, so I started a new thread for it Perhaps there is someone who can help me with this issue. At the moment I am customizing my shop and I was wondering how I could get the same category view of the Nota skin for my Mican based skin. I found the content.category.php templates of both skins and kinda hoped I could go from there.. What I did was the following: I tried to simpy copy/paste the information from the Nota template to the Mican template, but that of course didn't work. Too simple a solution I guess, haha. But from here I am out of ideas. I know a basic bit of customizing, but when it comes to making bigger changes I am just guessing and trying out. Does anyone know if there is something I should look at as well next to a change to the content.category.php file of my current skin? Or does anyone know what the right change would be? I added an image to the attachment to show you what I would like to see as a result. Is there anybody who can give me a tip or knows what to change? Is it simple or perhaps quite complicated? Thanks very much in advance!! Kind Regards, Miriam - - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - - This is the content.category.php code from the Nota skin: <div class="title_swipe"><h2>{$category.cat_name}</h2></div> {if isset($category.image)} <div id="category_image"><img src="{$category.image}" alt="{$category.cat_name}" /></div> {/if} {$category.cat_desc} {if $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <a href="{$subcat.url}" title="{$subcat.cat_name}"> <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /> </a> <a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a> </div> {/foreach} </div> {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post"> <div class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> {/if} </div> </form> {/if} {if isset($PRODUCTS)} {foreach from=$PRODUCTS item=product} <form action="{$VAL_SELF}" method="post" enctype="application/x-www-form-urlencoded" class="addForm"> <div class="category_product"> <a href="{$product.url}" title="{$product.name}" class="image"> <img src="{$product.thumbnail}" alt="{$product.name}" /> </a> <p class="title"><a href="{$product.url}" title="{$product.name}">{$product.name}</a></p> {if $product.ctrl_sale} <p class="price"><span class="price_previous">{$product.price}</span> <span class="price_sale">{$product.sale_price}</span></p> {else} <p class="price">{$product.price}</p> {/if} <!-- <div class="details"> {if $product.review_score} <p class="rating"> {for $i = 1; $i <= 5; $i++} {if $product.review_score >= $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" alt="" /> {elseif $product.review_score > ($i - 1) && $product.review_score < $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_half.png" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" alt="" /> {/if} {/for} </p> <p class="rating-info">{$LANG_REVIEW_INFO}</p> {/if} {if $product.ctrl_purchase && !$CATALOGUE_MODE} <p class="buy_button"><input type="text" name="add[{$product.product_id}][quantity]" value="1" class="quantity" /> <input type="submit" value="{$LANG.catalogue.add_to_basket}" class="button_white" /></p> {elseif $product.out} <p class="buy_button">{$LANG.catalogue.out_of_stock_short}</p> {/if} </div> <p class="description">{$product.description_short}</p> --> </div> </form> {/foreach} {else} <p>{$LANG.category.no_products}</p> {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post"> <div class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> {/if} </div> </form> {/if} This is the content.category.php code from the Mican skin in which I am currently working: <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 $SUBCATS} <div id="subcategories"> {foreach from=$SUBCATS item=subcat} <div class="subcategory"> <p><a href="{$subcat.url}" title="{$subcat.cat_name}"> <img src="{$subcat.cat_image}" alt="{$subcat.cat_name}" /><br /> </a><a href="{$subcat.url}" title="{$subcat.cat_name}">{$subcat.cat_name}</a></p> </div> {/foreach} </div> {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post"> <div class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> {/if} </div> </form> {/if} {if isset($PRODUCTS)} {foreach from=$PRODUCTS item=product} <form action="{$VAL_SELF}" method="post" enctype="application/x-www-form-urlencoded" class="addForm"> <div class="category_product"> <h3><a href="{$product.url}" title="{$product.name}">{$product.name}</a></h3> <a href="{$product.url}" title="{$product.name}" class="image"> <img src="{$product.thumbnail}" alt="{$product.name}" /> </a> <div class="details"> {if $product.ctrl_sale} <p class="price"><span class="price_previous">{$product.price}</span> <span class="price_sale">{$product.sale_price}</span></p> {else} <p class="price">{$product.price}</p> {/if} {if $product.review_score} <p class="rating"> {for $i = 1; $i <= 5; $i++} {if $product.review_score >= $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star.png" alt="" /> {elseif $product.review_score > ($i - 1) && $product.review_score < $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_half.png" alt="" /> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/common/star_off.png" alt="" /> {/if} {/for} </p> <p class="rating-info">{$LANG_REVIEW_INFO}</p> {/if} {if $product.ctrl_purchase && !$CATALOGUE_MODE} <p class="buy_button"><input type="text" name="add[{$product.product_id}][quantity]" value="1" class="quantity" /> <input type="submit" value="{$LANG.catalogue.add_to_basket}" class="button_default" /></p> {elseif $product.out} <p class="buy_button">{$LANG.catalogue.out_of_stock_short}</p> {/if} </div> <p class="description">{$product.description_short}</p> </div> </form> {/foreach} {else} <p>{$LANG.category.no_products}</p> {/if} {if isset($PRODUCTS) && count($PRODUCTS) >= 1} <form action="{$VAL_SELF}" method="post"> <div class="control"> <span class="pagination">{if isset($PAGINATION)}{$PAGINATION}{/if}</span> {if isset($SORTING)} {$LANG.form.sort_by} <select name="sort" class="auto_submit"> <option value="">{$LANG.form.please_select}</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> <input type="submit" value="{$LANG.form.sort}" /> {/if} </div> </form> {/if}
×
×
  • Create New...