VibeFox Melhor Envio for OpenCart
Added to cart. Go to cart
Price per license: 1 domain, updates and support for 12 months.
Overview
VibeFox Melhor Envio adds a Melhor Envio shipping method to OpenCart 3 and OpenCart 4. At checkout it asks the Melhor Envio API for a live quote for the cart and the customer's CEP, with prices from the carriers of your Melhor Envio account, such as Correios, Jadlog, Azul Cargo, LATAM Cargo and J&T. A fallback price table keeps the checkout working when there is no quote.
It suits Brazilian stores that use Melhor Envio to compare and send parcels. The extension calculates shipping prices at checkout. It does not buy or generate labels, add shipments to the Melhor Envio cart, track parcels, schedule pickups, send invoice (NF-e) data or let customers choose a carrier agency.
Key features
Live multi-carrier quotes: every service of your Melhor Envio account, or only the service IDs you list (for example 1 = Correios PAC, 2 = Correios SEDEX).
Cheapest service or customer's choice: one shipping option with the cheapest service, or one option per service (for example "Melhor Envio: Correios SEDEX"), optionally with the delivery estimate in the name.
Accurate parcels: product weights and dimensions are converted from their OpenCart weight and length classes to kg and cm, with the quantity of every item and, optionally, the declared value (insurance). Products without weight or size use your defaults.
Safe currency handling: Melhor Envio quotes in Brazilian reais. Stores with another default currency set a BRL exchange rate; without it, live quotes are not used.
Fallback prices: a price table by country and cart weight (XS to XL) and a fallback cost, used when there is no token, no valid CEP, or the API fails or has no coverage. Without any price the method is hidden.
Fast checkout: quotes are cached for 1 hour and failed calls for 5 minutes. The cache is cleared when the settings are saved.
Service on the order: the chosen service and delivery estimate appear in the order's shipping method, in a Melhor Envio block on the admin order page and on the customer's order page.
Shipping rules: geo zone, minimum and maximum cart weight, minimum subtotal, free shipping from a subtotal (the cheapest service becomes free), tax class, or a list of countries instead of the geo zone.
Requirements
OpenCart 3.0.x (tested on 3.0.5.0) or OpenCart 4.0.2 and later (tested on 4.1.0.3), PHP 8.0 or later. One download has the packages for both versions. Live quotes need a Melhor Envio account and an access token with the "shipping-calculate" permission. Fallback prices work without one. A VibeFox license key from vibefox.net (one key per domain).
