badcape Posted April 21, 2015 Share Posted April 21, 2015 Good evening, i've installed Products Extra fields add-on and i'd like to change the layout of the fields in product_info.php: does anyone has tried to display them with Jquery Tabs? I guess the following code, just after the db query, must be totaly changed... echo '<tr> <td> <table border="0" width="50%" cellspacing="0" cellpadding="2px">'; while ($extra_fields = tep_db_fetch_array($extra_fields_query)) { if (! $extra_fields['status']) // show only enabled extra field continue; echo'<tr><td class="main" align="left" valign="middle"><font size="1" color="#666666"><b>'.$extra_fields['name'].': </b>' . stripslashes($extra_fields['value']).'</font></td></tr>'; } echo' </table> </td> </tr>'; Any suggestions? Thierry. Quote Thanks to the whole osCommerce Community. Prod Server: Percona Server via UNIX socket Percona Server version: 5.5.40-36.1-log - Percona Server (GPL), Release 36.1, Revision 707 phpMyAdmin 3.5.8.2 Database version: libmysql - 5.0.96 PHP extension: mysqliversion Oscommerce-RC2A php 5.3 with many add-ons/up-dates ...... and liters of coffee !Local dev: EasyPHP DevServer 14.1 VC9 "Minakami" avec oscom 2.3.1 + Them switcher, Grid system et css 24 col 1280 px width, KissIT_image thumbnailer, lightbox, Invoice editor, Superfish horizontal navbar, Quick inventory, margin report, PWA (purshase without account), Products field groups, Products Extra fields Footer boxes... modified to my personnal needs.... 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.