Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I enter HTML into the tab-delimited file?


speedystuff48

Recommended Posts

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

Link to comment
Share on other sites

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

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

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 by dahui
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...