Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by giasemis

  1. Thank you Dandry. It works great! I added in file in file templates/catalog/_partials/product-images-modal.tpl just after the image line 31 <img class="js-modal-product-cover product-cover-modal" width="{$product.cover.large.width}" src="{$product.cover.large.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" itemprop="image"> ... here...
  2. To tax revenue το διαβάζει κατευθείαν απο το φόρο που έχεις θέσει σε κάθε προιον Αρα πρέπει να πας σε κάθε προιον και στο tab τιμή να θέσεις φόρο 24 % Μετά εμφανίζονται το σωστό tax revenue στο skroutz analytics
  3. καλημέρα, χρησιμοποίησα το module του ilias-s για τα skroutz analytics. δουλεύει μια χαρά, ευχαριστούμε πολύ. Έκανα μόνο κάποια updateds γιατί εβγαζέ δύο php warning (όταν είσαι σε debug mode). επίσης στο αρχείο skroutzanalytics.tpl ενσωμάτωσα λίγο κώδικα για να αφαιρεί το κόστος της αντικαταβολής από το revenue και το shipping. (αυτό για να δουλέψει πρέπει να σεταριστεί σε κάθε eshop ξεχωριστά βέβαια) Επισυνάπτω το update μήπως ενδιαφέρει κάποιον: skroutzanalytics.zip
  4. I had the same problem. So after digging around I found the solution by changing the .tpl files in several places. I prepare a small article to describe the full solution. Is is in greek but I hope anybody can understand the changes need to be done in the code.
  5. Αλλαγη φπα σε όλα τα προιοντα 1) πρωτα πηγαίνεις στα tax rules και δημιουργείς ένα tax rule με φπα 24% και μετα πηγαινεις στην mysql και δίνεις την εντολή: UPDATE ps_product SET id_tax_rules_group = $yourtaxruleid οπου $yourtaxruleid το tax rule id του tax rule που δημιουργησες
  6. I am using apache mod_rewrite I need to perform a url rewriting in .htaccess file All the url of this type : el/search.php?orderby=position&orderway=desc&tag=Perugia+Sienna el/search.php?orderby=position&orderway=desc&tag=Perugia el/search.php?orderby=position&tag=Perugia is not working after upgrade in the latest version of Prestashop I need to rewrite them as follow: el/search?orderby=position&orderway=desc&tag=Perugia+Sienna el/search?orderby=position&orderway=desc&tag=Perugia el/search?orderby=position&tag=Perugia so basically in need to remove the .php from the url what is the best way to do that;
  7. για τα προιοντα μόδας ρούχα παπούτσια κτλ το skroutz απαιτεί να υπάρχουν δυο extra πεδία στο xml για κάθε προιον το <Size> </Size> και το <color> </color> Αυτό έχει υλοποιήθει σαν module και μπορείτε να το βρείτε εδώ: xml feeds for skroutz module επισης το total xml exporter module για την έκδοση 1.6.1.x και πάνω υπάρχει εδώ
  8. you can resolve this through myphpadmin directly go to the ps_range_weight table of your prestashop installation and correct the overlapping there
  9. Thanks a lot, This format was the answer to that validation error.
  10. Yes, I try with a space between but the error in validator remains
  11. Hello, I am working on a new module and I am dealing with some errors I am receiving from the validator I common stardard type error is this: Expected "if (...) {\n"; found "if(...)\n {\n" appear several times: I am using notepad++ and the code is simple and clear for example: ·if($attributeName·==·'Size') I don't know how to resolve this error Any ideas ? Thank you
  12. Για την εκδοση βρηκα το documentation λιγο outdated Στην περιπτωση μου έκανα overide την κλαση Tools.php ως εξης: /*** updated gerasimosa greekurls */ public static function str2url($str) { static $array_str = array(); static $allow_accented_chars = null; static $has_mb_strtolower = null; if ($has_mb_strtolower === null) { $has_mb_strtolower = function_exists('mb_strtolower'); } if (isset($array_str[$str])) { return $array_str[$str]; } if (!is_string($str)) { return false; } if ($str == '') { return ''; } if ($allow_accented_chars === null) { $allow_accented_chars = Configuration::get('PS_ALLOW_ACCENTED_CHARS_URL'); } $return_str = trim($str); if ($has_mb_strtolower) { $return_str = mb_strtolower($return_str, 'utf-8'); } if (!$allow_accented_chars) { $return_str = Tools::replaceAccentedChars($return_str); } // Remove all non-whitelist chars. if ($allow_accented_chars) { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-\p{L}\p{Greek}]/u', '', $return_str); } else { $return_str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]\-]/', '', $return_str); } $return_str = preg_replace('/[\s\'\:\/\[\]\-]+/', ' ', $return_str); $return_str = str_replace(array(' ', '/'), '-', $return_str); // If it was not possible to lowercase the string with mb_strtolower, we do it after the transformations. // This way we lose fewer special chars. if (!$has_mb_strtolower) { $return_str = Tools::strtolower($return_str); } $array_str[$str] = $return_str; return $return_str; }
  13. Hi, I am using prestashop version 1.4.9. Recently I install and enable mobile module 0.5.3 in order to have a mobile friendly site. After I enable mobile module, it is not possible for customers to create a new order from a mobile or a tablet device. When you connect from a mobile device the mobile theme is displayed www.netcraft.gr/?ps_mobile_site=1 As most user do you can select View Full site and Redirect to default theme www.netcraft.gr/?ps_full_site=1 You can browse the site normally with the default theme from you device and you can add products to cart. The problem is when you try to purchase a product. We redirect the www/netcraft.gr/order-opc.php?ps_full_site=1 and there the problems start When you try to fill you login information you receive the following error Technical Error : unable to send login information Details Error thrown [ object, object] Even if you bypass this point you have to click [accept the terms and conditions in order to see the payment methods] You click on this button but the payment methods never showed up so you cannot complete your order from a mobile device or a tablet From the other hand when you try to make an order from a desktop device everything working normally. and the only different is the extra ?ps_full_site=1 in the url on your mobile device. The error looks is comming from order-opc.js file and might be relate with the different orderOpcUrl in that file depending if you device is desktop or mobile. Any suggestions how this problem can be overcomed ? Thanks is advance
  14. The store is running in prestashop 1.4.9 and in lighttpd server. In order to pass google's mobile friendly test we installed mobile template 0.5.3 module for version 1.4.x as proposed. So when browse it from a mobile device you see the mobile version of the site www.shopbay.gr/el/?ps_mobile_site=1 and while you browse it from a desktop PC you see the normal version www.shopbay.gr/el/?ps_full_site=1 The problem is because we are using friendly url rewriting and we have lighttpd server most of the website urls doesn't working now and return 404 error Does anybody face the same issue? Does anybody know how to ammend the Url rewriting rules in order to make the new websites urls working Actually all the website urls are the same like before with the addtion of the suffix ?ps_mobile_site=1 for mobile and ?ps_full_site=1 for desctop pc but is is mean that we have to modify the rewriting rules from the start now
  15. I have the same issue with Paypal 3.8 version
  16. there is a number of module doing this check for example: http://addons.prestashop.com/en/marketplace-prestashop-modules/6646-total-xml-exporter.html
  17. Υπάρχει αυτό το module http://www.netcraft.gr/total-xml-exporter-prestashop-feeds-for-skroutz για το οποιο υπάρχει και υποστήριξη κανονικά
  18. Hi Fabio, thanks for the proposed solution. Indeed the problem has started appearing during that date. anyway I check your solution and it doesn't solve the problem for my case. I think it is 100% paypal since is a problem is comming and going, One day redirection to paypal is working and the next is not. I receiving that follow error ERRNO 0 ERRSTR php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known Best Regards Gerasimos
  19. this was the answer from PayPal: --------------- I've run a test on your site but I didn't come across any issues. Please see the attached screenshot. Details you provided (= php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known) indicates an issue with your cart not getting the PayPal re-direction URL at all or not getting it properly. I would suggest contacting Prestashop for more information. --------------- the problem still there. Prestashop team could you please help with this issue? thank you
  20. After I print the variables of the function giving the error: at paypal/api/paypal_connect.php file: private function _connectByFSOCK($host, $script, $body) { echo $host; echo $script; echo $body; echo $host; echo "</br> "; echo $errno; echo "</br> "; echo $errstr; $host = api-3t.paypal.com $script= /nvp $body contains the credentials and the data transfered to Paypal $errno = 0 $errstr = php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known this is the fault I am getting The problem is some days is working and some not and this is since last month so I can assume this is a Paypal error
  21. Ι have exactly the same issue. I did the update proposed in post #16 but doesn't solve my problem
  22. this was a url rewriting problem (my host using lighttpd) Now that Url rewriting problem has been resolved I came to the situation described here: http://www.prestashop.com/forums/topic/197667-152-add-to-cart-nothing-happens/page-3?do=findComment&comment=1031211
  23. Paypal technical support has replied to me about this issue They point me to the following thread http://www.prestashop.com/forums/topic/208395-paypal-error-occurred/ which seems that provide a solution about the problem
  • Create New...

Important Information

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