thf_CarrinhoLegenda('botao'); $thf_CarrinhoBotaoVoltar = $thf_PedidoCarrinho->thf_CarrinhoLegenda('voltar'); $thf_CarrinhoTitulo = $thf_PedidoCarrinho->thf_CarrinhoLegenda('titulo'); $thf_CarrinhoSubTitulo = $thf_PedidoCarrinho->thf_CarrinhoLegenda('subtitulo'); $thf_CarrinhoVazio = $thf_PedidoCarrinho->thf_CarrinhoLegenda('vazio'); $thf_CarrinhoVazioLegenda = $thf_PedidoCarrinho->thf_CarrinhoLegenda('vaziolegenda'); ?>

Cart

THFConsultaDados(_SISTEMA_TAB_PGTO_," where id=" . $pedidoB2B,"status"); if(!empty($checkoutB2B)){ $_SESSION['frete']['CODIGO'] = '002'; $_SESSION['cep']['CEP'] = _web_cep_; $_SESSION['cep']['ENDERECO'] = $thf_mySQL->THFConsultaDados("conteudo_empresa"," where id=1 ","logradouro"); $_SESSION['cep']['NUM'] = '1'; $_SESSION['cep']['BAIRRO'] = $thf_mySQL->THFConsultaDados("conteudo_empresa"," where id=1 ","bairro"); $_SESSION['cep']['CIDADE'] = $thf_mySQL->THFConsultaDados("conteudo_empresa"," where id=1 ","cidade"); $_SESSION['cep']['ESTADO'] = $thf_mySQL->THFConsultaDados("conteudo_empresa"," where id=1 ","estado"); $_SESSION['b2b']['CODIGO'] = 12; /* Funcao: Verifica B2B Se pedido B2B ativo, opção de endereço de entrega é desativada Parametro: pedidoB2B = 12 ---------------- */ $b2bClasse = ' dis-none'; } /* Funcao: verifica carrinho Verifica se o carrinho possui produtos ou esta vazio Parametro: cepDestino ---------------- print_r($_SESSION); */ if(!empty($_SESSION['cesta'])): include(_WEB_CONB2C_ . '_view/carrinho-grid/carrinho-grid-itens.html'); else: include(_WEB_CONB2C_ . '_view/carrinho-grid/carrinho-grid-vazio.html'); endif; ?>