Shopping Basket Style Thing
Further to a question I posted a few weeks back - i'm devloping a site for our company where visitors can vist product sections, and pick catalogues they want - currently they can only go to one section, pick catalogues, order them, then move onto another section - problem is this. The powers that be want a more 'shopping basket' style - where customers can browse all the sections and pick as they go - and order them all together. In a 'shopping basket' styleee - so does anyone know of any good shopping basket style tutorials?
View Replies
ADVERTISEMENT
I'm basically loading the page, checking to see if there's an "addToBasket"
value in the querystring, if there is then I grab the product code (also in
the querystring) - now - here's where it seems to be going wrong...
I figured to keep a multitude of product codes in the session variable I'll
need to store an array...so, I first check to see if the
session("BasketItems") is "" / nothing - if so, I dim in an array, if not
then I set a variable to equal the session("BasketItems")...
I then get the UBound of the array, add 1 to it, and do a ReDim Preserve,
and add the product code from the querstring to the array at that
position...
View Replies
View Related
I've got a shopping basket that allows a user to enter a quantity into an input field then hit an "Update Quantity" button that calls a function that refreshes the page with the new quantity. Is there a way to have the update function called when the user enters the number in the input field WITHOUT having to hit the "Update Quantity" button? I'm thinking it's a onfocus issue.
View Replies
View Related
I am reaching the point in the implementation of my first shopping cart where I need to place all the customer’s products within their shopping basket into an orders table.
I am sure many of you have performed this task before so I wondered if you wouldn’t mind pointing me in the right direction. I am not really sure exactly what is usually stored within the orders table in most shopping carts. My shopping cart contents is stored in a session array like this Code:
View Replies
View Related
OK - I have a shopping basket with data in a database. Once the person
has successfully completed their order I want to be able to send them
an email with the products ordered roughly in the following format:
Product Price Quantity
prod1 £6.99 1
prod2 £5.99 2
Postage £0.50
Total whatever..I'm
lazy
Formatting would be a little different (just spacing out the prod
table a little more.
Any ideas or links to scripts that do this?. I've been looking for a
while now but have had no luck in finding a solution. I just want to
send a text email (and not html).
The other thing is that on the last page but one, this shopping basket
is displayed. Is there anyway I could capture the html data from that
page, store it in a session variable and then generate the email after
the order has been completed (so sort of like sending a mirror of that
page)? In that case having a HTML formatted email would be ok.
View Replies
View Related
can someone tell me whats wrong with this code.i applying the style in right way
Code:
<tr style="background-color: #386cae; color: #000000; a:link {color: #000000; font-weight: bold;}
a:visited {color: #ded9dd;} a:hover {color: #000000; font-weight: bold; decoration: underline;}">
View Replies
View Related
I am trying to get a message displayed when I insert data, but it's not working...I can't spot any missing thing from this code. is there any body who can tell me why, I am sure something is missing. Code:
View Replies
View Related
I have a page that is populated from a db. It consists of lots of drop downs (dynamic - could be 20 or 32 or...) with the option value set as a number.
Basically they represent the skill level someone has in a skill which is you guessed it - written beside mr drop down.
So once i click on update i awnt them to all go off to the db and update. Any idea of an algorithm on how to do this. Im aware of for loops etc but i just dont see how it would work out.
View Replies
View Related
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need.
Could someone please provide me with help, or coding on how to add item details into a basket record, once the user clicks the add to basket link.
View Replies
View Related
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need.provide me with help, or coding on how to add item details into a basket record, once the user clicks the add to basket link.
View Replies
View Related
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new toasp and have no knowledge whatsoever on how to code what i need.
how to add item details into a basket record, once the user clicks the add to basket link.
View Replies
View Related
I want to use asp to assign a css class to <td> tag. I was thinking an If statement, but i've not come across trying to assign a class to a table cell before! I want the cell background to be highlighted red determined by a database table with - yes or null. (null remains white, yes - red) At the moment it simple like this: Code:
<td><%=strAddress%> </td>
View Replies
View Related
I would like to using style sheet in ASP generated Excel, but it sees cannot using it. Here's my code:
<style>
<!--
..report {
font-family: Arial;
font-size: 11pt;
}
//-->
</style>
<%
response.contentType = "application/vnd.ms-excel"
%>
<font class="report">testing</font>
View Replies
View Related
How to set text style for an excel cell progrmattically, which is equavalant
to Excel->Format Cells->Number Tab->Text
View Replies
View Related
how to add a css style to a menu in asp 2.0?
View Replies
View Related
I need to figure out how to make ASP add in the appropriate style sheet. Basically I want it to look, see what page it is on and say, 'Ok ... if this is the home page, use this style sheet ... if it is not, use this other style sheet.'
View Replies
View Related
I'm trying to write a style sheet switcher for myself in asp. The code sits on every page. I've so far managed to cobble the following: This block sits in the head: Code:
View Replies
View Related
I am storing content in a database, and when a text field is updated I am adding a line "Updated by <username> at <date and time>" inside the text field.
Now what I would like to do is to apply a dynamic style to that line by using a span.
<span style="<%=UpdateStyle%>">Updated by <username> at <date and time></span>
where UpdateStyle would be an ASP variable like "font-weight:bold;color:red" etc, so how that line is displayed is amendable at any time from within an include file.
Well obviously using <%=UpdateStyle%> didn't work ... I also tried defining it as a javascript variable and calling it using document.write, but that didn't work either.
View Replies
View Related
I am having trouble with css style sheet with asp code, everything was working till I put extra of css code in there, and I got error message state expected end statement,
Response.Write "<a class="three" href=""job.asp?ID=" & rs("ID") & """
style="text-decoration: none">"
View Replies
View Related
I am currently undertaking a project where I have to make the page layout and colour scheme customisable to the user. I have therefore created the different style sheets for both colour schemes and layouts. Each user within the backend database has a field for layout and colour scheme. I need the system, when a user loggs in, to check the field value of both of these, and apply the relevant CSS sheet to every page within the site thereafter.
I have already tryed using cookies, but becasue it is for a school, many users will use multiple machines so that wouldnt work.
View Replies
View Related
I would like to know if and how it would be possible to create an
entry-screen that allows the user to enter data in a database, using a
spreadsheet/table-like entry screen. The screen would start of having
headers for each column/field and an empty row underneath. When each column
in the row is filled in, the user must have an option to add another row.
I'm look for the code/explanation that helps me set up the entry screen, and
the ASP code to add the entered data in the database.
I can imagine that each entered row is added to the table when a new row is
added, or a button is pressed and then the screen refreshes with the newly
entered information and a new row...
View Replies
View Related
I am trying to make my result set print out the results in the same style as
a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4 results
per table row. Then once I have 3 or 4 results across a new row in the table
will start. Code:
View Replies
View Related
Anybody have any experience of a decent explorer style tree view system which is database driven?At the minute I'm using ASP Tree View (www.CompuSolve-Technology.co.uk) but it's not really the best.It has to work with a database (MS SQL Server).
View Replies
View Related
It there a standardized process of working with text files that follow the typical INI file pattern with sections within it designated with square brackets? I am looking at needing to read in some of these into the DB and then editing in the DB and writing the files back out again. As an example they would have sections like this:
[fltsim]
'Stuff here
[general]
'Stuff here
View Replies
View Related
If anyone knows of something similar to the PHP style documentation that would be great.
View Replies
View Related
I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that:
It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc... How to implement this? Can it display only page title name or something else how can you change it? Code:
View Replies
View Related
I have the following regular expression:
re.Pattern = "style[^=]*=[^""]*""[^""]*"""
It will grab any style attribute within HTML that uses double quotes, and put it in the re.Matches collection.Now, I want to include single quotes into this regular expression. Here's what I have so far:
re.Pattern = "style[^=]*=[^""']*(""|')[^1]*1"
but it does not work.
View Replies
View Related
i was wondering if anyone could give me a few ideas on how to create a shopping cart using asp or even a good website asi have been searching and have not found any
View Replies
View Related
how should i assign a unique id to a user ? i've used the sessionid in
the past but have found that the sessionid is not unique. is there a
better solution for assigning a unique id to each visitor ?
secondly, what's the best way to track visitors as they move about my
site ? i'll be recording items in the cart in a database but will
still need to track the user on each page ... session variables or a
cookie ?
View Replies
View Related
what's the best ASP shopping-cart available? I have looked in Aspin and there seems to be a few good one's around. Anybody tried any of them? Ofcourse, it needs to be fully-featured with order-tracking, intranet product management, etc.
View Replies
View Related
I have made the following shopping cart. which displays data fine but when i hit the add to cart it is saying "No value given for one or more required parameters"
so i have not seen my cart working I would like to also add Images to this later but im taking one step at a time Code:
View Replies
View Related
how i would go about creating an ASP/SQL Shopping Cart???
View Replies
View Related
Is there anyone out there who can set up a relatively easy shopping site. I will need it for selling music cds.
This would be for about an inventory of about 2500 titles, which I have in .csv text format or MS Ecxel or MS Access but it should be database driven and easy to be maintained by a non-techie....
I was thinking of mals-ecommerce (oscommerce, I hear has been somewhat difficult), or some other ones that I've seen out there, like ezstores.net, comersus.com, cactusshop.net, or www.alanward.net/acart
Thank you very much, and please ask questions, as I am sure there is something I probably left out.
View Replies
View Related