X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Displaying Option Fields Twice in Product listings (https://forum.x-cart.com/showthread.php?t=23575)

mocara 07-26-2006 11:38 AM

I would not have thought so. There is none to my knowledge. You could just grep the files to find out where it is reffered to.

Mocara.

GooseCA 07-26-2006 11:51 AM

I just made my own little quick fix, here is the code if anyone is interested:
Code:

{foreach item=product_options from=$product}
{foreach from=$product_options item=v key=key}
{if $key ne '0'}
        <span class="specs-{if $tmp is div by 2}2{else}1{/if}">[img]{$ImagesDir}/arrow1.gif[/img]{$key} : {$v.option_name}</span>
                {assign var="tmp" value=$tmp+1}
{/if}
{/foreach}
{/foreach}


Now, I have another problem. Anyone know why it shows the error: Warning: fread(): Length parameter must be greater than 0. in /home/goose/public_html/site/xcart/include/func.php on line 4704 on every product page? For example: http://www.intercage.com/site/xcart/product.php?productid=16135&cat=249#


All times are GMT -8. The time now is 01:54 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.