Author: Aleksander Tretjak

Magento Tips: How To Include JQuery Into Magento

February 26, 2013 / Posted in Tips&Tricks by Aleksander Tretjak
Magento Tips: How To Include JQuery Into Magento
Download PDF

Not everyone probably likes the Prototype library which is included into Magento by default. Some users prefer to use a more popular tool – JQuery framework since it has pretty many ready-made add-ons and plugins.

Any js file can be included either with the help of config. files or using events. Using the event core_block_abstract_prepare_layout_before

 

we can include a library into the page directly before Magento js files. (more…)

Magento Tips: How To Make Browsers Update And Refresh The Theme Files

February 15, 2013 / Posted in Tips&Tricks by Aleksander Tretjak
Magento Tips: How To Make Browsers Update And Refresh The Theme Files
Download PDF

Sometimes after making changes to the website design it is required that users’ browsers would update and refresh the theme files. To solve this issue it is possible to implement the versioning of static files. For instance, one can add a parameter with the theme version number.

So what we need to do is to add the parameter specifying the version number. (more…)

Magento Tips: How To Clear Magento Shopping Carts

February 4, 2013 / Posted in Tips&Tricks by Aleksander Tretjak
Magento Tips: How To Clear Magento Shopping Carts
Download PDF

One of the problems that Magento-based online store owners may encounter is that the shopping cart may not get emptied when the customer leaves the store. So the next time the user logs back into the system, the new items get merged with the old ones.

The thing is that the default Magento Quote Lifetime settings allow only to limit the period of time a unit can remain in the shopping cart. Unfortunately, there are no settings which would clear the cart when a need someone write my paper customer abandons the page or logs out of the store. (more…)