In the INV01 Module we are asked to add the following 4 line items:
Override Shipping Method
Final Shipping Method
Final Shipping Time Weeks
The format for Override Method & Final Shipping Method are both "Shipping Method". (List)
In previous activities, I was told to utilize the "Shipping Methods" List. I just want to make sure that I should be using the same list and perhaps there is a typo in the training.
Go to Solution.
Hi @bleeds ,
You should use the same list. There seems to be a typo in sprint instructions.
Appreciate the response @JussiLi
The reason I asked is because I'm recieving the follwoing error when attempting to create the Final Shipping Method formula.
"Datatypes do not match for the 'if' function: LIST: Shipping Methods, BOOLEAN
My formula contains IF/THEN and isblank.
The logic is basically IF Override shipping boolean is not selected then use the "Shipping Method" line item ELSE use the override method.
Am I missing something in the formula to combine lists and booleans while using IF?
The logic in your formula is correct. It is missing one part (see following picture), but it's not the reason for error message.
I think format of one line item is incorrect which is causing error.
Thanks again for the quick response and apologies I did include the isblank(Override method) within the formula.
Within the formula I'm using below line items and formats.
Shipping method - Format: Shipping Methods
Override Shipping Method - Format: Boolean
Override method - Format: Shipping Methods
Final Shipping Method - Format: Shipping Methods
These seem to be correct based on the instructions?
Line item formats are correct.
After the start "IF NOT Override Shipping Method OR ISBLANK (Override Method)" you have THEN and ELSE statements. Do both line items that are mentioned after THEN and ELSE have 'Shipping Methods' format?
Thanks for the help!
I was using "Override Shipping method" as opposed to "Override Method". These naming conventions are super similar.
Hi I am having a similar issue with trying to add in the formula for the Final Shipping Method line item. I have this so far:
IF NOT Override Shipping Method OR ISBLANK (Override Method) THEN Shipping Method ELSE 0
However this is coming up as an error, any idea why? Any help would be great, thanks!