Surefirecomms Posted August 22, 2024 Share Posted August 22, 2024 I need help with creating a module for taking my distributors datafeed .csv file and scrapping the product image URL’s and product descriptions from their product number and importing the products. I have been doing this manually with .csv files but it’s tedious when there is nearly 5000 products. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted August 22, 2024 Share Posted August 22, 2024 Hi, scraping is not very safe, because it's based on html page structure, and if any change is made, your scraping will fail. And another issue is for SEO: duplicate content 😞 Link to comment Share on other sites More sharing options...
giancarlo.spadini Posted January 16 Share Posted January 16 It's much better if the distributor, or a programmer working with them, develops a module to communicate with your distributor's APIs. For example, see how this wholesale distributor (Life365), which operates throughout Europe, implemented its catalog distribution:https://addons.prestashop.com/it/gestione-ordini-dropshipping/17286-life365-inkloud-dropshipping.html Link to comment Share on other sites More sharing options...
PrestaHeroes.com Posted January 16 Share Posted January 16 (edited) On 8/21/2024 at 10:27 PM, Surefirecomms said: I need help with creating a module for taking my distributors datafeed .csv file and scrapping the product image URL’s and product descriptions from their product number and importing the products. I have been doing this manually with .csv files but it’s tedious when there is nearly 5000 products. CHATGTP or other Claude, Gemini can take your feed, then simply tell it what you want to do and it's done. If you prefer a module, any of these three can create the module for you. Edited January 16 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
KLBailey Posted Monday at 10:29 AM Share Posted Monday at 10:29 AM (edited) You could hook into PrestaShop’s cron system and let a small custom script parse the CSV, match product numbers, then update images and descriptions through the Product API. It ends up being much lighter than building a full interface. I had a similar repetitive task once and, funny enough, while I was using a tool to extract emails from facebook for outreach, I built a quick parser like this on the side and it saved me tons of time. Edited 4 hours ago by KLBailey (see edit history) 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