Open John-zaviago opened 10 months ago
@Muzmal What is expected MVP and the time to from dev to test for this tasks.
https://github.com/Muzmal/upgrade_shipping_rule You can test now
Shipping Rules can calculate from item quantity and City of customer.✅ Test on Shipping Rules Setting (tmp site).
example:
1) Is it possible to move 'Quantity Based' option to 'Calculation based on' field? if it possible, please move 'Quantity Based' to 'Calculation based on' field.
2) "Shipping Amount" will Mandatory/Display depends on 'Fixed' condition only.
3) From-To value must be 'Int' instead of 'float'.
4) 'Restrict to...' Table.
4.1 Change City to state. 4.2 To prevent confusion, we will let users use only our custom table. 4.3 Before selecting state, need to select Country first. (example is in the previous comment.) 4.4 Remove 'Shipping Rule' from table.
Waiting for Umer to push a new version to tmp.
@Muzmal Did really Umer update the code yet? I can't see any changes about Restrict shipping area🤔.
@Muzmal I can't use this shipping rule due to this warning.
Yes this is correct functionality. Now it is same as country table. If Bamyan State is selected then any customer with other than selected state, will get this message.
Issue Title: Enhance ERPNext Shipping Rules with Item Quantity and City Restriction
Issue Description: To provide more flexibility and customization in shipping rules within ERPNext, we need to introduce additional features that allow users to set shipping rates based on item quantity in sales invoices and restrict shipping rules to specific cities.
New Features:
Item Quantity-Based Shipping Rates:
City-Based Shipping Rules:
Implementation Steps:
Item Quantity-Based Shipping Rates:
City-Based Shipping Rules:
Expected Outcome:
Additional Information:
Action Plan:
How to Test: