Jump to content

intellierve

Members
  • Posts

    6
  • Joined

  • Last visited

intellierve's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I do not think there is an email sent to the admin to notify of a new order. At least I don't see in the email templates. I just added a new template and a line of code to email a copy of the order to the admin.. This is simliar but not a copy of what the buyer gets. Mark.
  2. Further to my research on trying to speed up prestrashop I've written another smarty plugin. The stats seem to say it's worth while however I'm still working on it. All the javascript files in the header halt the shop from loading until they have been processed. if anyone has done the maths there are alow of files to download and alot of connections to the server required for this. Solution: I have written a smarty plugin that creates a single js or css file with the pramas you send. it creates a cached file with etags for quicker furture browseing. Either an array, list or single js or css file can be used. Usage is as follows: {cache js=js/tools.js,js/jquery/jquery.pack.js,js/jquery/jquery.easing.1.3.js,themes/intellishop/js/chrome.js} {if isset($js_files)} {cache js=$js_files} {/if} I'll be creating a ps mod website oneday for anyone wishing to donate towards my time developnig such improvements. Until than, just PM and I'll see what I can do to help wtith your shop.
  3. Just interested to hear if others are finding v1 very slow compared to other scripts they run on the same servers.
  4. Unfortunally the shop has some work todo to reduce the resources required, mainly with the amount database queries It'll take some time but I'm sure the developers will address this. Read other posts on tips to improve proformance.
  5. I not sure if this a good solution but for that tax function above I did this. static public function getApplicableTax($id_tax, $productTax) { global $cart, $defaultCountry; global $cache_getApplicableTax; if(isset($cache_getApplicableTax[$id_tax][$productTax])) { return $cache_getApplicableTax[$id_tax][$productTax]; } ...... and at the bottom of the function return $cache_getApplicableTax[$id_tax][$productTax] = $productTax * Tax::zoneHasTax(intval($id_tax), intval($defaultCountry->id_zone)); // return $productTax * Tax::zoneHasTax(intval($id_tax), intval($defaultCountry->id_zone));
×
×
  • Create New...