Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Frequently Asked Questions (FAQ)

Slider effect scroll is too fast

Open the file "js/slider.js" and use the following lines to change speed:

var speed = 20;
var defaultSpeed = 1;
var slideShowSpeed = 2000;
var sliderSpeed = new Array(); //Specify slider scroll speed (larger is faster 1-10)
var sliderOptions = new Array();

read more...read more...

Blocks disappeared in CMS after upgrade

This can happen when you have different versions of the encoded files:

includes/record.php
includes/templates.php
includes/va_functions.php
admin/admin_cms_page_layout.php

Please make sure they are from the same version build.

read more...read more...

Parameters for custom blocks

In any Custom Block settings in CMS there is present a field 'Parameters', the variables that can be used there are:

item_id - for products, articles and ads ids
category_id - for any kind of category ids
manf - for manufacturer ids
search_string - when user is doing some search
article_id - to show block only for some articles

example:
You can create different Custom Blocks first, then go to CMS > Pages Layouts and add the blocks to the pages where you want to show them and when you click on block's settings specify in the pop-up window the following string in the 'Parameters' filed:
category_id=13,48
13 and 48 are the categories where the block will be shown. read more...read more...

Add a new colour scheme

To add a new scheme called for example 'orange' in the 'Default' layout, you need to create a default_orange.css and put it in the /styles folder and then create a directory called 'orange' in the /images/default folder. Afterwords system will automatically pick up a new colour scheme for 'Default' design. read more...read more...

How to make a fixed width of design

In case you don't want your design to stretch according to monitor size but rather leave some empty space from left and right sides, you need to open your CCS file where find such line:

.frameBlocks {margin: auto; padding: 0 20px 20px 20px; text-align: left;}

and change it for example like this:
.frameBlocks {margin: auto; padding: 0; text-align: left; width: 999px;}
read more...read more...

How to center the logo and move it above menu

You need to open your CSS file and find there such line:

.HeaderLogo {float: left;}

And change it to this one:

.HeaderLogo {text-align: center;}

Then save the changes. read more...read more...

How to make a Personal system work with call centre orders without requesting credit card details

1. Create an empty file (you can use Notepad for this) and save it like: money_order.php.
2. Put this file to the 'payments' folder of your shop.
3. Go to Administration > Orders > Payment System, select Personal Payment system and click the 'Edit System' link.
4. Specify 'order_confirmation.php' in the Payment URL.
5. Go to the Advanced Parameters Section, tick off 'Is Advanced' option and specify 'payments/money_order.php' in both 'Advanced Library' and 'Advanced URL' fields.
6. Scroll the page up and tick off 'Use for Call Center' option.
7. Save the changes by pressing the 'Update' button.
8. Now go to Call Centre Orders and create a test order. read more...read more...

How I can make a customer be redirected to the start page after login instead of the my account page?

Please, open your user_login.php file and replace the following strings:

if (!strlen($return_page)) {
$return_page = $user_home_url;
}

with

}
if (!strlen($return_page)) {
$return_page ="index.php"; read more...read more...

How to add robots.txt for site maps

robots.txt should have the following lines:

User-agent: *
Disallow:
Sitemap: http://YOUR_SITE/sitemap_index.xml
where YOUR_SITE is your Site URL

read more...read more...

How to move from the Free version to the commercial one?

In order to move from ViArt Free Version to the commercial one, you need to choose and purchase the license that best suits your needs. We shall send you a unique license number that you are to activate and put the 'license.php' file in the 'includes' folder of your shop. The purchase of the license will not require re-installing your database or shop.

In case you need to upgrade your license to a higher version later, you will only have to pay the difference in price between the Editions. read more...read more...

Images allowed for uploading to PDF invoices

At present, the PHP-based PDF generation facility in ViArt Shop supports only JPEG images. PDF lib based generation can use JPEG, GIF and PNG images, but will require an installation of a separate PDF library. So, we would recommend to use JPEG images for PDF invoices. read more...read more...

Can I use ViArt Shop on Mac computer

Yes, you can use any of ViArt products on Mac computers.

read more...read more...

Difference between reseller program and multiple site license

A reseller program and multiple license program are different things. The main difference is that Multiple site license consists of one serial number while resellers receive as many serial numbers as many copies of the product they purchase. In other words, mutiple site license is usually purchased by companies who own several websites and this license is not for reselling. If you join our reseller program you can buy either one licensed version or multiple licensed version and you are allowed to resell the license(s). read more...read more...

Add VAT validation field

To add VAT validation, please implement the following steps:

  • 1. Add a field (e.g. "VAT Number") at:
    Settings > Orders > Order Profile Page > Custom Order Fields > Add New
    where set "Field Type" to "Shopping Cart" and "Field Control" to "TextBox". Also specify "Show Field: For All Orders".

    Note: to enable automatic checking of the VAT number and tax recalculation as soon as the VAT number is entered, you can add the following line in the Custom Order Field properties in "JavaScript Settings" "OnChange Event" field:

    document.order_info.operation.value='refresh';document.order_info.submit();


  • 2. Next open your 'var_definition.php' file from the 'includes' folder and uncomment the following string (it will enable the VAT number validation on the remote server):

    //$vat_validation = true;

    like:

    $vat_validation = true;

    To specify countries from which users are obligated to pay VAT regardless whether they specify a VAT number or not uncomment the string:

    $vat_obligatory_countries = array("GB");

    And specify in brackets the country codes with a comma: "GB","FR","LT", etc.

    If you don't want to use a third party server validation uncomment the string:

    $vat_remote_exception_countries = array("NL");

    Then VAT number will be validated for specified countries only with the local regular expressions.

read more...read more...

What are ViArt Shop features, what is the difference between versions?

ViArt Software is distributed in four different packages:

Light version costs $149 (life time). Does not have Articles, Helpdesk, Forum and Manual modules.
Standard version costs $249 (life time). Does not have Helpdesk, Forum, and Manual modules.
Enterprise version costs $349 (life time). Includes all modules and features.
Standalone CMS costs $149 (life time). Does not have shop features.


We do offer a free version as well which is identical to commercial Enterprise version except a free evaluation note and the limitations on the amount of products, categories, articles, tickets.

Check our versions comparison table. read more...read more...

Why ViArt Shop?

ViArt Shop has two main advantages: first it includes everything you need to build a serious shopping portal, second it's flexible and highly customizable. It means that you take ready-to-use solution and simply 'fit' it to meet your needs. And it also means that you don't need to do ANY programming at all - ViArt Shop allows changing everything via powerful web-interface. You can get more information on ViArt Shop features here. read more...read more...

What is ViArt Shop?

ViArt Shop is an e-commerce package available to install in PHP. It supports MySQL and PostgreSQL databases as well as ODBC connected databases. The goal of ViArt Shop is to create a system capable of performing all of the functions needed to do business online. read more...read more...

How and when updates are released?

New version is released every 4-8 months (depending on complexity of changes).

Sign up for our Newsletter to receive email notifications about new releases. See also "Releases" section of Members Area at www.viart.com read more...read more...

How to report bugs or problems?

You should submit a ticket via Support page at http://www.viart.com/support

Before clicking Send please remember to specify the following information:
1. Site URL of the shop where you got the error;
2. Description of your actions to reproduce the problem;
3. FTP access to the site;
4. Login and password to the Admin area of the site.
read more...read more...

How to place my text to some pages?

You could place any HTML text to the Home, Products Listing or other pages by specifying the content in any custom block available in CMS > Custom Blocks section and then adding the block via CMS > Pages Layouts.

Note, if you need to show custom block only for certain categories, manufactures, products etc. there is a number of Parameters you can use in custom block settings (CMS > Pages Layouts > click on 'tools' image of the block):

item_id - for products, articles and ads
category_id - for any kind of categories
manf - for manufacturers
search_string - when a user is doing some search
article_id - to show block only for some articles

For example:
category_id=0,13,48

0 (top category), 13 and 48 are the categories where the block will be shown. read more...read more...

How to get rid of the link: Free Ecommerce Shopping Cart Software by ViArt?

In order to get rid of the of the link 'Free Ecommerce Shopping Cart Software by ViArt' you have to buy a license (Light, Standard or Enterprise) and activate it at https://www.viart.com/activation.

Note, the purchase of the license will not require the re-installation of your database or shop. You just have to choose and buy the license that mostly suits your needs. We will send you the unique license number that you are to activate and put the license.php file in the 'includes' folder of your shop. And that's all.

If you decide to upgrade your license to a higher edition later, you will have to order upgrade version product via this page http://www.viart.com/upgrade_version.html and then regenerate the license file and replace it 'includes' folder. read more...read more...

How to remove the link 'Powered by ViArt'?

In order to remove the link 'Powered by ViArt', you are to delete the appropriate link from 'footer.html' file in the .templates/user folder:
<div class="footerImg"><a title="ViArt - PHP Shopping Cart" href="http://www.viart.com"><img alt="ViArt - PHP Shopping Cart" src="images/tr.gif"></a></div>
</div>
</center>
Save the file and the link 'powered by viart' will be removed from your site. read more...read more...

How to update to the latest ViArt Shop version?

To update your shop to the latest version please do the below steps:
  • make a backup of all files in your current version
  • make a dump of your current database
  • download a new version from http://www.viart.com/php_shopping_cart_free_evaluation_download.html
  • unzip the archive with the new version and replace your old files with the new ones (except the ones you've modified, e.g. templates, styles, images)
  • copy the var_definition file from your backup 'includes' folder and paste it in the 'includes' folder of your new version
  • go to your Administration panel (Tools> System Upgrade) and click the Upgrade Database button
  • your shop is now updated to the latest version.

You can find more information in our online manual: http://www.viart.com/upgrade_step_by_step.html read more...read more...

How to replace a ViArt logo with your own logo?

The procedure of replacing ViArt Logo:
1. Go to Settings > System > System Settings, click 'Upload' or 'Select Image' link and select the image with your logo.
2. Save the changes and your image will be added to your site.
read more...read more...

What are friendly URLs?

Friendly URL is our new feature which allows you creating search engine friendly URLs. You can create them manually or let the system do this for you. First of all please go to Settings > System > Global Settings > Friendly URLs Settings, turn on the feature (Activate Friendly URLs), select how you want these URLs to be generated (Auto-generate Friendly URLs) and extensions ( Friendly Extension). These are general settings for friendly URLs. However, note that you have to set up your apache as well. Please create a .htaccess file in your root folder and write the following string into it

ErrorDocument 404 /friendly_url.php

After that please restart the apache. Your friendly URL option should be active now. You can set up friendly URLs for individual products at Administration > Shopping Cart > Products and Categories > product details > Friendly URL.

To configure fURLs on your IIS, you are to do the following:

1) Open IIS Manage.
2) Right Click on the web site node and choose properties.
3) Click on the Custom Errors Tab.
4) Scroll down until you see the HTTP Error -- 404.
5) Double click on 404 to open the "Error Mapping Properties" dialog.
6) Change the Message Type to URL.
7) For the URL enter in /friendly_url.php
8) Click OK and Then OK again

read more...read more...

What languages does ViArt Shop support?

At present ViArt Shop supports 33 languages, including French, Spanish, German, Italian, Turkish, Arabic, Greek, Russian, Swedish and many more.

All messages are located in the 'messages' folder. For example for the English language they are located in the 'messages/en/' folder.

To add a new language you need to copy all message files into a new folder e.g. 'messages/da/' for Danish, and then add that language option to the static table 'languages' in the admin section.

We offer 30% discount for anyone who is willing to translate ViArt into another language for us.
Once you contact our support team we will send you all of the messages in an excel spreadsheet and after translation we'll make sure to add the language files to future releases of Viart Shop.

The messages are texts for labels and prompts which are used throughout the site. The messages do not of course include product descriptions, these must be entered manually in the language of choice. read more...read more...

Do you have a reseller program?

Yes, we do. To join our reseller program first you need to let us know how many copies of ViArt Shop you wish to purchase to start with. Then we will issue the necessary discount coupon.

The more versions you buy, the more discount you get. Please note this discount accumulates (if you buy 2 now and 2 more copies in 3 month time, it is counted as 4 versions); you do not need to buy all versions at once to get the discount.

Discount is as follows:
1-4 versions 20%
5-9 versions 30%
10 and more 40% read more...read more...

How to change language of the whole ViArt Shop?

The language in which the whole ViArt Shop operates is selected during the installation procedure. However, if you want to change it on a later notice, you have to edit 'var_definistion.php' file which is stored in the 'includes' folder of ViArt Shop.

Locate the following string and change 'en' to an appropriate language code.

$default_language = "en";

Note: Correct language codes are stored at Settings > Static Tables > Languages > Language Settings. read more...read more...

How to move an existing ViArt Shop from one host to another?

Should you decide to move your existing shop from one domain to another, please do the below steps:

1. Make a backup of all files
2. Create a full SQL dump of the entire ViArt shop database
3. Edit includes/var_definition.php file and check the following parameters:
>$db_name
>$db_host
>$db_port
>$db_user
>$db_password

Further, go to ViArt Admin -> System > Global Settings and change the Site URL field.

Please, do not forget to contact our support team to activate the new domain name - and re-generate a new license file. read more...read more...

Why product is not displayed on my website?

Please check the following settings:

1. Dashboard > Products > Products & Categories > Edit Product link:
- "Make this Product available for sales" checkbox is selected.
- Product is "Approved"
- in Stock & Shipping tab "Hide off Limits Products" is unchecked or "Qty in Stock" value is greater than 0
- Access Levels tab has all necessary permissions
- in Sites tab (if you use multi-sites) "Use this item for all sites" is checked.

2. Dashboard > Products > Products & Categories > Edit Category link:
- "Show on Site" is checked
- "Access Levels" are set

3. Dashboard > Products > Products & Categories > "Categories" link under the product name:
- check if product is assigned to correct category
read more...read more...

How to set the default language

To change the default language into your own one, please open your var_definition.php. file, find the string: $default_language = "en" and change it from "en" to "tr", for example. Save the changes and access your site. Your default language will be the one you specified in var_definition.php. read more...read more...

How to activate Friendly URLs

Friendly URL is a feature which allows you creating search engine friendly URLs. You can create them manually or let the system do this for you. First of all please go to Settings > System > Global Settings > Friendly URLs Settings, turn on the feature (Activate Friendly URLs), select how you want these URLs to be generated (Auto-generate Friendly URLs) and extensions (Friendly Extension). These are general settings for friendly URLs. However, note that you have to set up your apache as well. For this create a file called ".htaccess" and put it in your root folder (or the folder where all your ViArt files are located, it could be 'shop' or 'store' for example) and insert the following code in this file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /friendly_url.php [L]
</IfModule>

In case this Rewrite Rule does not work, then alternatively we would recommend you to insert the following string in .htaccess file:

ErrorDocument 404 /friendly_url.php

Remember if ViArt Shop is running from some subfolder, e.g. http://www.web-site.com/shop/ then the path to friendly_url.php script should contain "/shop" subfolder too, like:

RewriteRule . /shop/friendly_url.php [L]
or
ErrorDocument 404 /shop/friendly_url.php

After that please restart the apache. Your friendly URL option should be active now. You can set up friendly URLs for individual products at Administration > Products > Products&Categories > your product > 'Edit' link > 'Friendly URL' field. read more...read more...

Add blocks to custom pages

Custom pages are created in CMS > Custom Pages. By default all custom pages use the blocks specified in CMS > Pages Layouts > Custom Pages. You can change that by clicking on CMS > Custom Pages > "Custom Layout" > Layout Type: Custom Page Layout".

read more...read more...

Is ViArt software Open Source ?

ViArt Shop contains 97% of open source code, the remaining encoded 3% is mostly within libraries in the ./includes folder. Here is the full list of encoded files:

date_functions.php
editgrid.php
navigator.php
record.php
sorter.php
support_parser.php
template.php
tree.php
url.php
va_functions.php
admin/admin_cms_page_layout.php

Within the 97% of open code it is possible to fully customize ViArt to your individual needs.

ViArt Shop represents the culmination of thousands of man hours of work and we encode certain parts of it to protect this work which represents substantial investment on our part. By charging a fee for our work and protecting our intellectual property we are able to reinvest in the product to the advantage of all our users.
read more...read more...

Change background in custom block

You can change the background of custom block by performing the following steps:

1. Create a new style in your active CSS file, for example like this:

.newStyleName .MiddleCenter {background-image: url(...)}

2. Add custom block to some page in CMS then click on its settings and specify in the field "Block CSS Class:" - "newStyleName". read more...read more...

Where to specify Meta Data for Home, Site Map and other pages?

The Meta Data is now located in CMS next to "Layout" selection, please look at this image for example:
http://www.viart.com/img/v4_meta.jpg read more...read more...

Add blocks into header

Below is a simple example to understand how the system works.

Let's add a user login block to the header.

1) First of all, we will need a simplified version of the block template without all styles parameters. By default there is such file example - templates/user/block_login_simple.html
(Using this example you may strip of unnecessary elements every template but please make sure to save it under a different name e.g. block_language_header.html)

2) Then open header.html file where specify a tag for this new block e.g. {login_simple}.

3) Go to CMS > Pages Layouts > Home Page Layout where add a "Global > User Login" block into the Header frame. This block should be above the block you need to build it in, in this case it would be "Global > Header" block:
Global > User Login
Global > Header

4) Click on the Tools icon of "Global > User Login" block where specify:
Tag Name: login_simple
HTML Template: block_login_simple.html

Click Update and then Save. The same procedure should be done for all pages where you would like to show this block. Please read more info here http://www.viart.com/build_in_blocks.html read more...read more...

How to add some code on all pages before head tag?

This code should be put in your layout template, for example if you use a Two Columns Layout, put it in the 'layout_two_columns.html' file.
read more...read more...