Because usually we deliver to the customers, so usually COD orders are None:
But sometimes the customer can choose one of these shipping methods (), So I would like to make a condition that make the COD order (Reversed) If only the customer chosen one of these shipping methods in checkout (Vendor Delivery) or (Local Pick-up From Vendor)
Dear Stefan,
Because usually we deliver to the customers, so usually COD orders are None:
But sometimes the customer can choose one of these shipping methods (), So I would like to make a condition that make the COD order (Reversed) If only the customer chosen one of these shipping methods in checkout (Vendor Delivery) or (Local Pick-up From Vendor)
Thank you
Hi there,
I made a modification to MarketKing Core (attached) that adds a new hook to assist with this. Please first update to the attached version.
We can then use this hook and code snippet to determine if the COD reverse behaviour can be applied or not:
Specifically to allow cod reverse only for local pickup and vendor shipping I believe you can use:
Kind regards,
Stefan
Attached files: marketking-core-1623.zip