Search the Community
Showing results for tags 'Print'.
-
Any possible chance to get order invoice pdf from using webservice ? (pdf download link)
-
When I click on "Order Print" the address gets breaks and each word go to a different line. Is there a way to fix it?
-
Hello, I am not sure, whether I am looking for a module or to figure out how to do this in the code. I have a customer with a special demand. They need a form, for the customer to fill. They don´t need the content to be sent to them, but they need the customer to be able to print the content of the form (Which they just filled out themselves) to a PDF file. Background: The customers can order a print on one of their own books, and therefore the customer need to print the information from the form, to be able to send the printed content along with the book. Does anyone know of a module, that can do this, or if it is possible to do via PHP? I have someone in my team who know PHP (I myself do not 😉) Thank you in advance! -Camilla
-
Buenas, Estoy probando a modificar un controlador, concretamente el CartController, y con el fin de ver los datos que van pasándose, voy incluyendo prints. Actualmente estoy en la función "postProcess" de este controlador, he puesto un insert a la base de datos: public function postProcess() { // Update the cart ONLY if $this->cookies are available, in order to avoid ghost carts created by bots if ($this->context->cookie->exists() && !$this->errors && !($this->context->customer->isLogged() && !$this->isTokenValid())) { if (Tools::getIsset('add') || Tools::getIsset('update')) { /*Code mio*/ db::getInstance()->execute('INSERT INTO '. _DB_PREFIX_ .'cart_product_cama_articulada VALUES (1,2365)'); /*Fin code mio*/ $this->processChangeProductInCart(); } elseif (Tools::getIsset('delete')) { $this->processDeleteProductInCart(); } elseif (Tools::getIsset('changeAddressDelivery')) { $this->processChangeProductAddressDelivery(); } elseif (Tools::getIsset('allowSeperatedPackage')) { $this->processAllowSeperatedPackage(); } elseif (Tools::getIsset('duplicate')) { $this->processDuplicateProduct(); } // Make redirection if (!$this->errors && !$this->ajax) { $queryString = Tools::safeOutput(Tools::getValue('query', null)); if ($queryString && !Configuration::get('PS_CART_REDIRECT')) { Tools::redirect('index.php?controller=search&search='.$queryString); } // Redirect to previous page if (isset($_SERVER['HTTP_REFERER'])) { preg_match('!http(s?)://(.*)/(.*)!', $_SERVER['HTTP_REFERER'], $regs); if (isset($regs[3]) && !Configuration::get('PS_CART_REDIRECT')) { $url = preg_replace('/(\?)+content_only=1/', '', $_SERVER['HTTP_REFERER']); Tools::redirect($url); } } Tools::redirect('index.php?controller=order&'.(isset($this->id_product) ? 'ipa='.$this->id_product : '')); } } elseif (!$this->isTokenValid()) { if (Tools::getValue('ajax')) { $this->ajaxDie(Tools::jsonEncode(array( 'hasError' => true, 'errors' => array(Tools::displayError('Impossible to add the product to the cart. Please refresh page.')), ))); } else { Tools::redirect('index.php'); } } } En la sección code mio hago un insert y se ve reflejado, hasta ahí sin problema, pero cuando me meto al método "processChangeProductInCart" justo debajo de esa linea, y hago lo mismo, no me inserta nada, el código queda asi: protected function processChangeProductInCart() { /*Code mio*/ db::getInstance()->execute('INSERT INTO '. _DB_PREFIX_ .'cart_product_cama_articulada VALUES (1,2365)'); /*Fin code mio*/ $mode = (Tools::getIsset('update') && $this->id_product) ? 'update' : 'add'; if ($this->qty == 0) { $this->errors[] = Tools::displayError('Null quantity.', !Tools::getValue('ajax')); } elseif (!$this->id_product) { $this->errors[] = Tools::displayError('Product not found', !Tools::getValue('ajax')); } $product = new Product($this->id_product, true, $this->context->language->id); if (!$product->id || !$product->active || !$product->checkAccess($this->context->cart->id_customer)) { $this->errors[] = Tools::displayError('This product is no longer available.', !Tools::getValue('ajax')); return; } .... Pues en la primera sección inserta, pero en la segunda no, y no entiendo el por qué. Si alguien puede arrojar algo de luz sobre mi problema sería de gran ayuda. Un saludo.
-
Hello I just made an improvement of my current website. now it become a customizable products website I would be happy to comment it ? this link thanks Ali
-
Hello, I'm trying to add a print button on CMS pages from the back office but it does not work. <button type="button" id="myButton" class="btn btn-primary" onclick="window.print()">Print this page</button> The problem appear when I use onclick="window.print()" It's return an error "The content field is invalid." if I use this line: <button type="button" id="myButton" class="btn btn-primary">Print this page</button> I can save the page and the button appear. How to add the function print? Thank you
-
Bonjour, Suite a la derniere mise a jour de prestsahop version 1.7.4.2. Lors de l'impression d'une commande, le menu admin apparait dans l;impression. J'ai vu dans le fichier admin _print.sass qu'il avait enlever la classe (#nav-sidebar) qui cache le menu admin a droite lors de l'impression. J'ai besoin d'aide
-
Hello, how to print two copy of invoice one with original text in header and one with duplicate ?
-
Does anybody have the same problem. In that PS does not generate PDF invoices, when you click on 'Print Invoice' and 'View Invoice' on Order Page and also any selection of 'Print PDF..' on the Invoices Page. The actual file that is generated is always a file named index.php If you save this then rename it to sampleinvoice.pdf all can be viewed and printed as a proper PDF file. Any have the same problem, and found an answer ??
-
Hi this is what I get when I press "print order" in my order page, https://gyazo.com/ac94a35eb6f1c633b171236e042d9a92 how can I remove the link at the bottom and the header all the way on top (red arrows)? thank you.
-
Hi, I've been working for a while now to implement a feature on one of my e-boutique (ps 1.6) which is quite simple although very useful : giving to your customer the ability to print the content of its shopping cart as a quote, fill it manually with contact details etc, and send it back later by email or even airmail (the old fashion way) to validate an order. I needed this because most of the visitors on my website don't have a registered account / don't want to bother creating one, thus 90% of the quote modules that actually require the client to be logged in did not suit this basic requirement for me. Please just bear in mind that this is a humble contribution and not a professional solution/developement at all. it's simply a useful tweak i'd say. Step 1. Open your shopping-cart.tpl file (themes/default-bootstrap/shopping-cart.tpl for me since i use the vanilla 1.6 ps theme) Step 2. Insert this code where you want. <script language="javascript"> function printDiv(divName) { var printContents = document.getElementById(divName).innerHTML; var originalContents = document.body.innerHTML; var logoImg = '<p><img src="http://www.yourdomain.com/img/yourlogo.jpg"</p>'; var textBefore = '<p><table style="width:100%"><tr><th style="width:50%"><h1 style="color:black;">Hey this is a QUOTE</h1></p><p><h4 style="color:#000000;"> Phone : <br><br> Email : <br><br> Person in charge :<br><br> Company :<br><br></h4></th><th style="color:#000000;text-align:right;"> <h3> YOUR COMPANY NAME </h3><br><h4>Address line 1 <br> Zip Code <br> City <br> Phone <br> Fax <br> [email protected]</th></tr></table>'; var textAfter = '<p><table style="width:100%;border: 1px solid black;"><tr style="color:#000000;"><th><h3>Shipping Address :</h3></th><th><h3>Billing Address :</h3></th></tr><tr><th><br><br><br><br><br></th><th><br><br><br><br><br></th></tr></table></p><p style="color:#000000;"><h4 style="color:#000000;"><br> Any other useful info to your client. Ex: we accept credit cards, bankwire etc.</p>'; document.body.innerHTML = logoImg + textBefore + printContents + textAfter; window.print(); document.body.innerHTML = originalContents; } </script> Step 3. Still in shopping-cart.tpl, just before the table id="cart_summary" block, insert this div tag : <div id="printableArea"> Don't forget to close this new div after the </table> of the cart_summary ! Step 4. All the way down in shopping-cart.tpl, just after the Proceed to checkout button {/if} block, insert this : <input type="button" class="button btn btn-default standard-checkout button-medium" onclick="printDiv('printableArea')" value="Print this Quote" style="float: right;right: 20px;height: 50px;padding: 5px;background: rgb(246, 247, 0);color: black;border-color: rgb(177, 177, 0);" /> Save and check, now you should have a mustard-yellow button next to your Checkout button on the cart page (please check attachment). Click it and it should open the modal Printer view of your browser. From here you can select to print a hard copy of this quote, or choose to save it as .pdf file (at least with Chrome). PROS : * Printing the shopping cart product list as a Quote * 1 click-to-print process via a "Print" button added on the shopping cart page (next to the checkout button) * No login required, any visitor can add products to the cart and print it * "Light" solution : you only need to add a couple of code lines into a .tpl file, no module installation is required. * it's using javascript capability included in your browser which should ensure a good compatibilty (personnaly tested with IE and Chrome, all good) * Well it's free ;-) CONS : * Generated quotes aren't stored or saved at all since no log in requirement. Which means that you don't have any track record of who quoted what until that client actually sends you back the filled-in quote by email or airmail (= again, my personnal core-customer profile) * You don't get any notification when someone is creating a quote on your front office (same reason than previous point) * It is possible to customise the template of the form, however the way i did it is very basic but I think there is room for improvements here * I tested it with only 2 browsers so far Any questions, suggestions or critics are more than welcome.
- 6 replies
-
- 1
-
- shopping cart
-
(and 3 more)
Tagged with:
-
Zdravím, hledal jsem modul zdarma na vytištění štítku s adresou zákazníka. Nalezl jsem pouze tohle: http://www.prestashop.com/forums/topic/24031-module-print-delivery-label/page-3?hl=%20label%20%20printing Modul jsem nainstaloval na svůj shop PS 1.5.4.1. Funguje ) Ale nejsem schopný dostat do něho češtinu. Neporadil by mi někdo? V administraci modulu lze změnit font, ale čárky a háčky se nepíší. Zkoušel jsem měnit i kódování souboru. Přikládám i mnou upravený modul. Díky za rady. printlabel.zip
-
Bonjour, Voici un module qui permet d'imprimer avec Google Cloud Print directement dans le back office de Prestashop. Il est ainsi possible d'imprimer n'importe quel document sur une imprimante distante d'un simple clique sur une icone. Ce module est mon premier module gratuit. Prestashop + Google Cloud Print Yannick
-
Salve, premetto che sono nuovo del mondo prestashop, sto creando un sito per la vendita di materiale tipografico su questo stile: http://www.printbros.it/ Ovvero mi occorrono alcuni punti fondamentali: 1-Listini per rivenditori (registrati con partita IVA) e listini per clienti (acquisto anche senza registrazione) 2-Variabili per la composizione dell'articolo ( http://www.printbros.it/flyer-volantini.html ) 3-Variabili costi in base ai tempi scelti ( http://www.stampaprint.net/it/carta-da-300gr/2157-carta-300-gr-colore-4-4-stampa-fronte-retro-formato-85x55.html ) 4-Upload del file Per il resto prestashop secondo me è veramente fatto bene a differenza di wordpress (di cui sono specialista) molto più lento e poco gestibile per l'e-commerce. Ovviamente non pretendo di essere spiegato come si fa ma almeno qualcuno che già ha utilizzato dei moduli che posso utilizzare per questa attività . Grazie tante
-
โมดูลพิมพ์ฉลากสำหรับจัดส่งครับ พอดีลองแก้ไขดูให้รองรับภาษาไทยได้ครับ กับเหมาะสำหรับเครื่องพิมพ์ Sticker Label ขนาด 80mm http://www.elec2rak.com/en/prestashop-module/1072-print-shipping-label-module-supported-thai-language.html
-
Hi, I am using PS 1.6.0.11 and I have been able to print single invoices without problem from orders in Back Office. Yesterday, I generated a list from Invoices -> Generate PDF by date without any problem. Now, when I want to print a single invoice from orders I always get the list of invoices between the two dates previously requested. There is no way to print a single PDF invoice from orders. Does anyone know how to fix it?. Thank you very much
- 2 replies
-
- PS_1.6.0.11
-
(and 2 more)
Tagged with:
-
Ciao. Ho un problema: oltre alla vendita di prodotti di dimensioni e variabili standard, avrei la necessità di pubblicare anche prodotti in cui il cliente possa impostare A SUA SCELTA le dimensioni (base e altezza). In pratica, dovrei avere due campi dove vengono inserite le due dimensioni, sulla base delle quali io possa calcolare un'area e quindi il prezzo di vendita. Si può fare? E come?
-
Ciao a tutti. Devo realizzare un sito di vendita servizi tipografici, stile http://www.stampaprint.net. Qualcuno conosce qualche modulo che potrebbe fare al caso mio o darmi qualche dritta? Ciao e grazie
- 8 replies
-
- tipografia
- stampa
-
(and 1 more)
Tagged with:
-
Bonjour à tous, Je suis en train de travailler sur un Prestashop 1.5.3.1. Mon client est imprimeur. Il faut gérer un catalogue sans gestion des stocks. Avec pas mal de produits et de déclinaisons (produits plus ou moins identiques à ceux de Exaprint) J'ai bien fait le tour et dans les modules qu'il va me falloir absolument c'est : I. Gestion du multi-upload Idéalement placé après le payement (payement plus rapide et plus sécurisé que si tout le monde pouvait uploader) Je suis client de la boutique, je commande par exemple des cartes de visite recto/verso. 1. Je choisit mon produit et déclinaisons 2. Je paye 3. J'ai un système d'upload pour transférer mon recto et mon verso. Voir plus si j'ai pris du vernis séléctif, pour pouvoir uploader mon/mes fichier(s) UV. Je peux associer des fichiers à une commande et idéalement j'ai un aperçu du fichier sur le site. II. Affichage des déclinaisons et quantités en tableau Je suis client de la boutique Je vais sur cartes de visites et je vois un tableau avec en haut les déclinaisons et à gauche les quantités. Les données ce sont les prix. Je choisit la quantité/déclinaison souhaitée -> je clique sur le prix, c'est dans mon panier. Quelques exemples : Chez Exaprint Chez Rapid-Flyer (Prestashop) Chez Overnight Chez Printoclock J'ai commencé à faire le tour des plugins mais je n'ai pas vraiment trouvé de choses très convaincantes ou bien je n'ai pas pu les tester. Je sais que tout cela a déjà été fait car Rapid-Flyer est sur Prestashop (je viens de l'apprendre). A tout hasard connaissez vous des plugins qui feraient l'affaire ? Cordialement, Valentin.
- 5 replies
-
- imprimerie
-
(and 1 more)
Tagged with:
-
Hallo Forum, ist es irgendwie möglich das Favoriten-Modul um zu basteln, das es einen Button statt dem langen Text zeigt? Mit dem Drucken-Link habe ich das geschafft und möchte die selbe CSS auch auf den Favoriten-Button anwenden.
-
Bonjour, Je voudrais savoir quel fichier correspond à l'impression de la fiche produit car je souhaite supprimer plusieurs choses lors de l'impression : - le bloc contact - le bloc recherche - le bloc newsletter - le bloc déjà vu - le bloc paiement - le bloc information Merci d'avance.
- 1 reply
-
- impression
-
(and 1 more)
Tagged with:
-
Good morning, I am updating a Prestashop website I am having an issue when printing the orders (as pdf or using the browser's print functionally): If I have an order with a long list of products (more than 10 products) it never prints/displays the full list of products. Anyone has or had this problem? Any ideas of now to fix it? Thanks in advance
-
Hola, cómo puedo quitar el imprimir en las páginas de los productos. Por el foto he visto una solución de entrar en el theme- product.tpl pero no me aparece la línea de "print" ¿Ha cambiado esto en la verisón 1.6? ¿alguién sabe cómo hacerlo ahora? Versión. PrestaShop™ 1.6.0.6 Theme: Default-Bootstrap