| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Automatically hiding blank extra fields | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Automatically hiding blank extra fields
If you don't want extra fields to show up when they have no value (why would you...) then backup and replace your
/skin1/Modules/Extra_fields/Products.tpl with Code:
This was tested with 3.4.5 - 3.4.8. One day I'll understand why the extra field names aren't tied directly to paramXX fields by default since it's limited to 9 internally anyway... If anyone has a better way of doing the above without changing the php file (i.e using smarty to do it) please post it. I couldn't (be bothered ) to find a way to build the param0X name dynamically in smarty so I could loop through it
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#2
|
|||||||
|
|||||||
it works and thats the main thing
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
Thanks, good mod, ought to be standard
|
|||||||
#4
|
|||||||||
|
|||||||||
Doesn't work so good in 3.3.8.
Useful but this mod made me realise that I don't need the extra fields. They are just more clutter on the product screen. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|