Jump to content

tonis

Members
  • Posts

    46
  • Joined

  • Last visited

Community Answers

  1. tonis's post in price with tax for all was marked as the answer   
    Solved ... i have disabled the module "european vat number"
     
    Now all prices are with tax
  2. tonis's post in product list on payment validation page was marked as the answer   
    Solved
     
    for both payments I addet to the validation page the code
     
    {include file="$tpl_dir./shopping-cart.tpl"}
     
    for bankwire I addet to the controller payment.php
    $this->context->smarty->assign(array( 'nbProducts' => $cart->nbProducts(), 'products' => $cart->getProducts(), 'cust_currency' => $cart->id_currency, 'currencies' => $this->module->getCurrency((int)$cart->id_currency), 'total' => $cart->getOrderTotal(true, Cart::BOTH), 'total_price' => $cart->getOrderTotal(true, Cart::BOTH), 'total_products_wt'=> $cart->getOrderTotal(true, Cart::ONLY_PRODUCTS), 'total_discounts'=>$cart->getOrderTotal(true, Cart::ONLY_DISCOUNTS), 'total_discounts_tax_exc'=>$cart->getOrderTotal(false, Cart::ONLY_DISCOUNTS), 'total_wrapping'=>$cart->getOrderTotal(true, Cart::ONLY_WRAPPING), 'total_wrapping_tax_exc'=>$cart->getOrderTotal(false, Cart::ONLY_WRAPPING), 'total_shipping_tax_exc'=>$cart->getOrderTotal(false, Cart::ONLY_SHIPPING), 'total_shipping'=>$cart->getOrderTotal(tru, Cart::ONLY_SHIPPING), 'this_path' => $this->module->getPathUri(), 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->module->name.'/' )); and for cah on delivery I addet to controller validation.php
    $this->context->smarty->assign(array( 'nbProducts' => $this->context->cart->nbProducts(), 'products' => $this->context->cart->getProducts(), 'cust_currency' => $this->context->cart->id_currency, 'currencies' => $this->module->getCurrency((int)$cart->id_currency), 'total' => $this->context->cart->getOrderTotal(true, Cart::BOTH), 'total_price' => $this->context->cart->getOrderTotal(true, Cart::BOTH), 'total_products_wt'=> $this->context->cart->getOrderTotal(true, Cart::ONLY_PRODUCTS), 'total_discounts'=>$this->context->cart->getOrderTotal(true, Cart::ONLY_DISCOUNTS), 'total_discounts_tax_exc'=>$this->context->cart->getOrderTotal(false, Cart::ONLY_DISCOUNTS), 'total_wrapping'=>$this->context->cart->getOrderTotal(true, Cart::ONLY_WRAPPING), 'total_wrapping_tax_exc'=>$this->context->cart->getOrderTotal(false, Cart::ONLY_WRAPPING), 'total_shipping_tax_exc'=>$this->context->cart->getOrderTotal(false, Cart::ONLY_SHIPPING), 'total_shipping'=>$this->context->cart->getOrderTotal(tru, Cart::ONLY_SHIPPING), 'this_path' => $this->module->getPathUri(), 'this_path_cod' => $this->module->getPathUri(), 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->module->name.'/' )); ...replace the similar lines of codes in the controllers.
     
    Thanks for help community
×
×
  • Create New...