Resources /
Websites / Customising CoreCommerce
Menu
Important menu items on the top right:
- Create tickets: Accont - Create Ticket
- View tickets: Account - Support - All
- FTP details: Account - FTP
- Template + customising: Design - Store Design
Important main menu items:
- Widgets settings: Site Content - Manage Widget Pages
- Widget code to be used in custom pages: Site Content - Manage Widget Pages - Widget List
Important ticket:
- Ask them to change the default currency to AUD
Custom Page
If you'd like to create a custom page (eg. a home page), create an index.php like this.
<?php
require_once('/var/www/corecommerce/conf/paths.inc.php');
$lang = $language->getSelectedInstance();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Widgets</title>
<link rel="stylesheet" type="text/css" href="<?php echo $config->getValue('merchantURL') ?>/00017-7/design/css/main.css" media="screen" />
</head>
<body>
<?php include('templates/cart.featured.tem.php'); ?>
<?php include('templates/cart.specials.tem.php'); ?>
<?php include('templates/cart.top.sellers.tem.php'); ?>
</body>
</html>
The sample above include the mandatory 2 lines at the top, how to get merchantUrl (aka ApplicationPath), and how to include widgets. You can then add in your own HTML. Note that the widget prints out script as well as HTML. You will see it.
Files on FTP
The files you need to modify will mostly be in [template_id] folder, eg. [00017-7]
The most common files to modify:
[template_id]/design/css/main.css
[template_id]/templates/header.tem.php
[template_id]/templates/footer.tem.php
You may want to include some jQuery in header.tem.php to move elements around to assist you in customising the website. But keep that to a minimum (try to do as much as possible in css).
You may also delete (carefully) css styles that are not relevant to you, it may even help you as the css is too much and they might cancel out your modifications.
SSL
Using their Shared SSL
On the checkout page (and some other pages with https), your header.tem.php will be ineffective.
You have to modify secure.header.tem.php, make it look like your header.tem.php, but keep in mind:
- 'merchantURL' is changed to 'secureURL'
- 'premium/' in paths, eg.
'/yart.js' becomes '/premium/yart.js' - http becomes https
Same thing for the footer.
Dedicated SSL
CoreCommerce has a special deal with GoDaddy, whose price is $14.99, and CoreCommerce installation fee is $65. You can start the installation process by going to Account > Services > Secure Certificate.
Importing Products
You can import a CSV file via Inventory - Import Products - Import Products.
You need to upload one big image for each product to [FTP]/_import/_images/. Thumbnails will be created automatically.
You need to specify the filename of each product in the CSV file.
Here is a sample CSV file.
Back to top