Login   Register  
PHP Classes
elePHPant
Icontem

Gnarus Frete: Calculate the package postage cost in Brazil

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of José Carlos Medeiros
Name: José Carlos Medeiros <e-mail contact>
Packages: 1 Browse all classes by José Carlos Medeiros Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 36
All time rank: Not yet ranked
Week rank: 2079147 in Brazil Brazil
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class is meant to calculate the postage cost of a deliverying a package in Brazil given the package weight and the postal codes of the origin and destination cities.

It can be used to calculate total shipping costs of deliverying products sold by e-commerce sites.

The postage cost is calculates automatically by the class by accessing the site of the Correios post company or by looking up on CSV files.

The code and the comments are in Portuguese.

In Portuguese:

Esta classe serve para calcular o frete para enviar uma encomenda no Brasil dado o seu peso e o CEP das cidades de origem e destino do envio.

A classe pode ser usada para calcular o custo total do envio de produtos vendidos por sites de comércio eletrônico.

O cálculo do frete pode ser feito automaticamente pela classe acessando o site dos Correios ou usando arquivos locais em formato CSV.

  Classes of José Carlos Medeiros  >  Gnarus Frete  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Gnarus Frete
Base name: gnarusfrete
Description: Calculate the package postage cost in Brazil
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 679 users
All time rank: 4295
Week users: 0 users
Week rank: 2088 Equal
Country specific: This package is specific mainly for applications used in Brazil Brazil .
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image E-Commerce Online stores, shopping baskets and payment methods View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2004
Number 5

Prize: One book of choice by SAMS
Most e-commerce sites that sell physical goods that may be dispatched to many different places, usually have solve the problem of calculating the shipping costs, so the clients may know how much the products will cost before closing a sale.

The problem is that shipping costs may vary according to many factors like the origin and destination of the shipping, weight of the packaged products, size of the packages, etc..

This class provides a solution for calculating the cost of shipping products in Brazil either by using information obtained from locally stored files or connecting to local post office company site.

While this is a country specific solution it may serve as base of inspiration for solutions specific to other countries.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file cep.csv Data cep´s file
Plain text file class.GnarusFrete.php Class class file
Accessible without login Plain text file frete.csv Data frete price data
Accessible without login Plain text file teste.php Example example

Download Download all files: gnarusfrete.tar.gz gnarusfrete.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.