API Integration for stock levels from Supplier
- or -
Post a project like this44
£210(approx. $263)
- Posted:
- Proposals: 26
- Remote
- #4162322
- OPPORTUNITY
- Awarded
Graphic Designer|Video editing|2D/3D Logo I Animation | Content Writer | Web Content | Data Entry | Translator | Specialized in Power Point, Excel, Word, Translation
Amsterdam
Full Stack Web Development | SEO Writing | Graphic and Presentation Expert/C++ coding expert
Lahore
PPH #1 "Top Rated" Service Provider in Development & IT : Wordpress, Shopify, Magento, Squarespace, ZOHO, WHMCS, Salesforce, Vtiger, Learndash, Moodle
Kenwick
15198194873242601377354499281463568471310915235591619261070946110895148108897162537323
Description
Experience Level: Intermediate
Stock Integration Project.
Our website software is CS CART, PHP and SMARTY based coding.
Project Overview:
Our website current displays stock levels in DUBLIN (our own stock levels controlled by CS CART as normal), stock levels in BARCELONA (via WSDL call) on the product page. A new supplier now provides an API for stock levels of products held in Holland which can be displayed on our own website product pages.
Current Situation:
Stock levels in Dublin and BARCELONA are already displayed on our product pages and examples can be seen below.
https://marineparts.ie/yanmar-6ly2-a-st-p-utp-seawater-pump-119574-42502-replacement/
https://marineparts.ie/rec703-48230-14/
How it Currently Works:
The stock display on a product page will ALWAYS show the stock levels in our store as DUBLIN STOCK. These stock levels are controlled by the normal quantity control via the CS CART administration panel.
IF the product being viewed is supplied by our Spanish supplier then it will call for the SUPPLIER stock level and display as stock in BARCELONA WAREHOUSE.
IF the product being viewed is NOT supplied by our Spanish supplier then there will be NO stock level displayed for BARCELONA.
Project Requirement:
To integrate the stock levels from our new supplier in Holland into the same stock display. The supplier has provided the API documentation, and this is provided as part of the project information. The suppliers in BARCELONA and HOLLAND will NEVER supplier the same product. This project must provide the ability to do the following:
1 – Take the part number from our website
2 – Check to see if the part number is provided by the new supplier in Holland
3 – IF NOT, then stop
4 – IF YES, then the current stock level from the supplier is to be returned and displayed on the product page.
Conditions:
The supplier product code is always 8 digits in length. It can start with a zero, a double zero or no zero.
Example
00123456
01234567
12345678
Our own website prefixes the product code with L.
Example
L00123456
L01234567
L12345678
The request from our website will need to drop the L, keep any leading zeros, and return the answer with the L prefix again.
Example
L00123456
Script will check to see if the product code exists with our supplier as 00123456
IF YES, the script will return the answer to the website for part number L00123456
Below are some screenshots to show visual examples
NO ACTION REQUIRED FOR PROJECT
1 – Only Stock in Dublin (controlled by CS CART normal quantity levels)
Note only one stock level is showing
2 – Stock in Ireland and also from Barcelona Supplier
Note that two stock levels are now showing
ACTION REQUIRED FROM THE PROJECT
Note that the stock level from Holland is now showing
The stock level for Holland is what is required from this project. API documentation is provided.
For the Barcelona stock levels the affected CS CART templates are:
public_html/design/themes/vivashop/templates/common/product_data.tpl
The stock box disaplyed on the product page is controlled by code contained within
public_html/design/themes/vivashop/templates/blocks/product_templates/default_template.tpl
The stock box is inserted onto the product pages by the code contained within
Our website software is CS CART, PHP and SMARTY based coding.
Project Overview:
Our website current displays stock levels in DUBLIN (our own stock levels controlled by CS CART as normal), stock levels in BARCELONA (via WSDL call) on the product page. A new supplier now provides an API for stock levels of products held in Holland which can be displayed on our own website product pages.
Current Situation:
Stock levels in Dublin and BARCELONA are already displayed on our product pages and examples can be seen below.
https://marineparts.ie/yanmar-6ly2-a-st-p-utp-seawater-pump-119574-42502-replacement/
https://marineparts.ie/rec703-48230-14/
How it Currently Works:
The stock display on a product page will ALWAYS show the stock levels in our store as DUBLIN STOCK. These stock levels are controlled by the normal quantity control via the CS CART administration panel.
IF the product being viewed is supplied by our Spanish supplier then it will call for the SUPPLIER stock level and display as stock in BARCELONA WAREHOUSE.
IF the product being viewed is NOT supplied by our Spanish supplier then there will be NO stock level displayed for BARCELONA.
Project Requirement:
To integrate the stock levels from our new supplier in Holland into the same stock display. The supplier has provided the API documentation, and this is provided as part of the project information. The suppliers in BARCELONA and HOLLAND will NEVER supplier the same product. This project must provide the ability to do the following:
1 – Take the part number from our website
2 – Check to see if the part number is provided by the new supplier in Holland
3 – IF NOT, then stop
4 – IF YES, then the current stock level from the supplier is to be returned and displayed on the product page.
Conditions:
The supplier product code is always 8 digits in length. It can start with a zero, a double zero or no zero.
Example
00123456
01234567
12345678
Our own website prefixes the product code with L.
Example
L00123456
L01234567
L12345678
The request from our website will need to drop the L, keep any leading zeros, and return the answer with the L prefix again.
Example
L00123456
Script will check to see if the product code exists with our supplier as 00123456
IF YES, the script will return the answer to the website for part number L00123456
Below are some screenshots to show visual examples
NO ACTION REQUIRED FOR PROJECT
1 – Only Stock in Dublin (controlled by CS CART normal quantity levels)
Note only one stock level is showing
2 – Stock in Ireland and also from Barcelona Supplier
Note that two stock levels are now showing
ACTION REQUIRED FROM THE PROJECT
Note that the stock level from Holland is now showing
The stock level for Holland is what is required from this project. API documentation is provided.
For the Barcelona stock levels the affected CS CART templates are:
public_html/design/themes/vivashop/templates/common/product_data.tpl
The stock box disaplyed on the product page is controlled by code contained within
public_html/design/themes/vivashop/templates/blocks/product_templates/default_template.tpl
The stock box is inserted onto the product pages by the code contained within
Kenny C.
100% (5)Projects Completed
4
Freelancers worked with
3
Projects awarded
78%
Last project
19 Apr 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi Kenny
Your framework is CS cart and is your budget a placeholder?
1088133
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies