Guest sametch Posted August 1, 2005 Share Posted August 1, 2005 I am just evealuating CubeCart. I notice when adding many products to a category they are displayed down the page in a series of individual rows. I would like to display a matrix of product thumnails with "more" hyperlinks. Typically 3 in a row and 12 on a page. when there are more than 12 items these will spill across onto a second page. Is this possible in Cubecart? Can it be done in settings or does it require programming? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 1, 2005 Share Posted August 1, 2005 With very basic PHP knowledge you will be able to do this... Quote Link to comment Share on other sites More sharing options...
Guest sametch Posted August 1, 2005 Share Posted August 1, 2005 Any clues? I have found the template viewCat.tpl and the code for the product layout: <!-- BEGIN: products --> <tr> <td align="center" class="{CLASS}"><a href="index.php?act=viewProd&productId={PRODUCT_ID}" target="_self"><img src="{SRC_PROD_THUMB}" alt="{TXT_TITLE}" border="0" /></a></td> <td valign="top" class="{CLASS}"><a href="index.php?act=viewProd&productId={PRODUCT_ID}" target="_self" class="txtDefault"><strong>{TXT_TITLE}</strong></a><br /> {TXT_DESC}<div class="txtOutOfStock">{TXT_OUTOFSTOCK}</div></td> <td align="center" class="{CLASS}">{TXT_PRICE} <div class="txtSale">{TXT_SALE_PRICE}</div></td> <td align="right" nowrap='nowrap' class="{CLASS}"> <form action="{CURRENT_URL}" method="post" name="prod{PRODUCT_ID}"> <!-- BEGIN: buy_btn --> <input type="hidden" name="add" value="{PRODUCT_ID}" /> <input type="hidden" name="quan" value="1" /><a href="javascript:submitDoc('prod{PRODUCT_ID}');" target="_self" class="txtButton">{BTN_BUY}</a><!-- END: buy_btn --> <a href="index.php?act=viewProd&productId={PRODUCT_ID}" target="_self" class="txtButton">{BTN_MORE}</a></form></td> </tr> <!-- END: products --> I assume this repeats a series of <tr></tr> cells for each product in a single long column. But if I put the <!-- BEGIN: products --> after the <tr> and before the <td> it will create a single row with lots of columns. I guess what I need is to go across 3 and then fold to a new row etc. I am struggling to see how I can do this Quote Link to comment Share on other sites More sharing options...
Guest Tcboxa Posted January 28, 2006 Share Posted January 28, 2006 Bump! id like to know this also please Quote Link to comment Share on other sites More sharing options...
Guest aikdo Posted January 28, 2006 Share Posted January 28, 2006 Yes its possible and you can get a mod for this from Jen - grassmear infact you can see my modified version of this at http://www.ernestgbrooks.com Quote Link to comment Share on other sites More sharing options...
Guest Tcboxa Posted January 28, 2006 Share Posted January 28, 2006 I think this is the mod im after , http://www.beadberry.com/cubemods 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.