Magento 2.2.6 category update script
- or -
Post a project like this$173
- Posted:
- Proposals: 3
- Remote
- #2204277
- Expired
Description
Experience Level: Expert
Goal of the script:
Place products in correct categories
Sku is constructed of 10 digits where the first 4 determine groups eg 1234567890
This sample: clothing (1), for male (2), Jacket(1), long(5)
Digit 1 (Values 0 to 9)
Value 1 = clothing
Value 2 = something1
Value 3 = something2
Digit 2 (Values 0 to 9)
Value 1 = Female
Value 2 = Male
Value 3 = kids
Digit 3 (Values 0 to 9)
Value 1 = Jackets
Value 2 = Pants
Value 3 =
Digit 4 (Values 0 to 9)
Value 1 = Thin
Value 2 = Short
Value 5 = Long
Loop through all Magento 2.2.6 products
Clear all current categories from product
Check first for digits from Sku
Step 1
E.g. If digit 1 == 2 (separate database)
Check if category related to 2 is allready assigned to product. If not add to category to product.
Step 2
If digit 2== 3 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Step 3
If digit 3== 4 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Step 4
If digit 4==4 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Final values will be provided on project start
Code will be delivered with remarks
Place products in correct categories
Sku is constructed of 10 digits where the first 4 determine groups eg 1234567890
This sample: clothing (1), for male (2), Jacket(1), long(5)
Digit 1 (Values 0 to 9)
Value 1 = clothing
Value 2 = something1
Value 3 = something2
Digit 2 (Values 0 to 9)
Value 1 = Female
Value 2 = Male
Value 3 = kids
Digit 3 (Values 0 to 9)
Value 1 = Jackets
Value 2 = Pants
Value 3 =
Digit 4 (Values 0 to 9)
Value 1 = Thin
Value 2 = Short
Value 5 = Long
Loop through all Magento 2.2.6 products
Clear all current categories from product
Check first for digits from Sku
Step 1
E.g. If digit 1 == 2 (separate database)
Check if category related to 2 is allready assigned to product. If not add to category to product.
Step 2
If digit 2== 3 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Step 3
If digit 3== 4 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Step 4
If digit 4==4 (separate database)
Check if category related to 4 is allready assigned to product. If not add to category to product.
Final values will be provided on project start
Code will be delivered with remarks
Oltech S.
100% (2)Projects Completed
2
Freelancers worked with
2
Projects awarded
20%
Last project
2 Jan 2014
Netherlands
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