Palarn Posted July 2, 2008 Share Posted July 2, 2008 Hey everyone :D I have installed Product Extra Field on my motorcycle webshop. Because I use exploded part view with numbers, I need a extra column with the number in- like this: As I have over 100.000 products, I also have to use Easy Populate. Product Extra Field and Easy Populate will work together? I installed Product Extra Fields in Product Listing Works with RC2.2 but when I take a look in the product_listing.php I see this: I want it like this: http://www.wizardscupboard.com/singles-edition-c-100_3.html Whats wrong?? Best Regards Paal Martin Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted July 2, 2008 Share Posted July 2, 2008 (edited) Easy Populate works with extra products. This layout works v_products_model,v_products_extra_fields_name,v_products_extra_fields_id,v_produ cts_extra_fields_value,EOREOR VOGVFW165/SI,Our Part No,2,VOGVFW165,EOREOR VOGVFW140/SI,Our Part No,2,VOGVFW140,EOREOR 19LS4D,List Price,1,£219.00,EOREOR 22LS4D,List Price,1,£259.00,EOREOR KDL20B4050U,List Price,1,£399.00,EOREOR KDL20S2020U,List Price,1,£419.00,EOREOR Sorting out the report I'll leave to you. Edited July 2, 2008 by geoffreywalton Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Palarn Posted July 2, 2008 Author Share Posted July 2, 2008 Thank you! Is Product Extra Fields in Product Listing Works with RC2.2 the right contribution to use, when you want it as shown above? (On the 1st picture) Something is wrong, see 2nd picture.. What should I do? Quote Link to comment Share on other sites More sharing options...
Palarn Posted July 2, 2008 Author Share Posted July 2, 2008 Sorry for double post, but I replaced this: $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a> '; } break; With this: //PRODUCT EXTRA FIELDS IN PRODUCT LISTING - BEGINING //$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . //$listing['products_name'] . '</a> '; // } // break; $extra_fields_text = ''; $extra_fields_query = tep_db_query(" SELECT pef.products_extra_fields_status as status, pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value FROM ". TABLE_PRODUCTS_EXTRA_FIELDS ." pef LEFT JOIN ". TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS ." ptf ON ptf.products_extra_fields_id=pef.products_extra_fields_id WHERE ptf.products_id=". (int) $listing['products_id'] ." and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='".$languages_id."') ORDER BY products_extra_fields_order"); while ($extra_fields = tep_db_fetch_array($extra_fields_query)) { if (! $extra_fields['status']) continue; $extra_fields_text = $extra_fields_text. '<font color="#000000">'.$extra_fields['name'].': </font>' . '<font color="#006600">' .$extra_fields['value'].'<BR></font>'; } $lc_text = '<b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . $fldname . '</a></b> <br>' . $extra_fields_text . '<br>'; } break; // PRODUCT EXTRA FIELDS IN PRODUCT LISTING - END Something is wrong (see picture 2 above) Quote Link to comment Share on other sites More sharing options...
Palarn Posted July 3, 2008 Author Share Posted July 3, 2008 Bump: What's wrong with the product_listing? (see picture two above) Quote 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.