oc-shopaholic / oc-orders-shopaholic-plugin

🛒 Orders (cart) extension for Shopaholic plugin
https://octobercms.com/plugin/lovata-ordersshopaholic
GNU General Public License v3.0
27 stars 18 forks source link

Shipping calculation rate based on Postal code? #143

Open blackyzero opened 3 years ago

blackyzero commented 3 years ago

Hello,

Would it possible to add control for shipping calculation rate based on Postal code? For example: Customer 1 has Postal code A will pay $5, Customer 2 has Postal code B will pay 10$ for shipping.

Thank you.

kevin-invato commented 1 year ago

Has anyone figured this out?

Thanks

igor-tv commented 1 year ago

Hello,

You can implement ShippingPriceProcessorInterface and add your class to API class list via event https://shopaholic.one/docs#/modules/shipping-type/api/api