Other projects from this group

PHP Onlie Shop Source Code

Price:   $USD


This php online shop project has been made by PHP web programming language and is suitable for selling software and digital data


 

Other projects from this group

 

This php online shop project has been made by PHP web programming language and is suitable for selling software and digital data, like images, videos, online arts and etc.

Also this shop has an OTA feature and a simple and secure admin panel.

Currently the payment method is PayPal.Me link (with manually approval). The customers no need to have an account to buy the products from this shop and simply by an order code can have access to their shopping cart.

The tested compatible PHP revision is 7.0 to 7.4.

This php online shop project has not the feature of “PayPal API” yet, but the payment method is “PayPal.Me Link” which is free (except the “per transaction fee”, refer to PayPal.Me) and the shop administrator must insert the payment information manually to complete the purchase.

Our online project store is the best sample of this project.

There are 3 folders in this project:

  • MySQL: The database file is in this folder
  • Public_html: The source code of php online shop is in this folder
  • UTF sample: The utf-8 files for translation.

PHP Online Shop Installation

The whole thing that you need to know to installation is preparing the DNS and Host, copying the files on your host, importing the database and making some text edition in some files.

Step 1: Buy Web hosting and register a domain (or a subdomain).

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; There is a lot of host provider with different prices around the world. Choose one of them and start your online business. Just do not forget that the host must support PHP (Rev 7.0-7.4), MySQL and SSL protocol (https). Also you can use a virtual host software (e.g. wamp or xamp or etc.) to learn and test the online shop features.

Step 2: Copy the php online shop files on your host (or virtual host).

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; Just unzip the project file, copy all of the contents in the “public_html” folder into the “public_html” (or “www”) folder in your host.

Step 3: Go to phpMyAdmin to importing the database.

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; There is a “database.sql” file in the MySQL folder in the project. Search and ask your host provider about how to import the .sql file into your host database. Also register a database access with all privileges for the shop.

Step 4: Make some changes is some files.

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; There are some php files in the project which need to do some text edition (not programming). Also some image files need to be changed according to your business which we have explained well in the following of this document.

The following files need the edition or to be changed:

robots.txt

Replace “Your-Domain” with your domain or subdomain url address.

favicon.ico

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; Replace your business icon file with the same size.

images/apple-touch

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; The icons for your business.

images/dummy/brands

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; Six brand images for the main page (index page).

images/dummy/slides

%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp;%26nbsp; Slider image files.

and some other files...

Admin Panel

Login into the admin panel.

php online shop source

There is a sidebar which navigates you to the different parts of the admin’s panel. Also there are quick access links for the pre-invoices, invoices, the pending support tickets and a list of the inserted PayPal transaction IDs.

Go to Products%26gt;Categories to set the main categories and sub-categories of the products.

php online store code

After the edition, click on the “Add/Edit Categories and Sub-Categories” button (under the categories text boxes).

  • Try to do not make changes in the categories or sub-categories name after the first edition, because the link of categories will change and will decrease the rank of your site in search engines.
  • You must insert at least one Category, otherwise the website will not be shown.
  • Insert two or more main category.
  • You can set maximum 10 Main Category and 10 Sub-Category for each Main Categories

By click on the “Edit Subcategory”, you will navigate to the sub-category edition page. Then by click on “Add Group” you can add a group of products.

online shop source

Use your main “keyword” as the first word in the group title and use the main keyword in the short description, tags and the text.

Also you can add two more tabs for the product details, manual and etc.

If you click and open “Files%26gt;File Manger” in a new tab, you can upload in-text images and place in the text area.

php online shop code download

After filling the text boxes and etc. Click on the “Send” button to adding the group. Then you will navigate to the sub-category page again.

By click on the “Add a product to this group”, you can add a product.

php source mysql shop

At the end of the “Slug URL”, add a short name for the product as its main URL. If uncheck “Show product” the product will not be shown in the shop.

  • Try to do not change the category part of the URL, just add a few words at the end of default Slug-URL.
  • The Slug URLs must be unique.

Select a zip file for the product and a .jpg file as the product preview image. Then click on “Send” and the product will be added to the group.

online shop source code

  • You can add multiple product in a group, for example you have designed a 3d car in two models, with 2 doors and 4 doors and want to sell as two different product. So add both of the models in one group and the customer will able to see both in a page.

With click on Edit (in front of the group’s name) you can edit the group and by click on the product name, you can edit the product name and etc. or upload a new file.

To completing the purchases, go to “Sell%26gt;Pre-Invoices” and click on the pre-invoice that you want to approve and insert the transaction ID and the date in the form blew of the list.

Also you can add the PayPal transaction ID’s then the customers can add manually to the “Orders” section to approve their payment.

To answer to the support tickets go to “Support%26gt;New requests”.

And when a new revision is available, go to “Settings%26gt;Update”, update the shop and receive the new features and fixes bugs.

1.2

-OTA update feature

-Improving CSS styles

-Improving SEO

-Slug URLs

-Web template improvements


1.1

-PayPal.Me payment method

-File manager

-Web template mobile compatibility improvements

-Support tickets


1.0

-Web template improvements

-Main PHP programming

-Creating the database

-Javascript programming

-Shopping cart

-Admin panel

-Orders