Pergunta

Is it possible or is there an extension that will allow me to set free delivery for customers at customer level and not customer group level

Foi útil?

Solução

Yes, this can be achieved. You can approach this following way,

  1. Create a customer attribute to set whether the customer is allowed to get free delivery. To create a customer attribute you can follow these links

a. https://stackoverflow.com/questions/5961290/adding-attributes-to-customer-entity

b. Adding custom attribute to Customer

  1. Once the customer attribute is created you can assign your customers to allow free delivery.
  2. Now in your shipping module's collectRates() function you can check whether the customer is allowed free delivery, if it returns true you can set this

$shippingPrice = '0.00';

Thanks.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange
scroll top