Other Shopping Cart Questions (20 Articles)

How to fix the problem with uploaded images not showing in Prestashop?

The most common reason for this problem is that the pictures are being uploaded with incorrect permissions. As a result of this the Apache service can not access them correctly and returns a 403 error. The solution is simple. You need to access your account via FTP or using File Manager in cPanel and find the images.inc.php file. Then open the file and find the lines below: [crayon-58a9c96e3e655439761662/] On a new line just above them you should add: [crayon-58a9c96e3e66a766260984/] After the change, the lines should look as follows: [crayon-58a9c96e3e672088050998/] This rule will change the permissions for the uploaded pictures to 755 and they will be properly…

How to set OpenCart to use SMTP

By default, the PHP mail() function is used for sending emails from the OpenCart application. To configure it to work with SMTP, follow these steps: Step 1: First, you have to access the administrative back-end for your OpenCart installation: http://yourdomainname.com/admin Make sure you replace the above with your actual domain and path to your OpenCart installation. Step 2: Go to System section → Settings category. Step 3: Click Edit next to your Store URL and navigate to Mail category. Step 4: Change the Mail Protocol from Mail to SMTP. Fill these fields accordingly: SMTP Host: SMTP Username: SMTP Password: SMTP Port: SMTP Timeout: Step 5: Save your settings and test the functionality of your…

How to clear the cache in Prestashop

When making changes in Prestashop they will often not appear right away due to old cached information. The solution is to clear the cache of the application. Prestashop version 1.6 and above caches data using Smarty. Cached data is stored in the following folders: /cache/smarty/compile /cache/smarty/cache /img/tmp all of which are located in your Prestashop's installation folder. For example, if your Prestashop store has been installed in the public_html folder of your hosting account, cached information can be found in: ~/public_html/cache/smarty/ compile ~/public_html/cache/smarty/ cache ~/public_html/img/ tmp To clear Prestashop's cached data, delete the content of these folders and reload your website in your browser to take a look at the changes you have made. You can also disable or manage how Prestashop caches information from the application's admin panel -> Advanced Parameters ->…

How to configure Prestashop to work with another domain

Prestashop, like many other applications out there, works based on a domain name. In case you wish to use your Prestashop application with a different domain you should change the PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL options in your Prestashop's database. To edit these options you can use the phpMyAdmin tool available in cPanel . For PrestaShop 1.4.x or the older versions : Log into cPanel and access phpMyAdmin, after which select your Prestashop database and browse the table ps_configuration where the PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL records are located. Change their values to match your new domain name. You should also make sure that your Prestashop's base directory is correctly set in the application's configuration file – settings.inc.php . You can find the configuration file in the config folder, located in the root of your Prestashop installation. You can edit the configuration file via FTP or by using cPanel's File Manager tool. Once you have opened the file for editing look for the line: define('__PS_BASE_URI__', ' / '); In case your Prestashop installation is located in the web root folder of your domain name, this line should remain as above. If the installation is located into a sub folder, the line should be changed to reflect its location: define('__PS_BASE_URI__', ' /subfolder/ '); Where “subfolder” is the actual name of the folder where Prestashop has been installed. For Prestashop 1.5.x or the newer versions: The only thing that you need to do it to change the shop URL from the database. In order to do that you will need to: Log into cPanel and access phpMyAdmin . Locate the table shop_url and change the values for the records: domain and domain_ssl to your domain name. Then change the value of the record physical_url in the same table to the sub-folder that your application is located in. If you have installed the Prestashop directly in the domain's document root, you will need to to change the physical_url to " / ". Note: If you would like to configure your Prestashop to work with a temporary URL, you will need to add the server's IP/hostname to the records: domain and domain_ssl and then change the physical_url to /~username/subfolder/ . Examples: For Prestashop installed in example.com/subfolder: The records should be: domain = example.com domain_ssl = example.com physical_url = /subfolder/ If you want to access the same installation using the temporary URL, you will need to set: domain = server IP or hostname domain_ssl = server IP or hostname physical_url = /~username/subfolder/…

How to enable SEO/SEF links in Opencart?

You can enable the SEO/SEF feature in Opencart through the admin area > System > Settings > Edit > Server . Select " Yes " for the option " Use SEO URL's: " and click " Save ". This will generate an .htaccess.txt file with the mod_rewrite rules in your Opencart root folder. You will have to rename that file to .htaccess in order to enable the feature completely. After that clear your browser's cache and refresh the site to see the new links.…

How to change the quality of the PrestaShop products’ images?

The PrestaShop script (starting from version 1.4.4.1) allows the application administrator to define the quality of the products' images. The products' images can be uploaded from your PrestaShop admin area-> Catalog . Pick a product and open the Images tab to browse and upload images. Once you are ready you can modify the images' quality from the PrestaShop admin area-> Preferences->Image . There you can set the JPEG and the PNG quality values from defined ranges. The worst quality of the graphics leads to shorter loading times for the images. Basically, if you manage a large online shop with many products you can consider decreasing the images quality in order to improve the whole web site performance. Once the values are defined click on the Regenerate thumbnails button. Allow some time for the procedure to be completed. Then you can clear the cache of your browser and check the result.…

How to change OpenCart script folder?

If you want to move your existing OpenCart installation to another folder, you should edit the OpenCartInstallationFolder/ and the OpenCartInstallationFolder/admin/ folders. The following lines of the OpenCartInstallationFolder/configure.php file should be modified: // HTTP define('HTTP_SERVER', 'http://yourdomain.com/newfolder'); define('HTTP_IMAGE', 'http://yourdomain.com/newfolder/image/'); define('HTTP_ADMIN', 'http://yourdomain.com/newfolder/admin/'); // HTTPS define('HTTPS_SERVER', 'http:// your domain.com/newfolder/'); define('HTTPS_IMAGE', 'http:// your domain.com/newfolder/image/'); // DIR define('DIR_APPLICATION', '/home/yourusername/public_html/newfolder/catalog/'); define('DIR_SYSTEM', '/home/yourusername/public_html/newfolder/system/'); define('DIR_DATABASE', '/home/yourusername/public_html/newfolder/system/database/'); define('DIR_LANGUAGE', '/home/yourusername/public_html/newfolder/catalog/language/'); define('DIR_TEMPLATE', '/home/yourusername/public_html/newfolder/catalog/view/theme/'); define('DIR_CONFIG', '/home/yourusername/public_html/newfolder/system/config/'); define('DIR_IMAGE', '/home/yourusername/public_html/newfolder/image/'); define('DIR_CACHE', '/home/yourusername/public_html/newfolder/system/cache/'); define('DIR_DOWNLOAD', '/home/yourusername/public_html/newfolder/download/'); define('DIR_LOGS', '/home/yourusername/public_html/newfolder/system/logs/'); In the above lines change the your domain.com, yourusername and newfolder strings with your account's domain, cPanel username and the new directory where your OpenCart installation is located. Perform the same modifications in the OpenCartInstallationFolder/admin/configure.php file.…

How to configure OpenCart to work with a new domain name?

In order to configure OpenCart to work properly with another domain, you should modify the two config.php files in the OpenCartInstallationFolder/ and the OpenCartInstallationFolder/admin/ folders to reflect the new domain. The following lines of the OpenCartInstallationFolder/config.php file should be changed:  // HTTP define('HTTP_SERVER', 'http://yournewdomain.com/'); define('HTTP_IMAGE', 'http:// yournewdomain.com /image/'); define('HTTP_ADMIN', 'http:// yournewdomain.com /admin/'); // HTTPS define('HTTPS_SERVER', 'http:// yournewdomain.com /'); define('HTTPS_IMAGE', 'http:// yournewdomain.com /image/'); Swap the yournewdomain.com string with your new domain.  Perform the same modifications in your OpenCartInstallationFolder/admin/config.php file: // HTTP define('HTTP_SERVER', 'http:// yournewdomain.com/admin/'); define('HTTP_CATALOG', 'http:// yournewdomain.com/'); define('HTTP_IMAGE', 'http:// yournewdomain.com/image/'); // HTTPS define('HTTPS_SERVER', 'http:// yournewdomain.com/admin/'); define('HTTPS_IMAGE', 'http:// yournewdomain.com/image/'); …

How to enable SSL for your OpenCart?

In this article we will provide you with detailed instructions on how to enable SSL for your OpenCart protected forms and pages. First, in order to access your web site through HTTPS (for example: https://yourdomain.com ) you should have an SSL certificate installed for your account. If you already have an external SSL certificate issued by another company and you have an account with SiteGround.com then you can place an order for an external SSL installation from your Customer Area->Order section. For more details check our article on how to install an SSL certificate ordered from another provider . Alternatively open our SSL Certificates page and order one of the SSL certificates offered by SiteGround.com. As soon as the private SSL is set for your domain you can enter your store admin back-end (for example: http://yourdomain.com/admin ) If you have completed the installation under a subfolder named “store” the above URL will be changed to: http://yourdomain.com/store/admin When the back-end is completely rendered navigate to System->Settings tab. It will take a few second for the Settings page to load. Then open the server section. Here you need to change the Use SSL radio button to yes and click on the save link at the top right corner of the…

How to reset the password in my Presta Shop?

Open your cPanel and go to PHPMyAdmin . Select the database of your Presta Shop application. If you are not sure which database your Presta Shop is using you can check the config/settings.inc.php file and see the value of _DB_NAME_ , which looks similar to the following: define('_DB_NAME_', 'your_db_name'); You can open the file through cPanel->File Manager . Also, check the _COOKIE_KEY_ value in the same file, as you will need it in the next step. Once you have selected your database, click the SQL button from the top menu to run the following SQL query and replace the <> variables with your information. UPDATE employee SET 'passwd' = md5(concat('<_COOKIE_KEY_ value>', '<yourNewPassword>')) WHERE email = “youremailaddress”; For example if your _COOKIE_KEY_ value is 123, your new password is abc and your email address is john@smith.com the query should look like the following: UPDATE employee SET 'passwd' = md5( concat(' 123', 'abc')) WHERE email = “john@smith.com”; …

How to change the default currency in PrestaShop?

Please note that the default currency will be the one displayed for your website visitors when they access the store for the first time. In order to change the default currency in Presta Shop, log in to the administrative area. Then go to Payment -> Currencies. Go to the Currency options section and select the desired default currency from the drop-down menu.…

How to add a new currency in PrestaShop?

Here are the steps you need to follow in order to add a new currency in PrestaShop. 1. Login to the administrator backend. 2. Go to Payment -> Currencies. 2. Click Add New. 3. Fill in the fields and select the way you would like the currency to be formatted. 4. Click Save. That is all. The new currency is now added to your Presta Shop installation.…

How to transfer X-Cart from one host to another?

First you should know that your X-Cart application consists of two components: X-Cart files and X-Cart database. * The files and folders of your X-Cart application contain the scripts and core application code. * The X-Cart database contains all records for your X-Cart website. Let's assume that you are running your own *LAMP or *WAMP webserver or you have a hosting account with another company. You should know the root directory where your X-Cart installation resides. It is often called httpdocs, public_html or www. Those are the so-called web server root directories. So let's suppose that your X-Cart application is installed under your web server root directory (although you can use any subdirectory of your choice ). The first thing you have to do when you want to transfer your X-Cart applications to your SiteGround server, is to copy the entire content of your X-Cart root directory straight into the public_html folder of your SiteGround hosting  account(or in the subfolder by which you want to access your X-Cart website). If you are running your own server probably you have already had your X-Cart site files on your hard drive. In case you are hosting your account on a remote machine, simply download your X-Cart site files and directories (please mind that you should keep the directory structure in tact) on your desktop PC by using your favorite FTP client(http://www.siteground.com/tutorials/ftp/ftp_client.htm). Once the download is finished, you should connect to your SiteGround FTP account, change your current working directory to the public_html one (this is the root/main folder for your website) and drag and drop your X-Cart files and folders from your desktop PC to your public_html folder (or in the subfolder you want to use). The next step you should follow is to create a full backup of your X-Cart MySQL database. If you are running your own *WAMP or *LAMP server, probably you already have phpMyadmin installed. If you are using a different web host, they should provide you with access to a database manipulation tool. You should ask them for further assistance. Here we assume that you are managing your databases with the phpMyadmin tool as it is the most popular tool for managing MySQL databases. Once you are logged in to your phpMyadmin tool, backing up  (exporting) your database is simple. First choose your database from the left menu. Then click the Export tab. Select all the tables, check Add DROP TABLE and Save as file . Leave all other options untouched. Finally, click Go and the database dump will be downloaded to your PC. We are done with your X-Cart database backup and you should already have it downloaded on your hard drive. The next step is to import your database dump to your SiteGround hosting account. To do that, go to your cPanel area and create a brand new database with a name of your choice. Please mind that you can create databases only from your cPanel area (MySQL Databases). You cannot execute CREATE database; MySQL statement from the phpMyadmin tool. Once you've created your new database, please create a new database username and add it to the database you have created during the previous step. For detailed instructions on MySQL database creation you can refer to the video tutorial for creating MySQL database and user in cPanel . We assume that you have created your MySQL database and the next step is to go into your phpMyadmin interface. To restore (import) a database in phpMyAdmin, first choose the database you'll be restoring into from the left menu. Then click the Import tab. You have the option of importing an .sql file. Use the “ Browse ” button to find it on your PC and then click “ Go ” at the bottom. The final step is to adjust the core settings which are defined in your main X-Cart config.php file. Go to your File Manager, change the current working directory to public_html(or the subdirectory, containing X-Cart files) and if you have followed the steps mentioned above correctly you should be able to easily locate config.php file in there. Open it for editing. (If you want to know more about this file, check this article . Below are the main variables you need to adjust so they can fit to your new SiteGround hosting environment: $sql_host ='localhost'; // Leave it to localhost if you are unsure $sql_db ='your_database_name'; // Change it to the name of your database $sql_user ='your_database_user'; // This should be changed to yours $sql_password ='yourpass'; // Change it to the password for the database user $xcart_http_host ="www.yourhost.com"; // Host name of the server on which your X-Cart software is to be installed; $xcart_https_host ="www.yourhost.com"; // Host name of the secure server that will provide access to your X-Cart-based store via the HTTPS protocol; $xcart_web_dir ="/subdirectory_if_any"; // X-Cart web directory (if any); Here are few examples: EXAMPLE 1: $xcart_http_host ="www.yourhost.com"; $xcart_https_host ="www.securedirectories.com/yourhost.com"; $xcart_web_dir ="/xcart"; will result in the following URLs: http://www.yourhost.com/xcart https://www.securedirectories.com/yourhost.com/xcart EXAMPLE 2: $xcart_http_host ="www.yourhost.com"; $xcart_https_host ="www.yourhost.com"; $xcart_web_dir =""; will result in the following URLs: http://www.yourhost.com/ https://www.yourhost.com/ If you need to make any further changes to the config.php file, we recommend that you check this article . If you have correctly followed the instructions mentioned above and your domain name properly points to the DNS servers of your SiteGround hosting account, you should be able to see your X-Cart website . If you have problems transferring your X-Cart yourself, ask your host for assistance. SiteGround provides the best X-Cart hosting and such requests are handled with…

How to configure CubeCart to work with a server URL?

In order to configure CubeCart to work properly with the URL of the server where your account is hosted, you should modify the /includes/ global.inc.php file. You should change these lines: $glob['rootRel' ] = '/' ; $glob['storeURL' ] = ' http://olddomain.com ' ; to: $glob['rootRel' ] = '/ ~cPanelUsername/ ' ; $glob['storeURL' ] = ' http://servername.com ' ; cPanelUsername needs to be replaced with your actual cPanel username. servername.com needs to be changed to the name of the server which hosts your account (for example siteground217.com).…

How to use the ecommerce services of Canada Post?

In order to use the ecommerce services of Canada Post, a connection to sellonline.canadapost.ca or cybervente.postescanada.ca on TCP port 30000 should be established. The IP of sellonline.canadapost.ca/cybervente.postescanada.ca is 66.110.6.131 . You should ensure that outgoing TCP port 30000 is not blocked by your hosting provider. If you are not sure or have problems with your host check our Ecommerce Web Hosting . SiteGround has made sure this requirement is applied by default, just as everything else for your hassle-free ecommerce…

How to configure CubeCart to work with a new domain?

In order to configure CubeCart to work properly with another domain, you should modify the includes/ global.inc.php file. You should change this line: $glob['storeURL'  ] = ' http://olddomain.com ' ; to: $glob['storeURL'  ] = ' http://newdomain.com ' ;…

How to configure a shopping cart with private SSL?

Our team has prepared and gathered for you the following useful articles clarifying in details how to enable your SSL certificate for your specific shopping cart: Click here to learn how to configure your SSL with ZenCart Click here to learn how to configure your SSL with osCommerce Click here to learn how to configure your SSL with CubeCart Click here to learn how to configure your SSL with CS-Cart …

CubeCart Payment Modules

CubeCart supports several payment gateways such as 2Checkout , Authorize.net , PayPal and WorldPay. More information on how to configure them is available in our tutorial here .…

CubeCart SSL Installation

CubeCart can be set to run in SSL mode. As SSL is very server intensive only parts of your store will run using it. These include payment pages, administration and registration etc. Log into the admin side of your store. e.g. http://www.example.com/store/admin Once in click the "General Settings" link under the Store Config Section and scroll down to the Directories & Folders section. Here you will be presented with some text boxes and a drop down menu to enable SSL mode. 1. Root SECURE Public HTML Folder to store: (Include Trailing Slash). This is the server folder path from the end of your secure domain name. e.g. Private SSL: /store/ 2. Absolute SECURE URL to store: (Excluding Trailing Slash) This is the full address you woudl type in the browser to access your store under SSL. e.g. Private SSL: https://www.example.com/store 3. Server SECURE Root Directory: (THIS IS NOT REQUIRED FROM 3.0.11 ON) This is the complete path on your server to your store. It may not be obvious if you do not have root access to the webserver (typical in shared hosting accounts). e.g. /path/to/public_html/store If you have no idea what this is we recommend downloading the file includes/global.inc.php from your server and entering the same value displayed in $glob['rootDir']. Double check all the values entered and once happy use the drop down menu to enable SSL. Then scroll to the bottom of the page and click the "Update Settings" button. If you have entered the information correctly you store should now be functioning with secure transactions. Sometimes users enter the information wrong or there is some other problem. If this is the case please have a look at the folowing article: http://www.cubecart.com/site/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=20&nav=0,2…