ismtech Posted July 16, 2010 Share Posted July 16, 2010 HelloThanks for taking time to read this.I was wondering if it is possible to add extra field in the import csv feature prestashop admin. Is there any possible way i can add sub-catagory to this list of field as it would be very helpful, ad the moment there is just catagory but if I have 1 file with multiple subcatagories At the moment there are:IDActive (0/1)Name *Categories (x,y,z...)Price tax excl. or Price tax incl.Tax rateWholesale priceOn sale (0/1)Reduction amountReduction per centReduction from (yyyy-mm-dd)Reduction to (yyyy-mm-dd)Reference #Supplier reference #SupplierManufacturerEAN13EcotaxWeightQuantityShort descriptionDescriptionTags (x,y,z...)Meta-titleMeta-keywordsMeta-descriptionURL rewritedText when in-stockText if back-order allowedImage URLs (x,y,z...)FeatureAt the moment if I create a catagory called Accessories cat number 27In the csv file I only have option to put this number is 27 for catagoryBut if If I have Sub Catagories in Acccessories exampleHeadphoneSpeakersMouseCableIs it possible to add these to csv file so it is recgnised as subcataogies, because I have 1 file with all the data on with different catagories.I know I can create sub cat in admin then add these to the csv file but this takes too long as there are many subcat Any help or suggest where I can learn more about this will be much appreciatedKind Regards Link to comment Share on other sites More sharing options...
rocky Posted July 17, 2010 Share Posted July 17, 2010 You don't need to add a new column. You can already specify multiple categories in the category field. Just separate the category IDs with commas. For example, "1, 2, 3" to put the product in categories 1, 2 and 3. Link to comment Share on other sites More sharing options...
ismtech Posted July 17, 2010 Author Share Posted July 17, 2010 Hello RockySo If My main catagory isAcccessories = 78And Sub Cat are:SpeakersHeadphoneMouseIn the csv file I can put in the catagory column:78, SpeakersOr do I have to create the sub-cat first in prestashop admin back officeSpeakers = 79Headphone = 80Mouse = 84Then in the csv file put78,7978,8078,84Kind Regards Link to comment Share on other sites More sharing options...
rocky Posted July 17, 2010 Share Posted July 17, 2010 Here's an example product CSV:ID;Name;Categories (x, y, z...)1;Example Product;1, 2, 3 Link to comment Share on other sites More sharing options...
ismtech Posted July 17, 2010 Author Share Posted July 17, 2010 Hello RockyI did what you advised, although I think I didWhats happening now is everything is going under the home catagory,What I did was create a catagory in Home = 55Then went into excel csv file and put a 55 in front of the subcatagoriesHowever the subcat ended up on the home page as oppose to under the Main cat = 55 I createdWhat am I doing wrong pleaseKind Regards Link to comment Share on other sites More sharing options...
rocky Posted July 17, 2010 Share Posted July 17, 2010 I don't understand why that would happen. Did you import or create the categories first, then import the products? Can you post a sample of your CSV file? Link to comment Share on other sites More sharing options...
ismtech Posted July 18, 2010 Author Share Posted July 18, 2010 Thanks for the replyHere is a sample file where the home page cat or main cat is set to 55And the sub-cat are:DVDBLUETOOTHetcLike I mentioned when I tried it the way you suggested (i think i did) they all ended up on the home page i.e. dvd, bluetoothWhen I wanted them under Main Cat HeadUnit = 55Kind Regards headunits.csv Link to comment Share on other sites More sharing options...
rocky Posted July 18, 2010 Share Posted July 18, 2010 It doesn't look right. You've gotten a "CatName" field, which I assume you are using to specify the categories and the "id" field, which I assume is the product ID, is 55 for every product. The product ID must be unique for each products and you should use the category ID in the "CatName" field. Link to comment Share on other sites More sharing options...
ismtech Posted July 18, 2010 Author Share Posted July 18, 2010 Thank yo for the replySo basically I need to create the sub-cat first in Backoffice and then add these manually to the file?In that case I just put in the sub cat id- this is what I'm doing now making the sub cat then using the sub cat id in the file.However, isnt there a way when I import in back office using tools and import, prestashop can create the sub-cat from the file instead of me creating them individually,So I can have 1 column where I put my main cat = 55 Then have another column with text inside I can select as the sub-catagories - then have prestashop create these sub-cat and load the products accordingly.At the moment it creates everything and send it to the home page.As this is sample file - other files include over 60 different sub cat in each file and I have several of these so makes things difficult.From my understanding - this can be solved if can find a way of adding 1 more field in the import products section for sub-catHope i'm making sense if not please tell me - Sunday morning ive still not fully woken upKind Regards Link to comment Share on other sites More sharing options...
rocky Posted July 18, 2010 Share Posted July 18, 2010 Apparently, PrestaShop does have the option to create categories automatically by specifying the category name as you have, but I've read others topics with the same problem of everything going in to the Home category. That's why I suggest that you avoid using that feature and instead create a separate category CSV and import that before importing the products. It seems to be more reliable. Link to comment Share on other sites More sharing options...
howard Posted October 8, 2010 Share Posted October 8, 2010 Hi Rocky,I see you understand csv uploading. I am having some trouble with uploading the Tax rate columnEach time I add a product it adds up to 3 more tax levels per item. (in BO Payment taxes) I am up to 126 levels.My tax is item 1, NAME IVA 18% Rate 18.00, I have tried different things in the “Tax rate” column, including“1” this added 3 more levels at 1% Item code Nº18 this added 3 more levels at 18%18% this added 3 more levels at 0%IVA 18% this added 3 more levels at 0%Every time I add an item using csv it also adds NEW tax rates . Every thing else adds okcan anyone help I cant find anything on this in the forum Link to comment Share on other sites More sharing options...
rocky Posted October 8, 2010 Share Posted October 8, 2010 You should use the tax rate in the "Tax rate" column, not the ID or name of the tax. For example, if the tax is "GST (10%)", enter 10 in the "Tax rate" column of your CSV to choose it. Link to comment Share on other sites More sharing options...
howard Posted October 9, 2010 Share Posted October 9, 2010 Hi Rocky,Yes I have tried that and it works ok but it also adds 3 new tax codes IDs, in BO Payments taxes, for each product and if I delete one of the codes the product then shows no tax. I want to load 20 thousand items to the site that would give me 60 thousand tax codes. That would be very complicated when the government changes the tax rate again. Could there be something wrong with mu PS program ? everything else seems to work well Link to comment Share on other sites More sharing options...
delroyp Posted May 14, 2013 Share Posted May 14, 2013 What column do i need to add to my CSV file to delete individual items from my inventory when using the Products CSV template? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now