Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
ViArt User's Guide (Version 3.6)
Please, see the list of all new features and fixed bugs that were made to all ViArt PHP Shopping Cart releases from version 2.1.1 up to the latest 3.5 version.
5.2. New product mark
5.2. New product mark
Prev Index Next


In ViArt Shop the sorting of products within a category is usually defined by their value in Product Order field at Products > Top > Edit Product (see section 4.5.1). Also it is possible to automatically change products order with newest on top with the help of New Product Settings in Products > Products Settings > 'Appearance' tab.

New Product Settings

Enable New Product Mark - ticking this checkbox will add to all new products a special 'New' mark. Note, it will appear not only in products listing but also in all product blocks such as Special Offer, Top Sellers and others.

Sort Order - you can sort products by three parameters:

  • Product Issue Date - means products will be sorted according to the value set in Product Issue Date field in Products > Top > Edit Product (see section 4.5.1)
  • Date Added - means products will be sorted according to the date there were added to the system.
  • Date Modified - means products will be sorted by the date they were modified, that includes adding product to the system or updating it with any information.
NEW! should be shown on products that have been added in - with this setting you can identify which products should be considered new and accordingly have the 'New' mark. There are available four choices: last 7 days, last month, last X days (you can set any number of days), from date (select the date with the help of calendar option).


How to make the system to show the newest products in the end?

In order to change the default sort order of products in the shop, please open the 'block_products_list.php' file and replace the following code:

'$s->set_default_sorting(1, "asc");'
with this one:
'$s->set_default_sorting(1, "desc");'

I have set all the settings but don't see any 'New' mark...

To see the 'New Product' mark you should have the correspondent styles in your CSS stylesheet. You can see them if you open any default CSS file under ***** New Product's icon ***** title. You should also have correspondent icons (new_l.png and new_m.png) in your '/images/icons/' folder to display the mark itself.
Prev Index Next