Jump to content

gloomybear

Members
  • Posts

    43
  • Joined

  • Last visited

Profile Information

  • Location
    Poland
  • Activity
    Project Owner

gloomybear's Achievements

Newbie

Newbie (1/14)

17

Reputation

1

Community Answers

  1. Hi PS Developers, Module core class has a method _clearCache that modules can use to clear smarty cache. Number of modules does it (i.e. homenew module to show now product on home once you add a new one). This method works well on a test environment but called on a live site (with 15-25 concurrent users browsing site) _clearCache takes ages (three minutes and then it times out). Do you know if there is any way to speed up this method (or any better way to refresh module smarty cache)? Many thanks for your advice!
  2. This app solves the problem: https://play.google.com/store/apps/details?id=speedventory.com.singlepick
  3. I have automated order fulfillment with this android app: https://play.google.com/store/apps/details?id=speedventory.com.singlepick There is no PS integration yet but developer says he plans to release presta module next month.
  4. I did bit of research and found nothing specifically for PrestaShop. What you may do though is to use external WMS (warehouse managment system), preferably one which has integration with Presta because this way you can save money on integration.
  5. Question posted long time ago... I need to use barcode reader because I have a lot of products and sometimes my employees collect wrong items. Using barcode reader for fulfillment would be great because then: 1) Scaner displays item to be picked along with its location in the warehouse, 2) Employee must scan the barcode of the item before putting it into package for shipment Also registration of incoming deliveries would be faster. Any advice of how to do it? What software to use?
  6. Nie ma. Samym bym chętnie taki moduł kupił.
  7. TIP: Check also overwrite.. I took me some time to figure out that I also had the same method in overwrite/manufacturer.php
  8. Hello, I would like to display an additional content to people who come from a specific site (i.e. to users redirected to shop from google search). PrestaShop already stores user source (it is displayed on order and in stats as aggregated information). Any tips how I could access this information from my module? Thanks!
  9. And why this people are still on 1.4 while 1.5 is better and there is more modules for 1.5? They are on 1.4 because they cannot afford to upgrade. They know that upgrade is high risk - a lot of testing is required and still you can miss something and your site breaks causing you loss of orders & revenue. Or they business is so weak that it is not worth the effort / money to upgrade, what again proves my point that upgrade is too expensive adventure I agree that PS may be still valid option for now, but looking into future this may change. Especially when you look at bigger shops. Magento already left behind PS when it comes to bigger players (look for stats). And bigger players are the ones with money... Having money Magento can easily adjust its offer to cater also smaller business who are traditionally a userbase of PS. In my country few agencies targeting serious customers abandoned PS for Magento. This process may continue. I hope that competition will bring better solutions for us
  10. You are correct, Google specified setting user-id on login page. I did it for every pageview because it was easier to me and because I use 3-rd party module which creates user account. This implementation allowed me then to track users regardless of how they login and how they create an account. My testing is in progress as well. For now everything seems to work fine.
  11. Clement - Yes, you need to enable enhanced ecommerce so that you can see all data being registered. Note that it needs to be done for each profile. Kermes - kudos for your great work! I have adjusted module code to track user-id. You may want to add it as well to official module distro as it adds a nice functionality My code below: private function _getGoogleAnalyticsTag($back_office = false) { $user_id = null; if (in_array($this->context->controller->controller_type, array('front', 'modulefront'))) { $user_id = $this->context->customer->isLogged() ? $this->context->customer->id : null; } $tracking_code = ' <script type="text/javascript"> (window.gaDevIds=window.gaDevIds||[]).push(\'d6YPbH\'); (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');'; if ($user_id) { $tracking_code .= 'ga(\'create\', \''.Tools::safeOutput(Configuration::get('GA_ACCOUNT_ID')).'\', {\'userId\': ' . $user_id . '});'; } else { $tracking_code .= 'ga(\'create\', \''.Tools::safeOutput(Configuration::get('GA_ACCOUNT_ID')).'\', \'auto\');'; } $tracking_code .= $back_office ? 'ga(\'require\', \'ecommerce\');' : ''; $tracking_code .= 'ga(\'require\', \'ec\');'; $tracking_code .= '</script>'; return $tracking_code; }
  12. Hello, Browsing I have found a very interesting post on what should be PrestaShop new year resolutions. http://dh42.com/blog/prestashop-2015-resolutions/ It highlights what is wrong with PrestaShop development. DH42 exactly said what was on my mind. I personally couldn't agree more regarding bugs and development road map. New versions of PS are unstable and each upgrade introduces significant risk that something brakes or functionality is missing. I am posting on the forum because I am curious what other people in the community think about PS course... So what do you think?
  13. I am on shared hosting and have there 2 accounts. On account A it is ultraslow. I contacted the host and they said: "Everything is fine on our side, it is slow script which jumps with CPU utilization up to 100%". They kill the script when script uses 100% CPU for long time. On account B product save is blink of an eye. And B is very similar to A. This is why I want to debug / profile product update on this particular installation.
  14. Anyway - do you know how to profile product save to check: 1) how long does it take to save a product, 2) what are execution times of hooks on productUpdate? With profiling enabled I can only see profiling info for rendering product catalog (where user is redirected after successful save).
×
×
  • Create New...