Jump to content

Pavlos

Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Location
    Athens, Greece

Pavlos's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, Recently we are facing the problem of many spam registrations as new customers. I noticed that the spammers use the same name and surname. Should there be an (optional) validation rule for the first name to not be the same as the last name?
  2. Καλημέρα, ευχαριστώ για την ανταπόκριση. Μπορείς να δεις εδώ: https://www.minasiampi.com/el/3-women Η version είναι 1.7.2.4 και έχω δοκιμάσει και την 1.7.3.2 (επόμενη) Για το format των αριθμών χρησιμοποιούν πλέον το cldr http://st.unicode.org/cldr-apps/v#/el/Number_Formatting_Patterns/ Υπαρχει σχετικό αρχείο στο directory web/translations/cldr/ το οποίο έχω δει και είναι σωστό αλλά το πρόβλημα παραμένει.
  3. Hi all, When in Greek language the prices are displayed like this: 62.,72,00 (instead of 62,72) I cannot find any setting / tweak to fix this. Any ideas?
  4. Καλησπέρα, Οι τιμές στα Ελληνικά εμφανίζονται με την μορφή 62.,72,00 το σωστό είναι 62,72 Δεν βρίσκω κάποια ρύθμιση. Καμιά ιδέα?
  5. quik solution for 1.5.x : in the file classes/tax/Tax.php find: public static function getProductTaxRate($id_product, $id_address = null, Context $context = null) { if ($context == null) $context = Context::getContext(); $address = Address::initialize($id_address); $id_tax_rules = (int)Product::getIdTaxRulesGroupByIdProduct($id_product, $context); $tax_manager = TaxManagerFactory::getManager($address, $id_tax_rules); $tax_calculator = $tax_manager->getTaxCalculator(); return $tax_calculator->getTotalRate(); } and replace with public static function getProductTaxRate($id_product, $id_address = null, Context $context = null) { if ($context == null) $context = Context::getContext(); $address = Address::initialize($id_address); $groups = Customer::getGroupsStatic((int)($address->id_customer)); $taxratenew = null; foreach ($groups as $g) { if ($g > 4) { //set the group you want here ( '>;' or '=') $taxratenew = 16; //set the tax rate you want here (e.g. "0") [spam-filter] if (!$taxratenew) { $id_tax_rules = (int)Product::getIdTaxRulesGroupByIdProduct($id_product, $context); $tax_manager = TaxManagerFactory::getManager($address, $id_tax_rules); $tax_calculator = $tax_manager->getTaxCalculator(); $taxratenew = $tax_calculator->getTotalRate(); } return $taxratenew; } Remember to save the file in override/classes/tax/Tax.php and clear cache!
  6. χίλια συγνώμη... εννοούσα στο header.tpl!
  7. Για τα μετα tags άλλαξε το {$meta_description|escape:'htmlall':'UTF-8'} και {$meta_keywords|escape:'htmlall':'UTF-8'} σε {$meta_description} και {$meta_keywords} κ.ο.κ στο αρχείο themes/prestashop/product.tpl Σιγά Σιγά θα βρούμε και τα υπόλοιπα...
  8. Translations will (allmost) do the work. Still have to find the "cart" in the header links! Thnx
  9. Hi, How can I modify the English translation? For example I want to change "Add to Cart" to "Add to Shopping Bag". I cannot find any relevant files. I can do it for other languages (example the file themes/prestashop/lang/fr.php) but the en.php is almost empty! Thanks and Regards Pavlos
×
×
  • Create New...