BilTAY Teknoloji SCIENTA Shopping Cart System
E-Commerce Shopping Cart
Overview:
The BilTAY Teknoloji SCIENTA System comes with a complete asp dot net based shopping cart, which includes the ability for customers to log-on, place orders, view order history, review and re-print old invoices, maintain their customer information and enter and change their ship-to addresses. The shopping cart supports multiple payment methods and is very user friendly. The shopping cart posts all orders and customer information directly into the Enterprise system.
The BilTAY Teknoloji SCIENTA Shopping cart is administered directly from the main system, all of the Inventory Items, Item Categories, Families when entered and changed in the BilTAY Teknoloji SCIENTA system have those changes appear automatically in the Shopping Cart. Orders that come in through the shopping cart appear in the BilTAY Teknoloji SCIENTA Orders screen just like a manually typed in order, and the orders can be processed using the same procedures as for your regular orders.
The shopping cart is automatically and dynamically created from the information that you enter into the Item Families, Item Categories, and Items tables. Item Families and Item Categories are used to allow large numbers of inventory items to be easily organized. Please give careful thought to the Item Families and Item Category set-up in the system.
You can get a good feel for how the Families and Categories work by reviewing the sample shopping cart data and how it is organized.
After you become familiar with the system, you would probably like to change the visual interface of the integrated Shopping Cart. In order to do this, you have to know the links needed by the shopping cart and how they work.
Read this section carefully as it contains information about the various categories of links the shopping cart uses:
The Families, Categories, and Item Links:
The shopping cart system starts on the main.aspx page, which displays the Item Families in the system. When a family is selected by the user here, all of the inventory categories belonging to that family are then displayed by the cartcategories.aspx page. Selecting a category will display a list of the items in that category using the cartitemlist.aspx page. Once a single item is selected, it is displayed using the cartitem.aspx page. The cartitem.aspx page will allow you to add an item to the shopping cart.
The cartitem.aspx page can be called directly and accepts FamilyID, CategoryID, and ItemID as parameters. Using this method of adding items to the cart is very useful if you don't want to use Integral Accounting Internet's automatically generated e-commerce site but still want the shopping cart and order checkout functionality.
Search
Item information can also be found through the use of the search screen which allows customers to do advanced searches for the items they are looking for.
View Cart / Checkout:
After the customer selects an item to be added to the cart, they are taken to the view cart screen where a summary of their order is displayed. The customer can then either go back and select more items to add to the cart or they can proceed to the checkout page and complete their order.
During checkout, the customer has the option of selecting one of their predefined ship-to's, or adding another ship-to, and selecting payment information.
Important Note: As with any other shopping carts, the customer ordering your products must have an account at your company. If he does not already have an account, the shopping cart supports the automatic creation of customer accounts on the fly, and this information is automatically posted to the accounting systems customer table.
View Order Status / Order History:
The customer has the ability, after signing into the system, to look at their order status which shows all open and shipped orders with tracking numbers so they can track any shipment. This screen also displays their closed invoices so they can see a complete history of their transactions and they can re-print an invoice if they need to.
Customer Account Maintenance:
A customer has the ability to maintain all of their own customer information within the system. They can add ship-tos, change their email address, customer login / password and other customer information.
E-Commerce Shopping Cart Integration & Detail Information
Integration Information
The Integral Accounting Shopping Cart is completely integrated into the BilTAY Teknoloji SCIENTA accounting system. This means that customers that come into the shopping cart to set up accounts go into the regular customers table, orders go into the regular orders table, etc.
There is no separate administration screen for the shopping cart, since all of the shopping cart information comes from the regular accounting system, like the item lists, prices, and such.
Adding Referrals Support to the Shopping Cart
To add referral support to your site for tracking salesman commission, please follow this simple example:
If for example your shopping cart is located at:
www.yousite.com/EnterpriseCart/cartfamilies.asp
Attach to this link with the following parameter:
EmployeeID=SALESMANID, where SALESMANID is the ID of the salesman as it is defined in the Employees screen in the accounting system.
Examples:
www.yousite.com/EnterpriseCart/cartfamilies.asp?EmployeeID=ALPER
www.yousite.com/EnterpriseCart/cartfamilies.asp?EmployeeID=BURAK
Once the users order your products, the salesman will get a sales commission for every sale as it is defined in the Employees screen.
Running the Shopping Cart for Multiple Companies
If your BilTAY Teknoloji SCIENTA package is set-up for multiple companies, you can access the shopping cart for any of them dynamically with no changes required to the software or the shopping cart.
Going to the www.yoursite.com/EnterpriseCart/ without any parameters brings up the Shopping Cart for the default company.
If you wanted to access the shopping cart for any of the other companies set-up in the system, set the CompanyID parameter on the URL like equal to the Company's ID in the system as follows:
www.yoursite.com/EnterpriseCart/index.aspx?CompanyID=BilTAY
will bring up the shopping cart for the DINOS company defined in the Enterprise system.
Real Time Shipping Rates
Real-Time Shipping Rates
Overview:
The BilTAY Teknoloji SCIENTA system comes with a component user both by the main program and by the shopping cart to retrieve shipping rates from UPS or FedEx in real-time across the Internet. You need an active Internet connection for this feature to function, and of course the Dot Net Framework.
This component is written as an ASP Dot Net control in the /EnterpriseCart directory. These controls are called shippingrate.ascx for UPS rates and fedex.ascx for FedEx rates.
ASCX Component Installation
The ASCX components are part of the shopping cart and do not require any additional installation for their use.
Component Information
The controls contain two class modules; Cost and CostFedEx
Each of these class modules have one public method named Calculate.
Public Function Calculate(ByVal sType As String, ByVal sZipFrom As String, ByVal sZipTo As String, ByVal iWeight As Double, ByVal fOrderTotal As Double, ByVal ChargeHandling As Boolean, ByVal Percent As Boolean, ByVal Amount As Double, ByVal cart As Integer) As String
The parameters of this function have the following meanings:
SType - The name of the UPS or FedEx service (e.g. UPS Ground, FedEx Standard and so on).
SZipFrom - The origin zip. This is the zip code of the company.
SZipTo - The destination zip. It comes from the customers Ship To information.
Iweight - The weight of the package (is the sum of each item weight from the order)
FOrderTotal - The amount being taxed for handling
ChargeHandling - Boolean value. If true, an extra amount will be added to the shipping charge. Percent - If true, the handling charge will be a percent of the order total. If false, it will be a fixed amount to be added to the total.
Amount - Represents the handling percent or the handling amount to add.
Cart - If the function is called from the shopping cart, the value is 1, otherwise is 0.
The component uses a lookup table to identify the ups service as required by the UPS CGI program.
Please make sure you review the source code before using this module, it will greatly aid in the understanding of what the control is trying to accomplish.
The information to be passed to the UPS site is in the following form:
http://www.ups.com/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes&10 _action=3&13_product=" & Code$ & &14_origCountry=TR&15_origPostal=" & sZipFrom & "&19 _destPostal=" & sZipTo & "&22_destCountry=TR&23_weight=" & iWeight & "&49_residential=1
The information to be passed to the FedEx site is in the following form:
http://jcapps.dmz.fedex.com/servlet/RateFinderServlet?orig_country=TURKEY&language= Turkish&jsp_name=index&portal=xx&account=&heavy_weight=NO&packet_zip=&hold_ packaging=&orig_zip==" & sZipFrom & "&dest_country=TURKEY&dest_zip==" & sZipTo & "&company_type= " & Code$ & &packaging=1&weight=" & iWeight & "&weight_units=lbs&dropoff_type=4&submit _button=Get%20Rate
The UPS or FedEx response is read using the InternetReadFile function, and it represents a string to be parsed by the component. The array of values returned are separated by the | character, and the UPS price is the 10th element in this array.
We are constructing the returning string as follows:
ServiceName|ServicePrice|Handling|TotalPrice
Where the ServiceName is the complete name, ServicePrice is the shipping charge, Handling is the amount to be charged for handling and TotalPrice represents the orders total plus shipping and handling. |