Design is already made.
Your job is to code the PHP and integrate it into design.
Should not be done in OOPHP.
On the webshop from users' view
We want several categories of products. Those categories should be sub-categorized too. It should be easy for administrator to create categories and create subcategories. Some categories do not have subcategories.
A title, text, price, and a image is shown.
Also a “matching”-feature should be possible for administrator to add. Will be described later in this document.
Also a “Other-users-bought”-feature should be possible. That is made automatically.
The user can put the product in his/her shopping basket. When he/she added the product to the shopping basket, the user is redirected to the shopping basket. Here the user can see informations on the shopping card as:
Item (name) Price Quantity (editable)
Name1 (link) 10$ 1
Name2 (link) 105$ 2
Two buttons are available: “continue shopping” and “checkout”.
Checkout is a page where user fill out information and can chose different payment methods. Paypal or bank transfer. If the user chooses paypal, the user will be inserted into mysql as “paid”. If the user chooses “bank transfer” the user will in the database be shown as “not paid” until the administrator manually edits it. Users' mails will be saved in a database so it easily can be used to send newsletter with PHPmailer.
If the user exits the page without completing his/her order but AFTER filling out personal information, the user will receive a mail that he still has the products in his basket and a direct link to shopping basket.
Users can give other users gift cards to the shop. They fill out information of the receiver and sender and the amount to give. In a checkbox user can decide the giftcard to be sent by e-mail or as a normal letter. After filling out the required information, user adds the gift card to its' shopping card.
This webshop should be used for 2 sites on different languages. The two sites are on the same server. When you add a product, you can choose which sites the product should be added to. At first you choose the countries, then you go to the next page, where you fill out information for each site. That means that you will fill out title, description, product number, price, other products this products matches for each site/country to upload. The image is the same on both sites.
Its should be possible to save some autotext in the database, and load it to either title/description/price/productnumber/other products this product matches.
Features for products:
Edit existing product
Admin should be able to create co-admins and give them permissions like:
• Upload product
• Delete product
• Edit product
• Add co-admins
And so on. Admin should be able to give permission to all activities available in admin's place.
On the front page there is a log in form for dealers.
The dealers are categorized into many groups. The admin can decide how many and which categories. The categories have different prices. They are calculated like this:
1: Good dealers; -40%
2: Medium dealers; -30%
3: Low dealers: -20%
4: Other: -10%
Then prices will be shown with those prices when they log in.
They will see the same galleries as normal customers, but with their own price. In that way admin only has to upload a product once, and then the prices vary from client to client.
In the same way as normal customers dealers can add products to their shopping cart and decide the amount of the products.
With a dealer you will have access to special pages such as dealers' news and other pages.
Admin should have the possibility to create special features for each dealer such as “buy more than XXX$ and get xx% discount. When an admin does such a change, a mail should be sent to dealer.
There will be stored different .css-files on the server. The admin should be able to change those like to switch to Christmas theme when its Christmas and other seasons.
There will be different flashbanners on the server. Admin should be able to decide where to post these.
Admin will have the possibility to send newsletter using PHPMailer. Admin can decide who shall receive the mail. (Dealers, categories of dealers, customers, all customers, all who already bought, those who only signed for newsletter from main page).
Visitors can sign for newsletter on the index page.
There will be html editors everywhere there is a text to write. Only in textareas - not simple forms.