Updates

date change
29.7.2019 section createorder and updateorder
30.7.2019 section createorder and updateorder
31.7.2019 section messaging on video, backImg and frontImg in change event
2.8.2019 section Implemented lengthening/shortening stepping
12.8.2019 section basesize fix

29.7.2019

{
    "action": "createorder" or "updateorder",
    "data": {
        ...

        "bodylengthening": "+/- number", 
        "bodyshortening": "+/- number",  
        "sleevelengthening": "+/- number"
        "sleeveshortening": "+/- number"
        "sizes": [46,48,50,52,54,56,58],
        "bodylengtheningsizes": [from, to], 
        "sleevelengtheningsizes": [from, to], 
        "unit": "string"
    }
}

30.7.2019

{
    "action": "createorder" or "updateorder",
    "data": {
        ...
        
        "sizes": [46,48,50,52,54,56,58], # or [“36R”,”38R”,”40R”,”42R”,”44R”,”46R”,”48R”] for english
        "bodylengtheningsizes": [0, 8, 1], # or [0, 3.2, 0.4] for english (stepping needs to be implemented - tronog)
        "bodyshorteningsizes": [0, 6, 1], # same as above
        "sleevelengtheningsizes": [from, to, step], # same as above
        "sleeveshorteningsizes": [from, to, step], # same as above
        
        ...
    }
}


hood - on/off
sleeve - fixed / detachable
maincolor - black / marine / navy / olive / yellow / red
colorblock - black / marine / navy / olive / yellow / red / none
lining - black / navy / orange
logo - none / sleeve / front


31.7.2019

When user clicks on Create your jacket, instead of going directly into configurator, the message {action:'userstart',value{}} is sent. When configurator gets createorder message, it enters into configurator.

On configurator exit it sends {action:"userexit",value:{}}

change event also sends frontImg and backImg

"colorblock": "black" of "marine" or "navy" or "olive" or "yellow" or "red" or "",

2.8.2019

Implemented lengthening/shortening stepping

{
    "action": "createorder" or "updateorder",
    "data": {
        ...
        "sizes": [46,48,50,52,54,56,58], # or [“36R”,”38R”,”40R”,”42R”,”44R”,”46R”,”48R”] for english
        
        "bodylengtheningsizes": [0, 8, 1], # or [0, 3.2, 0.4] for english (stepping needs to be implemented - tronog)
        "bodyshorteningsizes": [0, 6, 1], # same as above
        "sleevelengtheningsizes": [from, to, step], # same as above
        "sleeveshorteningsizes": [from, to, step], # same as above
        
        ...
    }
}
        

12.8.2019

basesize fix - basesize was not implemented correctly

values - return values as agreed in detailed section, not labels

colorblock - none assignes colorblock to maincolor value

price - retain price after state change

bodylengtheningsizes, sleevelengtheningsizes - take positive numbers

logo - "without" is ommited