Skip to content

Instantly share code, notes, and snippets.

View filipegiacomo's full-sized avatar
🌴
On vacation

Filipe Giácomo filipegiacomo

🌴
On vacation
View GitHub Profile
@rafhaelhp
rafhaelhp / cart.ajax.php
Last active January 26, 2022 16:34
Correção atualizada para calculo de frete no carrinho WC
//CART SHIPMENT CALCULATE TO HIT CEP
case 'cart_shipment':
$CartTotal = 0;
$HeightTotal = 0;
$WidthTotal = 0;
$DepthTotal = 0;
$WeightTotal = 0;
$AmountTotal = 0;
$dimensoes = array();