Skip to content

Commit

Permalink
Para a nova versão do Woo foi necessário utilizar metadata para armaz…
Browse files Browse the repository at this point in the history
…enar o código do método de entrega escolhido na cotação
  • Loading branch information
Rafael Mancini Silva committed Jun 5, 2018
1 parent a0265ae commit 8ae4abc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-wc-frenet.php
Expand Up @@ -316,6 +316,7 @@ public function calculate_shipping( $package = array() ) {
'id' => 'FRENET_' . $shipping->ServiceCode,
'label' => $label,
'cost' => $cost,
'meta_data' => array( 'FRENET_ID' => 'FRENET_' . $shipping->ServiceCode )
)
);
}
Expand Down

0 comments on commit 8ae4abc

Please sign in to comment.