AShop V User's Guide Page 16

  • Download
  • Add to my manuals
  • Print
  • Page
    / 27
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 15
AShop V Design Guide16
AShop Software © Copyright 2011
<!-- /AShoptoplist -->
Show just the latest additions...
<!-- AShoplatest -->
<!-- /AShoplatest -->
Number of Products Shown
If not otherwise specified, the top.js.php script will display the last 10 new products and latest additions.
To display a lower number of products, add the parameter "items=x" where x is the number of products
to display.
This include will display the 5 most popular and latest additions:
<script language="JavaScript" src="top.js.php?items=5"></script>
Redirect To A Different Product Page
In shops where only custom catalog pages are used and a direct link to the default storefront script is
not desired, the top.js.php product links can be redirected to the custom catalog pages by adding a
"redirect=x" parameter, where x is the local file name or URL.
This include will display the 10 most popular and latest additions in a custom product page named
"product.html".
<script language="JavaScript" src="top.js.php?redirect=product.html"></script>
The Layout Parameter
By setting the layout parameter you can control which lists are shown. These are the possible values of
the parameter:
· layout = 0 : show top sellers and latest additions below top sellers (the default mode)
· layout = 1 : show only top sellers
· layout = 2 : show only latest additions
· layout = 3 : show latest additions as boxes, this mode is currently only supported by the Javascript
version
This example will show only the latest additions and will limit the list to 4 items:
<script language="JavaScript" src="top.js.php?layout=2&items=4"></script>
Colors, and Fonts
The table borders, background colors, and fonts can be controlled through the Layout menu and with
style sheets (CSS).
Page view 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 26 27

Comments to this Manuals

No comments