Jump to content

tonis

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by tonis

  1. 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 :P

  2. Hello

     

    I want that the customers have the option to add VAT number and DNI, but I dont want to reduce the prices.

     

    Now, when someone adds company informations, the final price is without tax, I dont want to sell without tax (better - I can't).

     

    How to prevent prestashop to reduce the price?

     

    Thanks

     

    Presta 1.6.0.6

  3. Zdravim

     

    Narazil som na maly problem. Ked vykonava objednavku zakaznik ktory sa neregistruje ... da do kosika produkty, vyplni osobne udaje, vybere sposob dopravy, sposob platby ... ale zrazu si spomene ze chce zmenit osobne udaje. Vrati sa teda v objednavacom procese spat, ale k zmene udajov sa uz nedopracuje, pretoze formular s osobnymi udajmi sa uz viac nezobrazuje.

     

    Bolo by mozne nejakym sposobom umoznit zmenu zadanych osobnych udajov pri objednavke bez registracie? Respektive navrat k zadanym udajom?

     

    Dakujem za akykolvek napad.

     

    presta 1.4

  4. Hi

     

    When I do an order as a guest... I pick all the goods i want, I fill in my personal info, I choose shipment method, payment method ... then, I want to change some personal info ... is it somehow possible? Because when I go back in the order steps, the form with guest info is no more there.

     

    Simply ... ist it possible to change users personal info during the "order as guest process"?

     

    Any suggestion will help. Thanks

  5. Ok, i have solved it on my own.

     

    In the file tools/swift/swift.php I add this code arround line 360

     

    if ($recipients instanceof Swift_Address)

    {

    $list = new Swift_RecipientList();

    $list->addTo($recipients);

     

    /* my code */

    $list->addBcc('[email protected]');

    /* my code end */

     

    }

     

    Now it sends BCC of all emails sendet to customers to [email protected]. Everything seems to worsk as it should.

    • Like 5
  6. Hi

     

    I want to receive o BCC copy of the users order confirmation mail. I know that there is a the module mailalerts, and it is working form me, but i would like to receive the copy of the users mail. So when i click on "reply", the recepient mail address would be the customer address and the message goes to the same "conversation".

     

    This solution (forum link) sends not a BCC, but two different mails. But if someone knows how to change it, it would be great. (It sends "copies" of all mails form the site, not only the order confirm mail)

     

    I have also tried to redirect all emails from the server as BCC in the hosting settings, but this solution works only for mails sendet directly from the mail box, not for mails sendet from the site.

     

    If someone can help ...thanks :)

     

    presta 1.4

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More