'-------------------------------------------------------------------- ' EasyForYou - Eshop ' Copyright (c) 1996-2007 BARON sprl/bvba ' ' Eshop constants include file for VBScript ' Readed in ASP File = initvardb.asp ' ' Notes : ' Transport product reference = TRA ' Free transport possible with total amount in 'by quantity' from field 'TRA' ' Free products or gifts possible with this syntax in then additionnal field : ' /FREE:refproduct>=xx/ (in a order from a sum of xx or more you receive one free 'refproduct' when the customer confirm the order) ' Parameters in the link : &PROMO=N ' dont show the Special offers (promotions) '-------------------------------------------------------------------- ' Login bShowLogin = true ' Show the login fields bShowLoginToOrder = true ' Show the login fields only if order appends sLanguage = FR ' Default language if parameter LANG is not specified ' Positions nMenuWidth = 150 ' Width from the menu category nMenuLeftMargWidth = 10 ' Left Margin in the menu category nMenuRigthMargWidth = 28 ' Right Margin in the menu category nTopCenterMargWidth = 35 ' Adjust margin for the position of the top menu nTopHeight = 125 ' Total Heigth from the top nTopBannerHeight = 45 ' Vertical position of the banner ' Colors cBgTitreMenuCat = "D6DFE7" ' Background color from the category title menu cBgTitreHome = "B1C1CE" ' Background color from the product-page title menu cBgSubLines = "D6DFE7" ' Background color from line - Sale products by quantity ' Show menu bMenuConditions = true ' Menu Conditions bMenuHome = true ' Menu Home bMenuCaddie = true ' Menu Shopping Card (caddie) sMenuHome = "http://www.easyforyou.be" ' Url Menu Home (put here your own site URL) nOnlyOneBG = 0 ' -1 = System with one BG.GIF Picture else 0 = BG.GIF and BGBottom.GIF nTransport = 1 ' 0 = No transport. 1 = Show and activate then the shipment system. 2 = Start with Deliver option. 3 = Insert the transport but not show the transport options bEditCliAutorised = false ' true = Autorise the editing of the customer data by himself bMenuCatOrderByRef = false ' Menu category order by Ref Cat (if false the order is by Description) ' Show products nShowStock = 1 ' 0 = Show only Yes or No for the stock quantities, -1 = Show te stock quantities, 1 show a rounded value, 2 No stock colum nDontShowPrice = 0 ' 0 = Show the price level 1 without login, -1 = Dont show any prices without login nDontShowCaddie = 0 ' 0 = Show caddie without login, -1 = Dont show the caddie without login nPopupProductWidth = 550 ' Width in pixel for the popup image and description products nPopupProductHeight = 700 ' Height in pixel for the popup image and description products nThumbsSystem = 3 ' 0=The customer can choise thums or list, 1=Only List, 2=Only thumbs, 3=Start eshop with thumbs and allow to select List. nVatInclude = 0 ' If >0 then Show the prices VAT Include nTotVatInclude = 0 ' If >0 then Show the total prices + vat and VAT Include (dont use nTotVatInclude = 1 AND nVatInclude = 1 together) nOrderByColumn = 1 ' 1= Show products by references 2 By Description 3 By price nShowDecreasingPrices = 4 ' 0= Dont show, 1 Show level1; 2 = Show level2...max 4 nShowDecInLine = 1 ' 1= show Decreasing prices on the same Line nSpecialTaxInclude = 1 ' 1= Include the differents taxes (reprobel, ect) in the prices. nLevelPromo = 2 ' Price level for the special offers. bCalcFreeProd = false ' Calculate if a free product is given to the customer (syntax in the COM1, free fiel from the product management->/FREE:refproduct>=xx/ bNotShowProdCat = true ' Do not show Products categories with a special customer categories if the user is not logged. nThumbsColon = 2 ' Number of columns you want to show your thums (details) nPageSize = 20 ' Number of products showed in a page (if this number is too big the server is slower) nShowPageSize = 1 ' 0 = Dont show next page buttons, 1 = Show next page buttons on bottom, 2 = Show next page buttons on top, 3 = Show buttons on top and bottom bNoDecPriceForEU = false ' True = Dont show decreasing prices for en-users customers (if Price level=1) bSizeAndColors = false ' True = Work with the size and color order system bDontShowStockZero = false ' True = Dont show the products if the stock is zero or negative bShowLength = false ' true = Show the length from the product record if not zero bShowWidth = false ' true = Show the Width from the product record if not zero bShowHeight = false ' true = Show the Height from the product record if not zero bShowWeight = false ' true = Show the Weight from the product record if not zero sShowVar1 = "" ' Not empty = Show = "Color" for the Var1 from the product record (additional field) if present (/color:red/) bSearchInAddField = true ' true = The Search field from the eshop search also in the additional field ' Show caddie nShowDiscount = -1 ' -1 = Show discount if not zero bValidate = false ' Button validate in caddie bPayByBank = true ' Button pay by bank in caddie bPayByCard = true ' Button pay by credit card in caddie (You can work with a product reference PCC in EasyForYou to setup the Payment by CC COST) bPayByCheck = true ' Button pay by Check in caddie sCheckOkCountries = "FR BE NL" ' Autorised country codes (COU001) sebarated by coma where the "Pay by Check" Payment must be allowed (if Empty , all countries are allowed) bPayByCOD = false ' Button pay by COD (Before, add a product in EasyForYou with reference or CODE = COD) nGetRemark = 5 ' if >0 then at validation of the order, show a field to input a text with nGetRemark lines bGeneralDiscount = false ' true = Activate the general discount system with increasing discount regarding the total amount from the order (check setup e-commerce C.12) ' E-mail bSendConfirmToCustomer = false ' true = Send a order confirmation to the customer bSendConfirmToMe = false ' true = Send a order confirmation to you (sSender) sSender = "td@baron.be" ' Email to receive your order confirmation (and login for paypal system) sServer = "relay.skynet.be" ' Your local SMTP adress (if empty take localhost) ' Miscelanious sSharedHosting = "" ' "BC1" if this parameter (Ledger) is present (NOT empty), the ASP files are on a shared hosting (you have not your own server) sTypePayment = "PAYPAL" ' Choice your securised credit card payment system PAYPAL (login=sServer) or OGONE sPecificPath = "" ' Specific path for the databases for shared hosting