Jump to content

giovannicir

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Activity
    Agency

Recent Profile Visitors

205 profile views

giovannicir's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Mohamadou Ndiaye, i have just inserted my code on the file AuthController... after this code: if ($this->ajax) { $return = array( 'hasError' => !empty($this->errors), 'errors' => $this->errors, 'isSaved' => true, 'id_customer' => (int)$this->context->cookie->id_customer, 'id_address_delivery' => $this->context->cart->id_address_delivery, 'id_address_invoice' => $this->context->cart->id_address_invoice, 'token' => Tools::getToken(false) ); die(Tools::jsonEncode($return)); } but this not work... I'm tryied many solution, but prestahop not redirect to my CMS page...
  2. :-( this not work.. prestashop redirect user on login page... and Tools::redirect( $this->context->link->getCMSLink(6) are ignored....
  3. Hi to all, I would redirect my user after registration, when user click to register, I save the user data... but when I try to reditect user to an CMS page, prestashop redirect on login page... WHY... This is the code: echo "Prima del redirect"; ob_clean(); ob_end_flush(); ob_clean(); $linktoAboutUs = $this->context->link->getCMSLink(6); header('location: '.$linktoAboutUs); ?> <script type="text/javascript"> <!-- window.location = "<?php echo $linktoAboutUs?>" //--> </script> <?php exit(0); I'm trying two way to redirect but both way redirect to login page.....
  4. Buongiorno a tutti, sto cercando da tempo di installare moduli non ufficiali sul mio prestashop, ma purtroppo ogni volta che tento, mi compare il messaggio presente nell'immagine in allegato, se clicco sul pulsante "Procedi con l'installazione, non mi fa fare nulla... sapreste dirmi come procedere per l'installazione?
  5. Hi, i have tryed the code on this site: https://github.com/PrestaShop/PrestaShop-webservice-lib I have imported PS library and i have used the example in examples dir. I have updated the code with my parameter, but not work, it returns: HTTP REQUEST HEADERGET /api/customers?schema=blank HTTP/1.1Authorization: Basic -Host: www.remotesite.frAccept: */* HTTP RESPONSE HEADERHTTP/1.1 404 Not FoundDate: Thu, 30 Oct 2014 16:01:35 GMTServer: -Last-Modified: Thu, 16 Dec 2010 13:56:35 GMTETag: -Accept-Ranges: bytesContent-Length: 624Vary: Accept-EncodingContent-Type: text/html RETURN HTTP BODY<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ispCP OMEGA - Error 404</title> <meta name="robots" content="nofollow, noindex" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="/errors/inc/errordocs.js" type="text/javascript"></script> <link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="zh"> <div id="content"> <h2>Error 404!</h2> <br /> <span class="path"><script type="text/javascript"> document.write(get_path()); </script></span> <h3>File Not Found!</h3> </div> </div> </body></html> Bad ID i try to call webservice from another server... Help me
  6. Hello every body, i have a problem with prestashop cart, when i add a product in cart, prestashop calculate product price by qty and peroduct price. I have modified product page, i have inserted width and height, but i don't understand where prestashop calculate the product price, I would like to calculate: (price x (height x width)) x qty, but i don't know where PS calculate it. Can help me
×
×
  • Create New...