| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Extra Fields Don't Show | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Product Extra Fields Don't Show
Can you post the rest of the code from above? Would end in {/section}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||
|
|||||||
Re: Product Extra Fields Don't Show
{section name=field loop=$extra_fields}
{* loop through with sanity check on field=ingredients in case more extra fields are added *} {if $extra_fields[field].active eq "Y" && $extra_fields[field].field_value && $extra_fields[field].field eq "Ingredients"} <iframe id="ingred_cover" src="javascript: '<html></html>';" scrolling="no" frameborder="0"></iframe> <div id="ingredients"> <div class="ing_title">INGREDIENTS</div> <div>{$extra_fields[field].field_value}</div> <div class="ing_close"><a href="javascript: ingredients('none');">CLOSE X</a></div> </div> {/if} {/section} Make any sense?
__________________
X-Cart Gold 4.1.10 Add-on: X-AOM (Advanced Order Management) |
|||||||
#13
|
|||||||||
|
|||||||||
Re: Product Extra Fields Don't Show
Can't you put HTML in the extra fields?
__________________
xcart 5.1.2 |
|||||||||
#14
|
|||||||
|
|||||||
Re: Product Extra Fields Don't Show
What HTML would I put?
__________________
X-Cart Gold 4.1.10 Add-on: X-AOM (Advanced Order Management) |
|||||||
#15
|
|||||||||
|
|||||||||
Re: Product Extra Fields Don't Show
why I asked is because I don't think you need to break the original code. Could have just made the pop up by putting that code in the ingredients extra field.
__________________
xcart 5.1.2 |
|||||||||
#16
|
|||||||
|
|||||||
Re: Product Extra Fields Don't Show
Well, the popup is already done...let's leave all that alone. I don't want to change any of the existing code except for whatever is keeping it from allowing the new extra field to show up on the page at all. Any ideas? thanks!
__________________
X-Cart Gold 4.1.10 Add-on: X-AOM (Advanced Order Management) |
|||||||
#17
|
|||||||||
|
|||||||||
Re: Product Extra Fields Don't Show
well if you add the code to allow the others the ingredients one will show also.
__________________
xcart 5.1.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|