Category: Technology

  • Making async ajax calls to an array of url’s and processing their responses at once

    Today I had a very interesting case where we needed to get a specific amount of SVG files with ajax calls that were to be processed once after all of the requests are done. I was familiar with the $.when and used it before but only in casese where the number of the calls were…

  • A new async callstack have landed in Chrome Canary

    If you’re using Chrome Canary for your development work now you can find a asyc radio button next to the callstack when you stop on a breakpoint in the DevTools. Enabling it adds the functions that triggered an asynchronous action that called in the end the function you’ve your breakpoint in. The awesome about this is…

  • Sublime Text 2/3

    This is an article about Sublime Text 2 and 3 and the reasons I use it. Recently Sublime Text is becoming a buzz-word and seems like big amount of people are using it. I’ve already heard people complaining about it’s mass popularity but here’s what led me to the point using it and why I…

  • Google analytics is no loger working with WooCommerce out of the box

    Recently I updated WooCommerce site from version 2.0.* to 2.1.* and today I noticed that the site stats from Google Analytics are no longer working. I went to the settigns page and noticed that the Integration tab where the google analytics ID was suposed to be was gone. Turns out that they dropped the Google…

  • Regenerating WooCommerce System Pages (When you forgot to add them)

    Update: recently I found the tools tab of WooCommerce http://example.com/wp-admin/admin.php?page=wc-status&tab=tools. (It’s located in the WooCommerce -> System Status, in the Tools Tab). From there you can create your WooCommerce special pages and many more nice things.   When you install WooCommerce it asks you if you want to add the system pages – Shop, Checkout and so…

  • Error 500 on a WordPress after an intensive hacker attack

    Last couple of days we’ve had a website that is actively under DDoS attack. At some point I’ve noticed that the attack have stopped (or at least my notifications for it from the security plugin we use – Better WP Security) Opening the website I’ve noticed that it returned Error 500 so I started looking…

  • WordPress Empty Search Template

    WordPress provides you with a nice and easy way to style the search page template using the search.php in your theme. However there is something that is relatively strange related to the searches in WordPress. If somebody hits the search button without having the search field filled in it gives you the blog archieve template…

  • WooCommerce BGN

    To ease the stuff even more I’ve created a plugin WooCommerce BGN to simply add Bulgarian lev to the currency list in WooCommerce. This is inspired by my blog post for adding a custom currency to WooCommerce. You can download WooCommerce BGN here. Installing: Download the zip file Upload it using the Plugins > Add…

  • WooCommerce BGN Plugin

    За леснота написах кода от публикацията “Добавяне на нова валута в WooCommerce”  в плъгин за BGN. Може да свалите WooCommerce BGN плъгина тук Инсталиране: Свалете zip-а Качете го Активирайте плъгина. Отворете настройките и в списъка с валути най-отдолу трябва да видите Bulgarian Lev. Успешно продаване! Изисквания – WooCommerce 😉 ЧЗВ: 1. Инсталирах плъгина, но цените…

  • Adding a custom attribute to an existing sencha touch component (and why it might cause error after production build)

    Lately we’ve been using Sencha Touch for an interesting project. We found a problem which something was working correctly while on develop mode but stopped working after the app was built for production. Turned out the problem was becuase we added a custom attribute to an existing sencha component which we wanted to use. Ext.define(‘SomeView’,…