In short, I need a somewhat generic Wordpress / Woocommerce site with products from external API.
Product Import: Make a plugin for automatic importing from external API. The API is in XML form. They have only 2 endpoints: one for tyres and one for wheels. Both return around 60000 products so each request takes about half a minute. For this you will need to create a plugin that 1) fetches the data from the api, 2) imports them with the woocommerce API. I’m not entirely sure if a plugin for this is actually needed. We can discuss how this can be done later.
Product filters: each product will have around 10 attributes (vehicle (e.g. Hyundai), model (e.g. i30), size, width, etc.). On initial import you will need to find all the unique types of each variable and add them to woocommerce (I assume it can be done through their API). In frontend, the user should be able to filter out products by this attributes. vehicle and model are a bit complicated (in a sense that when the user chooses “Hyundai” for example, they shouldn’t be able to see models of BMWs in the filter). This can be probably done with existing widgets.
Please add “Dear Mr. Green” at the start of your bid so I know that you have read the description.
Translations: the site will have 2 languages. You will probably do this with a plugin. Important point here is that attribute keys (e.g vehicle, model, size) should also be translated in the frontend.
Design and layout: you shouldn’t worry about this too much. For now, we need a fitting free theme picked and layout of a few pages (no custom design is needed for now): front page with generic info, wheels page: filters and products, tyres page: filters and products, cart. Wheels and tyres page should look the same, but the attributes of those are a bit different, so I’m not sure if 2 separate pages are needed. Wheels and tyres page should look like something like this [login to view URL] (this site uses the same vendor’s API)
Mode details about the API and importing: It's an XML API without public access so they don't have documentation, but the API only has 2 endpoints. [login to view URL] which returns an array of wheels and [login to view URL] which returns an array of tyres. Don't worry about it being a php page. simplexml_load_file(*endpoint*) will give valid XML. Sample of a wheel product (I converted it to JSON format):
Velg_ID: "AEZ Aruba"
description1: "5112+3766200085 Disks"
description2: "AEZ Aruba graphite"
kit1: "Orig uzgr/skr"
kit3: "no rings"
model: "A4 (B8, 2007-2015)/"
prodcatname: "alloy wheels"
Sample for tyre product (also converted):
description: "145/60R13 MAXX ME3 "
studable: "not studable"
You will need to filter the products a bit. For example we only need tyres that have "prodcatname" as "alloy wheels" or "wheels metal". I think this is the only filtering that you will need to do actually. The XML on the vendor's side is updated once a day, so you will need to make a cron job that fetches products from their api and import them into our woocommerce each day.
21 freelanceria on tarjonnut keskimäärin €202 tähän työhön
Dear Mr. Green, Good day! I am interested in this project. I can get this done for you at the earliest. I am a WordPress expert with more than 7 years of experience. Please reach out to me to discuss further.