Magento 2: small modifications to m2-import-prices-index.php
- or -
Post a project like this687
€200(approx. $214)
- Posted:
- Proposals: 23
- Remote
- #3584633
- OPPORTUNITY
- Awarded
♛ No.1 ★ Magento 1.9, 2 & 2.4 ★ Word Press ★ E-commerce Consulting ★ Front End Development ★ Agile Delivery ★ PHP ★ HTML ★ PSD to Responsive ★ PSD to Magento ★ SASS, LESS & GRUNT ♛ 5/5 Ratings
London
PPH TOP Website & App Developer✮LOGO & Graphic Designer✮Content Writer✮Translator
Dubai
Laravel| Wordpress| Codeigniter| PHP| Drupal|Magento|Project Management & Software QA Engineer
London
Experienced Team of Graphic Designers, Web Developers, Content Writers, Mobile developers, Online marketing experts, Facebook and instagram ads experts and much more ....
Casablanca
⭐ TOP RATED ⭐ Graphic Designer| WordPress / WIX |2D Animator| Video Editing |Photoshop Expert
Karachi
Website Developer, Graphic Designer, Transcriber, Content writer, CAD Expert, Python Developer, Photo Editor, Web Scrapper, JAVA developer, Android developer, Wix/Shopify Expert,
Regensburg
PPH #1 "Top Rated" Service Provider in Development & IT : Wordpress, Shopify, Magento, Squarespace, ZOHO, WHMCS, Salesforce, Vtiger, Learndash, Moodle
Kenwick
5227422748047010074693443669174616727529661866550415913306174269327125437782537323
Description
Experience Level: Intermediate
https://gist.github.com/MagePsycho/8fae2823235915f7a2bb615e2b332072
I need some small modifications to the m2-import-prices-index.php made by Raj by magepsycho.
the file is build to run prices.csv with the format:
"sku","price"
Where my format is:
SKU;SupplierSKU;EAN;RetailPrice;CostPrice;Stock
All fields needs to be updated and SupplierSKU is the update key. NOT SKU!
The stock field both need to update the stock with number and also a text field with label in stock. (see attached)
If stock equals or greater than 5 = "På lager"
If stock is less than 5 = "Få på lager"
If stock equals or less than 0 = "3-7 dages levering"
If SupplierSKU in array set predefined label no matter which stock level. Which can be changed.
E.g.
$labelArray = array (
"7000042720" => "På lager",
"7000079939" => "Få på lager",
"7100137088" => "3-7 dages levering",
);
Last but not least.
It should echo in cli which lines it wasn't able to update. (Not the ones that wen't well!)
I need quick delivery!
I need some small modifications to the m2-import-prices-index.php made by Raj by magepsycho.
the file is build to run prices.csv with the format:
"sku","price"
Where my format is:
SKU;SupplierSKU;EAN;RetailPrice;CostPrice;Stock
All fields needs to be updated and SupplierSKU is the update key. NOT SKU!
The stock field both need to update the stock with number and also a text field with label in stock. (see attached)
If stock equals or greater than 5 = "På lager"
If stock is less than 5 = "Få på lager"
If stock equals or less than 0 = "3-7 dages levering"
If SupplierSKU in array set predefined label no matter which stock level. Which can be changed.
E.g.
$labelArray = array (
"7000042720" => "På lager",
"7000079939" => "Få på lager",
"7100137088" => "3-7 dages levering",
);
Last but not least.
It should echo in cli which lines it wasn't able to update. (Not the ones that wen't well!)
I need quick delivery!
e-studio ApS
91% (7)Projects Completed
7
Freelancers worked with
6
Projects awarded
61%
Last project
30 May 2022
Denmark
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
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