speedystuff48 Posted September 12, 2005 Share Posted September 12, 2005 Hi, I have 2 rants right now. I just tried searching for 'HTML' in the forum search but evidently 'HTML' is not allowed per the error I received: "you are searched for words which are not allowed, such as 'html'" Since I don't want to search through 460something pages I am going to ask the question: How do I successfully put HTML code into my excel file that will be converted to a tab-delimited file for upload to EP? I can probably use the standard 'out of the box' osCommerce admin tool, and put everything into the description. Specifically I have a cloting store that has 1-offs of everything (kinda like a thrift store). I can use the standard place in the catalog for the item name, description, price, etc.; but I want to put the measurements into an HTML formatted table (<TABLE>,<TR>,<TD>, etc.). I figured out that I need to have double backslashes on the closing HTML tags, but it still makes the page all sloppy when the file is uploaded through EP. Any suggestions are very much appreciated! Thanks, Dave Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 12, 2005 Share Posted September 12, 2005 Try searching for "html" instead of html. Try not to start your html code with a <table>. The code you are adding is being displayed inside html code so if you start it with <tr><td> first, it usually works fine. Also, if you can enter it in admin->catalog and it works, then you can just copy paste that code into excel and it should work. Except for using ", then you need to use the symbol instead. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
speedystuff48 Posted September 14, 2005 Author Share Posted September 14, 2005 Thanks Jack! It worked without the <TABLE>! -Dave Quote Link to comment Share on other sites More sharing options...
dahui Posted September 15, 2005 Share Posted September 15, 2005 (edited) please correct me if I am wrong, but according to my knowledge it would be even better to leave out the tr and td tags as the code in product_info php looks like this </table><?php } ?> <p><?php echo stripslashes($product_info['products_description']); ?></p> <?php $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query); if ($products_attributes['total'] > 0) { ?> <table border="0" cellspacing="0" cellpadding="2"> so the description comes into a paragraph tag between to tabels in a nested td for clean html according to my knowledge no need for any opening or closing tags in product description field either admin or flat-file dahui Edited September 15, 2005 by dahui 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.