ITS4112 South University XML Tagging Shop Website Project
XML Tagging
The final step to completing our shop website is, to store the user’s purchases in a file. Now that you have a Shopping Cart page that stores the items in cookies and displays them to the user, modify the Shopping Cart page to include a submit button.
Once the submit button is clicked, the user is directed to a page with a Thank You message, you can call it confirmationpage.php. The page needs to store the items the user purchased into an XML file by either parsing the contents of the cookies created in the Shopping Cart page, or parsing the contents of the array stored in the cookie (depending on which strategy you chose to solve last week’s assignment. The XML file, named purchases.xml needs to include the following items:
- Item name
- Item price
It is up to you to determine the format of the XML file, you are welcome to follow the below suggested format if you want:
<purchasedItems>
<Item>
<ItemName></ItemName>
<ItemPrice></ItemPrice>
</Item>
</purchasedItems>
Submit your code as well as a test plan in a 4- to 5-page Microsoft Word document consisting of:
- Screenshots of your project (showing design, data entered, and displayed)
- A paragraph explaining how you tested your project
- All HTML or PHP script zipped under one file
Submission Details
- Name your document SU_ITS4112_W4_Project_LastName_FirstInitial.zip.
- Support your responses with examples.
- Cite any sources in APA format.