Edit Javascript which says "Add to cart" by adding a popup window before "Adding to cart"
Budget: $30 – $250 AUD
Code: Classic asp & Javascript including some ajax/json
Database: MS Access
You need to be able to write the code and test the code for this project.
I am doing some academic research on supermarket shopping and have an experimental on line supermarket shop which offers products at different prices etc according to some pre-determined conditions. At present people can click "Add to cart" and the product is added to the cart.
For some conditions, and not others, as shown in the access database, I would like to show an additional window before adding to the cart. The window will show additional encouragement such as "Great choice - that is a healthy product - do you want to continue or not?" or "Bad choice - that is is a high sugar product - do you want to continue or not". It might be as text and / or as an image. Then the option of adding to the cart or return to shop is offered.
The shop is written in classic asp and the "Add to cart" script is javascript. I think all you need do is add code to the "addtocart.asp" code which is called from the javascript .
The conditions are listed in access and you would need to add an extra field to the appropriate admin table to show whether the extra window is opened or not.
The extra message or image in the window would also be called from another field in the appropriate admin table.
If I was writing the code, I would do the following as classic asp:
Test if the condition requires the extra window by checking the access database.
If yes, open window, add text and /or image from access database, ask if you want to continue or not and then add to cart or return to shop
If no, continue
I don't think this is a hard project for someone who knows classic asp, javascript and ms access.
Database: MS Access
You need to be able to write the code and test the code for this project.
I am doing some academic research on supermarket shopping and have an experimental on line supermarket shop which offers products at different prices etc according to some pre-determined conditions. At present people can click "Add to cart" and the product is added to the cart.
For some conditions, and not others, as shown in the access database, I would like to show an additional window before adding to the cart. The window will show additional encouragement such as "Great choice - that is a healthy product - do you want to continue or not?" or "Bad choice - that is is a high sugar product - do you want to continue or not". It might be as text and / or as an image. Then the option of adding to the cart or return to shop is offered.
The shop is written in classic asp and the "Add to cart" script is javascript. I think all you need do is add code to the "addtocart.asp" code which is called from the javascript .
The conditions are listed in access and you would need to add an extra field to the appropriate admin table to show whether the extra window is opened or not.
The extra message or image in the window would also be called from another field in the appropriate admin table.
If I was writing the code, I would do the following as classic asp:
Test if the condition requires the extra window by checking the access database.
If yes, open window, add text and /or image from access database, ask if you want to continue or not and then add to cart or return to shop
If no, continue
I don't think this is a hard project for someone who knows classic asp, javascript and ms access.