Search the Community
Showing results for tags 'line'.
-
Hello. Need help with code. Trying to make text Field in product line. In order details. I was modified 2 files. /admin/themes/default/template/controllers/orders/_product_line.tpl Code <span class="product_quantity_edit"> <input type="text" name="product_quantity_collected" class="edit_product_quantity" value="{$product['product_quantity_collected']|htmlentities}"/> <input type="submit" value="Save"/> </span> And /controllers/admin/AdminOrdersController.php if (Tools::getValue('product_quantity_collected')) $product['product_quantity_collected'] = Tools::getValue('product_quantity_collected'); Problem is 1. I can make changes only in last product in list. And it value gives to each product. 2. when Im leaving order details all data dissapearing. And when Ill go to order details next time its empty. Screen Please help me with this.
-
On my index, it only shows 2 products wide even though there is clearly room to add more. I'm using 2 column (small left column) layout, and there's a huge amount of empty space on either side of my content. This happens on any size computer screen, but looks normal on mobile/tablet. Any suggestions on how to fix. Running PS 1.7.4.2 with Classic Theme, no modifications.
-
I have recently upgraded to ps 1.7.4.2 . I found a fix to some of the issues I encountered. No major problems. I lost access to all my modules, I can no longer configure them, with this error message " You are not authorized to configure a module" This issue started after I removed my ps-access table and replaced it with a clean ps-access DB as I had problem accessing my orders and stats menu. This action solved the issue I had with orders and stats menu, however, it caused issues to configure my modules In the images are more details of the issues. Please does somebody have explanations for these errors? Thank you for your help in advance
-
I have a small problem with PrestaShop (1.5.4.1) and I can not find the solution. I am told that you are the best person to answer me. Here are: Customers receive by email an "order details" with a tax price line, an added tax line and it's perfect. (see color image) On the other hand, the accounting receives an "order details" with the amounts with tax included only. (see image in gray) How to add a separate tax line to the accounting order detail too, to be like that of the customer? Thank you for answering me
-
Hi, i have this error on fresh installation of Prestashop 1.6.3 version with base template: Fatal error: in /home/yoursite/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 129 Please help me to solve this error. Thanks in advance for the support. Sincerely, Fabio Perri.
-
Hi everyone. I'm new in this forums, thanks for reading. I've tried the prestashop webservice using the php example script located in the documentation and i've read it all. It's really easy and works great. But now i'm trying to use the webservice via cURL command line client. i managed to make GET, PUT, and DELETE requests but when i try to make a POST request i get a HTTP/1.1 500 Internal Server Error. This is the command i launch: curl -v -X POST -H "Content-type:text/xml" --data-urlencode @cnew.xml "http://JXDLSL4MTV0GLFFNIMC4H35L4DV93IYP:@192.168.1.3/prestashop/api/customers/" I use -v for verbose. I get this: * About to connect() to 192.168.1.3 port 80 (#0) * Trying 192.168.1.3... connected * Connected to 192.168.1.3 (192.168.1.3) port 80 (#0) * Server auth using Basic with user 'JXDLSL4MTV0GLFFNIMC4H35L4DV93IYP' > POST /prestashop/api/customers/ HTTP/1.1 > Authorization: Basic SlhETFNMNE1UVjBHTEZGTklNQzRIMzVMNERWOTNJWVA6 > User-Agent: curl/7.21.7 (i386-pc-win32) libcurl/7.21.7 OpenSSL/0.9.8r zlib/1.2 .5 libidn/1.18 libssh2/1.2.8 librtmp/2.3 > Host: 192.168.1.3 > Accept: */* > Content-type: text/xml > Content-Length: 989 > < HTTP/1.1 500 Internal Server Error < Date: Fri, 22 Jun 2012 08:59:59 GMT < Server: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl /2.0.4 Perl/v5.10.1 < X-Powered-By: PrestaShop Webservice < Access-Time: 1340355599 < PSWS-Version: 1.4.7.0 < Execution-Time: 0.016 < Content-Length: 241 < Connection: close < Content-Type: text/xml;charset=utf-8 < <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <message><![CDATA[internal error. To see this error please display the PHP error s.]]></message> </error> </errors> </prestashop> * Closing connection #0 The content of cnew.xml file is a new customer: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <customer> <id></id> <id_default_group></id_default_group> <newsletter_date_add></newsletter_date_add> <ip_registration_newsletter></ip_registration_newsletter> <last_passwd_gen></last_passwd_gen> <secure_key></secure_key> <deleted></deleted> <passwd></passwd> <lastname>Ñoréz</lastname> <firstname>Trinitarió Fúlgencio</firstname> <email>[email protected]</email> <note></note> <id_gender></id_gender> <birthday></birthday> <newsletter></newsletter> <optin></optin> <active>1</active> <is_guest></is_guest> </customer> </prestashop> If I use --trace-ascii instead of -v: curl --trace-ascii err.txt -X POST -H "Content-type:text/xml" --data-urlencode @cnew.xml "http://JXDLSL4MTV0GLFFNIMC4H35L4DV93IYP:@192.168.1.3/prestashop/api/customers/" I get a err.txt file with more information. This is its content: == Info: About to connect() to 192.168.1.3 port 80 (#0) == Info: Trying 192.168.1.3... == Info: connected == Info: Connected to 192.168.1.3 (192.168.1.3) port 80 (#0) == Info: Server auth using Basic with user 'JXDLSL4MTV0GLFFNIMC4H35L4DV93IYP' => Send header, 308 bytes (0x134) 0000: POST /prestashop/api/customers/ HTTP/1.1 002a: Authorization: Basic SlhETFNMNE1UVjBHTEZGTklNQzRIMzVMNERWOTNJWVA 006a: 6 006d: User-Agent: curl/7.21.7 (i386-pc-win32) libcurl/7.21.7 OpenSSL/0 00ad: .9.8r zlib/1.2.5 libidn/1.18 libssh2/1.2.8 librtmp/2.3 00e5: Host: 192.168.1.3 00f8: Accept: */* 0105: Content-type: text/xml 011d: Content-Length: 989 0132: => Send data, 989 bytes (0x3dd) 0000: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0 0040: A%3Cprestashop%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F19 0080: 99%2Fxlink%22%3E%0A%3Ccustomer%3E%0A%09%3Cid%3E%3C%2Fid%3E%0A%09 00c0: %3Cid_default_group%3E%3C%2Fid_default_group%3E%0A%09%3Cnewslett 0100: er_date_add%3E%3C%2Fnewsletter_date_add%3E%0A%09%3Cip_registrati 0140: on_newsletter%3E%3C%2Fip_registration_newsletter%3E%0A%09%3Clast 0180: _passwd_gen%3E%3C%2Flast_passwd_gen%3E%0A%09%3Csecure_key%3E%3C% 01c0: 2Fsecure_key%3E%0A%09%3Cdeleted%3E%3C%2Fdeleted%3E%0A%09%3Cpassw 0200: d%3E%3C%2Fpasswd%3E%0A%09%3Clastname%3E%C3%91or%C3%A9z%3C%2Flast 0240: name%3E%0A%09%3Cfirstname%3ETrinitari%C3%B3%20F%C3%BAlgencio%3C% 0280: 2Ffirstname%3E%0A%09%3Cemail%3Etrini%40nor.ez%3C%2Femail%3E%0A%0 02c0: 9%3Cnote%3E%3C%2Fnote%3E%0A%09%3Cid_gender%3E%3C%2Fid_gender%3E% 0300: 0A%09%3Cbirthday%3E%3C%2Fbirthday%3E%0A%09%3Cnewsletter%3E%3C%2F 0340: newsletter%3E%0A%09%3Coptin%3E%3C%2Foptin%3E%0A%09%3Cactive%3E1% 0380: 3C%2Factive%3E%0A%09%3Cis_guest%3E%3C%2Fis_guest%3E%0A%3C%2Fcust 03c0: omer%3E%0A%3C%2Fprestashop%3E <= Recv header, 36 bytes (0x24) 0000: HTTP/1.1 500 Internal Server Error <= Recv header, 37 bytes (0x25) 0000: Date: Fri, 22 Jun 2012 08:32:26 GMT <= Recv header, 99 bytes (0x63) 0000: Server: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/ 0040: 5.3.8 mod_perl/2.0.4 Perl/v5.10.1 <= Recv header, 37 bytes (0x25) 0000: X-Powered-By: PrestaShop Webservice <= Recv header, 25 bytes (0x19) 0000: Access-Time: 1340353946 <= Recv header, 23 bytes (0x17) 0000: PSWS-Version: 1.4.7.0 <= Recv header, 23 bytes (0x17) 0000: Execution-Time: 0.015 <= Recv header, 21 bytes (0x15) 0000: Content-Length: 241 <= Recv header, 19 bytes (0x13) 0000: Connection: close <= Recv header, 38 bytes (0x26) 0000: Content-Type: text/xml;charset=utf-8 <= Recv header, 2 bytes (0x2) 0000: <= Recv data, 241 bytes (0xf1) 0000: <?xml version="1.0" encoding="UTF-8"?>.<prestashop xmlns:xlink=" 0040: http://www.w3.org/1999/xlink">.<errors>.<error>.<message><![CDAT 0080: A[internal error. To see this error please display the PHP error 00c0: s.]]></message>.</error>.</errors>.</prestashop>. == Info: Closing connection #0 I've tried several "-H" options (headers) like: -H "Content-type:text/xml" and -H "Content-type:application/x-www-form-urlencoded" but I always get HTTP/1.1 500 Internal Server Error Can anybody help me PLEASE? Thanks in advance!!! -- Pamela Curts
- 8 replies
-
- webservice
- http
- (and 8 more)
-
Hello, please i need help with Prestashop version 1.6.1.10 When i will try finish order, i get this error HTTP Error 500. This is same Error as when i will try send password recovery as customer. I disable all newly installed modules, but still no succes. I disable all non original prestashop modules, no succes In debug mode I get: Fatal error: Uncaught exception 'ReflectionException' with message 'Class Swift_Mime_ContentEncoder_QpContentEncoder does not exist' in /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php:308 Stack trace: #0 /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php(308): ReflectionClass->__construct('Swift_Mime_Cont...') #1 /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php(112): Swift_DependencyContainer->_createNewInstance('mime.safeqpcont...') #2 /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php(369): Swift_DependencyContainer->lookup('mime.safeqpcont...') #3 /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php(347): Swift_DependencyContainer->_lookupRecursive('mime.safeqpcont...') #4 /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php(129): Swift_DependencyContainer->_resolveArgs(Array) #5 /var/www/domibaby.me in /var/www/domibaby.mediaportaly.tv/www/tools/swift/classes/Swift/DependencyContainer.php on line 308 Many thanks for any advice Sorry for my english. Zdenek
-
Hello all! I am busy developing our new website but now I am stuck with one thing. I would like to arrange our long top menu items underneath each other instead of next to each other. You can check the beta version I am working on here: http://goo.gl/UIAlng As an example of how I would like to have it I have attached an image. I hope you guys can help me out. Thanks in advance.
-
I got this: Fatal error: Class 'Hook' not found in /home/blablabla/public_html/shop/classes/Dispatcher.php on line 387 Any ideeas? I`ve already clean caches and stuff. Please help! Have a great day!
- 1 reply
-
- dispatcher
- line
-
(and 6 more)
Tagged with:
-
Hello, I need to add 2-3modules on the same line.For example half of line with a module where I will have 2 products and the rest half with a modul that display a photo and under that photo a module with text.Prestashop allow me to make this kind of change? I have attached a photo to undersand what I want to do. Thanks!
-
Hi, On my website www.alexcarter.biz If you look at the product listing, it shows the products in a grid view. The problem i have is that the banner which would usually show the word new doesn't have the word new for starters and also it does not display over the image, instead it displays to the right. I am guessing the text is probably a CSS problem but i can't work out why it shows to the right of the image rather than over it? I would also like to make the images bigger, can you just do this by recreating the thumbnails at a different size? The problem of making them bigger though is that the description gets cut off by the add to cart button, is it possible to change the height of the description section as well? Any help is greatly appreciated. Thanks, Alex
-
Hi ! I need to put the flags "in line", one next to the other, instead using the drop down menu that cames with the default template. Im using PS 1.5. Any idea ? TXS !!!!
-
I need help removing the vertical lines separating "login", "your account", and "cart" in the userinfo module. I cannot find where these are in the code. <!-- Block user information module HEADER --> <div id="header_user"> <ul> <li id="header_user_info"> {l s='Welcome' mod='blockuserinfo'}, {if $cookie->isLogged()} <span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span> <a href="{$link->getPageLink('index.php')}?mylogout" class="button" title=>{l s='Log out' mod='blockuserinfo'} {else} <a href="{$link->getPageLink('my-account.php', true)}" class="button" title=>{l s='Log In' mod='blockuserinfo'}</a></li> {/if} <li id="your_account"><a href="{$link->getPageLink('my-account.php', true)}"class="button" title={l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li> <li id="shopping_cart"> {if !$PS_CATALOG_MODE} <a href="{$link->getPageLink("$order_process.php", true)}" class="button" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">{l s='My Cart' mod='blockuserinfo'}</a> <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span> {* {if $cart_qties >= 0} <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {if $priceDisplay == 1} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)} {else} {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant} {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)} {/if} </span> {/if} *} <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(0)' mod='blockuserinfo'}</span> {/if} </li> </ul> </div> <!-- /Block user information module HEADER -->
-
Hi, I use template Theme001 and grid view for my shop. But "Cart" and "Check out" buttons are not in one line.. Can anybody help how to fix it? Thank you
- 2 replies
-
- Shopping cart - bottons Cart
- check out
-
(and 6 more)
Tagged with: