- Posts: 35
- Thank you received: 0
How to: format descriptions of product imports
Currently sussing out the file import file, and am struggling with getting the text descriptions to drop onto multiple lines.
Can this be done? or do I have to upload it, then format it?
Thanks
Please Log in or Create an account to join the conversation.
product_code,product_description
my_code,"my
product
description
on
several
lines"
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It doesn't work if the last column is on several lines.
You can replace the file administrator/components/com_hikashop/helpers/import.php by the one in the archive to fix the problem.
The text field example I wrote is just to show you how the system handles several lines.
Excel CSV are supported as well.
This attachment is hidden for guests.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
i'll check it out in a few days...
Have a happy Christmas
Please Log in or Create an account to join the conversation.
**** EDIT***
this does move the lines down on execl... but not when imported.
also, even when using the text editor / imort it still puts them all on the same line.
****** The text i was trying to import *******
product_code,product_description,categories
testnew1,"my
product
description
on
several
lines",11
**********************************************
Please Log in or Create an account to join the conversation.
From what I know it's ctrl+enter or ctrl+alt+centre on macs.
Some users say alt+enter works for them...
Just try the different combinations. There's got to be one working but apparently it depends on your version of Excel.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Did you get any error ?
Please Log in or Create an account to join the conversation.
i'll do it now.
my csv file has all the fields... but not populated yet as i'm just trying to get it worked out before I start putting in data.
Please Log in or Create an account to join the conversation.
,testnew,"""my description
on multiple
lines""",,testnew2,yes,,,,,,,,,,,0.1,,,,,,,,,,12,,,,thumbnail/umm.jpg,10,,
hmmm... it appears there is extra quote marks around the text...
i'll try removing this
Please Log in or Create an account to join the conversation.
product_parent_id,product_name,product_description,product_quantity,product_code,product_published,product_hit,product_created,product_sale_start,product_sale_end,product_delay_id,product_tax_id,product_type,product_vendor_id,product_manufacturer_id,product_url,product_weight,product_keywords,product_weight_unit,product_modified,product_meta_description,product_dimension_unit,product_width,product_length,product_height,product_max_per_order,price_value,price_currency_id,price_quantity,files,images,categories,related,size
,test3,"my description
on multiple
lines",,testnew3,yes,,,,,,,,,,,0.1,,,,,,,,,,12,,,,thumbnail/umm.jpg,10,,
but.... this doesn't work either....
Please Log in or Create an account to join the conversation.
After correcting that, it imported correctly on my end in several lines.
Mmmm. I'm feeling that you're missing something:
The description of products is displayed in HTML. So return characters are not interpreted by the browser. If you want text on several lines in the description, you should use HTML tags. For example by adding <br/> tags.
Also, you might be tricked by your HTML editor. Some Joomla HTML editors will remove the return characters when displaying the description. If you set the editor option of hikashop to no editor, or if you look directly in the database, you will see the return characters.
Please Log in or Create an account to join the conversation.
when i paste the file text here... there is no space,
but once submitted, the space appears.
when pasted in the "import from text area" with no space in images, it doesn't split them.. i'll try using html
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Sorry to be such a pain.
Please Log in or Create an account to join the conversation.
Could you change the line
Please Log in or Create an account to join the conversation.