Jump to content

Envío gratis solo a una zona geográfica y con limite de peso... como lo configuro?

Recommended Posts

Hola!! Actualmente tengo limitado el envio gratuito hasta 15kg con este código:


// Free fees $free_fees_price = 0; if (isset($configuration['PS_SHIPPING_FREE_PRICE'])) $free_fees_price = Tools::convertPrice((float)$configuration['PS_SHIPPING_FREE_PRICE'], Currency::getCurrencyInstance((int)$this->id_currency)); $orderTotalwithDiscounts = $this->getOrderTotal(true, Cart::BOTH_WITHOUT_SHIPPING, null, null, false); if ($orderTotalwithDiscounts >= (float)($free_fees_price) && (float)($free_fees_price) > 0 && $this->getTotalWeight() <= 20)


Pero ahora quiero ampliar mis ventas a otro pais y no quiero que a esa zona geográfica me aplique el envio gratuito aunque no llegue a esos 15 kg... que podria añadir a ese código para conseguirlo?


Mil gracias de antemano!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...