1. Home
  2. Docs
  3. ShopClass Docs
  4. Getting Started
  5. General Configuration

General Configuration

Here we are discuss few general settings you need to enable/configure in Shopclass theme and in Osclass.

Enable Pretty Permalink

Although our theme will work without being it enabled, but we still recommend it because all features of shopclass are tested with pretty permalink enabled.

By default, Osclass uses web URLs which have question marks and lots of numbers in them. To improve your website aesthetics, usability, etc. They offer you a possibility to have friendly URLs. You can enable friendly urls by going to your Dashboard → Settings → Permalinks → Enable friendly urls.

Now for Apache you need to put this code at the end of your .htaccess file in root osclass installation directory.

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

For nginx you need to setup your location block something like this:

# pass requests for dynamic content to site
location / {
    try_files $uri $uri/ /index.php?$args;

Get Google Map API key:

To enable Google Map feature to work properly you need to have a Google Map api key and you can get one freely at this page: Google API Key

Now copy you api key from above given page and head over to Shopclass Settings =>Theme Settings  and check General Settings Section for this setting:

Put your API key and save settings.

Shopclass Home Page Widget Box Settings:

To configure Home Page Widget Box head over to Shopclass Settings=>Homepage Widget. Their are three widget box as you can see in above screenshot and all three can be configured in same way.

On Homepage Widget Setting page you will  see three options, first for Icon Class, second is Title and third is Message.

In Icon Class field enter icon-class from  Font Awesome Icons i.e. fa-paper-plane, fa-circle.

In Title field enter Title for your widget-box and in Message field enter your text message you want to show at home-page.

Save settings and that’s it.

Add your Address in footer section and at contact page:

EDIT:From Version 1.3.0 you can change it in theme settings page. Look for your address field.

To add your own address you need to edit address.php file which you can find in Shopclass root directory. You can use your own text-editor or inbuilt Osclass editor feature we have included in our theme. Here we use Osclass Editor as an example.

Now goto Shopclass Settings=>Osclass Editor it will show you screen like this:

Now In Select File to edit choose address.php file. You will now see screen like below with address.php content

Edit Details you want to change and click on Save Changes

The same can be done with footer.php file to change Email Us field

Although their are many things you can change in our theme but we thinks this is all you need to quick configure Shopclass theme.

Was this article helpful to you? Yes 2 No 1

How can we help?