Friday, 19 October 2012

OpenCart Loginza plug in addon

In my previous post I did VQMod option for the Loginza plug in. Recently I've found if you logged in with this module, but don't add any address and try to checkout, you will fail, because of the bug in the original module. To fix this bug you can go to catalog/view/theme/default/template/checkout/payment_address.tpl and add following lines:

Sunday, 14 October 2012

OpenCart OpenId integration with Loginza

Recently I've found OpenId integration module for OpenCart via Loginza service. You can find the module here. But if you want to get it to work you need to replace the default files related to login or checkout. I thought why do I need to change the original files if I have VQMod installed in my OpenCart instance, and since there was no VQMod option from the author, so I've decided to write it by myself.

Friday, 5 October 2012

Xubuntu proxy settings

I have my laptop running Xubuntu 12.04. And there is no GUI to set up proxy settings. So it can be done via terminal. Open /etc/environment and add the following lines
http_proxy="http://user:password@proxy:port/"
https_proxy="https://user:password@proxy:port/"
ftp_proxy="ftp://user:password@proxy:port/"
socks_proxy="socks://user:password@proxy:port/"
Also if you want the apt-get is working behind proxy, go to /etc/apt/apt.conf and add
Acquire::http::proxy "http://user:password@proxy:port/";
Acquire::https::proxy "https://user:password@proxy:port/";
Acquire::ftp::proxy "ftp://user:password@proxy:port/";
Acquire::socks::proxy "socks://user:password@proxy:port/";
Restart X by log out and back in again for settings to take effect.

Tuesday, 2 October 2012

OpenCart Flat Rate shipping module cloning

I have some online shop based on ocStore which is Russian version of the OpenCart CMS. I will show the example of how to clone the Flat Rate shipping module. Here is the original module