0

I want my customer to charge different shipping amount if their order contains any item from specific products.

For e.g If the order contains any item from category A, B or C then they should be charged £25 + VAT rolled, rather than the standard £14.50 + VAT rolled:

How can i do that? i am using Webshop apps shipping table rate matrix module.

1
  • Which shipping you using? mean which delivery method you are setting from magento admin?
    – Amit Bera
    Feb 20 at 15:16

1 Answer 1

0

Unfortunately I have no experience with that module, so unsure of any config changes you could apply to implement this logic.

You could probably make this customisation yourself programmatically by creating an after plugin on \WebShopApps\MatrixRate\Model\Carrier::getRates method? Or maybe rewriting that method with a class preference?

This method takes in your rate request (including cart items, addresses etc) and returns the rates loaded from the database. You could apply this logic to the rates returned from the database here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.