Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Displaying Option Fields Twice in Product listings

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 07-26-2006, 11:38 AM
 
mocara mocara is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 55
 

Default

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.
__________________
4.0.15
Linux
Reply With Quote
  #12  
Old 07-26-2006, 11:51 AM
 
GooseCA GooseCA is offline
 

Newbie
  
Join Date: Jul 2006
Posts: 9
 

Default

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#
__________________
Version 4.0.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:07 AM.

   

 
X-Cart forums © 2001-2020