AbanteCart is an open source e-commerce cart system built by a community of enthusiasts. There isn’t any official commercial release of the cart, and donations and contributions entirely support the project.
The core feature set is on par with other cart systems such as Zen Cart or X-Cart, and you can add many features such as product comparisons and affiliate support through the extension store.
This article is going to cover how to install AbanteCart on Ubuntu 18.04.
Update the System
# sudo apt-get update && sudo apt-get upgrade
Install git and tasksel
$ sudo apt-get install git-core$ sudo apt-get install tasksel
$ sudo git clone https://github.com/abantecart/abantecart-src.git
$ sudo tasksel
Select LAMP and install
Copy the Contents of the public_html Folder in the AbanteCart Directory to Your Web Root Document Directory
$ sudo cp -r /abantecart-src/public_html/. /var/www/html/
Create a MySQL User and Set Permissions
$ sudo mysql -u root -p > create database abantecartdb; > grant all privileges on abantecartdb.* to 'username'@'localhost' identified by 'passwordhere'; > flush privileges; > exit
Set File Permissions For Installation
$ sudo chmod 777 /var/www/html/system/config.php $ sudo chmod 777 /var/www/html/system/ $ sudo chmod 777 /var/www/html/system/cache/ $ sudo chmod 777 /var/www/html/system/logs/ $ sudo chmod 777 /var/www/html/image/ $ sudo chmod 777 /var/www/html/image/thumbnails/ $ sudo chmod 777 /var/www/html/download/ $ sudo chmod 777 /var/www/html/extensions/$ sudo chmod 777 /var/www/html/admin/system/ $ sudo chmod 777 /var/www/html/admin/system/backup/ (if exist) $ sudo chmod 777 /var/www/html/resources/
Disable PHP Opcache
$ sudo nano /etc/php/7.2/cli/conf.d/10-opcache.ini
Comment out the line and save and close the file
Setup PHP Extensions
$ sudo apt-get install php-xml $ sudo apt-get install php-gd$ sudo apt-get install php-curl$ sudo apt-get install php-mbstring $ sudo systemctl restart apache2
Browse to Your Domain And Accept the License Agreement and Press “Continue”
There Shouldn’t Be Any Errors On the Validation Screen. Press “Continue”
Put the Database Name, Username, and Password that was Setup Earlier
Put the Required Administrator Information In and Press “Continue”
AbanteCart is Now Installed. Delete the /install directory
$ sudo rm -rf /var/www/html/install
You can use the buttons on this page to get to both your storefront and the admin panel. If you installed the demo store data you should see a screen like this on your main domain:
You can also login at the admin panel and being adding products, setting up payment processors and shipping to get your store up and running. The first time you login you’ll see the quick start wizard.
AbanteCart is a great cart solution and you may find it more modern than some of the older cart packages such as Zen Cart.
It’s another great open source option with a low total cost of ownership to get your new business up and off the ground.