Plugin Name: Simple Inventory and Sales

Plugin Name: Simple Inventory and Sales

Wordpress plugin

Install on Wordpress

App Details

Hat Tip to ACF – This plugin come with settings generated by Advanced Custom Fields https://www.advancedcustomfields.com/ (No action required by you.)

Description: Simple Inventory and Sales allows you to offer items on your WordPress site for sale, make that sale via WP-PayPal (a very fine PayPal plugin) and record that sale in your local database. Additionally you can export your sales records (with customer address data) in CSV format to your local computer for backup, record keeping or printing packing slips.

Terms and abbreviations
– WP == WordPress
– PP == PayPal

Installation

Once installed:

– Go to plugins ( WP – Plugins) find Simple Inventory and Sales and click “Activate”

– Go to the settings ( WP Dashboard – Simple Inventory and Sales Plugin – and set the following:

  • Admin Email account – this is required. You will receive notifications of sales at this address. Can be changed at anytime.

  • Simple Inventory and Sales Admin user – this is required. This is a local WP user that you allow access to the Simple Inventory Administrative tools. This user must may be a WP admin but MUST have at least WP editor status. Can be changed at any time.

  • Application URL – This is the url of your site. This is required as the application needs to know what site it is running on.

About Pages and Menus

At the time the Simple Inventory and Sales Plugin is activated, several pages and two menus are created.

The PAGES are:

Administrative

1) Admin Product Search. This page is designed to review product inventory. It accessible only by privileged accounts.

2) Export. This page allows privileged accounts to review sales and download CSV formatted files for local files.

3) Product Manage. This page allows privileged accounts to add and edit inventory.

4) Admin. This page is accessible only by privileged accounts. This page provides links to the three pages listed above. This page is a jumping off point for administration tasks.

Public

1) Product Search. This page allows non-privileged (public) users to browse products or search for specific products. Once they find what they like can choose to purchase that product via PayPal.

2) Featured – This page could be used as the main landing page for your site if you so choose. This page allows you to showcase particular items that you have for sale. You control what is dispalyed via the use of WordPress Shortcodes (more about that later.)

3) Response. This page is a single page that delivers a “Thank You” message or “Sorry that sale was canceled.” message based on feedback from the PayPal website. You are free to edit the graphics on this as you like as long as you leave the embeded shortcode in place.

MENUS

1) Simple Inventory and Sales Public Menu – This menu has two pages linked to it. “Product Search” and “Featured” These are considered public and should appear in the header.

2) Simple Inventory and Sales Admin Menu – This menu has two pages linked to it. “Home” and “Admin”
These are administrative and should appear in the footer.

NOTE – Menus are greatly affected by theme choice and so the placement of these menus may not be to your liking. Experiment a little until you have it the way you like it.

I advise that you do NOT put the administrative pages on prominent navigation menus since they will deny access and irritate the public user.

Remember – you only need a link to the Admin page – you can get everywhere else you need to go from there. This is why I suggest putting that in the footer.

DataBase tables

At the time of activation, Simple Inventory and Sales will create two database table (Sales and Product) this does not require any action on your part.

Getting Started

In order to add product to Simple Inventory and Sales, click on the Admin menu (located in footer) – then click on the button “Go to Product Add.“ Here you will find a simple interface where you can check your items into the database. It is all self exploratory. The only thing your customers will see will be the List Price, Description, Product name and the picture of the item (if provided)

–Special handling of Image. Because WP has a somewhat quirky way of handling images the full path cannot be programmed – this means you have to do it.

SO

– Upload your image to WP – once uploaded go to the desired image in WP’s media library and click on it. You will see a properties panel open on the right side of your screen. Look for a text box labeled File URL this is the actual location of your image. Click on the button below labeled Copy URL.
Return to the Add Product page and paste that URL into the text box labeled Image Name.
This can be edited at any time.

That’s all you have to do!!

Once entered into the database you can go to Product search (non-privileged) or Admin Product Search and see the product. If you leave the text box empty you will see all of your products.

Admin Product Search allows you to review product details, edit product details and delete product entries. This is for privileged accounts only.

The Featured page uses a shortcode. You can determine what items are ‘Featured’ by setting the shortcodes thuslly:

[ShowProdStripped id=”3″ , i_width=”33%” , i_height=”33%” i_border=”4px solid black”]
NOTE:
– The entire statement lives inside the brackets ( [ ] )
– The first section of the shortcode is required. [ShowProdStripped id =”xx”] Every thing else is optional.
– The first parameter ( id ) is the product ID of the product you want to display. You can find that ID number via the “Admin Product Search” page above the image.
– The second and third parameters control the Image width and height – in this example the image is displayed at 33 % of it’s original size. Your mileage may vary on these – you may not need them at all. The value of this is reducing large images down to a palatable size. The last parameter with allow you to put a border around your image. You can set the thickness and the color of the border.
Finally if desired you can use and tags if desired. These must be on the outside of the shortcode.

A few words about Short Codes.

– Shortcodes are a powerful WordPress tool that lets the programmer offer his/her code to the pages of the app.
– I have used Shortcodes throughout this plugin in order to insert functionality into the app.
– You will see Shortcodes in all of the pages that come with this app. Please leave them in place. You can change the graphics as you wish and even add Shortcodes of your own as other plugins may direct you, however if you delete or mangle the Shortcodes that were shipped with this app you will lose functionality.
Deactivating and reactivating the plugin may restore a damaged page. YMMV.

SALES
Once you make a sale you will recieve a email at the account you have listed as your “Admin Email Account” in the settings panel. The notice is designed to alert you so it does not give a lot of info. It should be enough for you to find the sale in the Export page it lists the sale_id and the gross payment recieved from PayPal – the Sale_ID is unique – use that to find the exact sale.
The success of this feature is very much dependant on the Hosting service you use. I develop on a Amazon Virtual platform and Amazon is very picky about outgoing email. So this may not work in your situation. Please feel free to let me know how it works for you.

Thanks for reading this and Happy Sales!

Steve

1.0.0

  • First commit

1.0.1

  • Fixed syntax error using PHP 7.2.34

1.0.2

  • Fixed Version numbering oddness.

1.0.3

  • Fixing Version numbering oddness – again.

1.0.4

Fix uninstall program that wasn’t deleting default pages that come with this plugin.

Pricing

Starting from $0 per month.

Check Out the Business Listings Widget

By Common Ninja

Business ListingsTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

e-commerce
inventory
paypal
sales

Developed By

sdevine

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Business Listings for Wordpress logo

Business Listings

Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.

Highlighted Headlines for Wordpress logo

Highlighted Headlines

Enhance titles with highlighted headlines that use custom colors, animations, and styles to draw attention and help visitors notice key messages.

Reviews Trust Box for Wordpress logo

Reviews Trust Box

Display ratings from multiple platforms in a reviews trust box that builds credibility, social proof, and boosts conversions.

Image Grid Slider for Wordpress logo

Image Grid Slider

Showcase visuals with an image grid slider that blends a grid layout and carousel motion to create a dynamic, customizable, mobile friendly display.

Count-Up Clock for Wordpress logo

Count-Up Clock

Track time since important events with a count up clock that displays elapsed days and hours and keeps visitors engaged.

Social Share Buttons for Wordpress logo

Social Share Buttons

Add social share buttons so visitors share content to major networks, boost engagement, and drive more referral traffic.

Wake Up Notifications for Wordpress logo

Wake Up Notifications

Use wake up notifications to re engage visitors with custom alerts that capture attention, boost interaction, and help increase conversions across your site.

Pricing Slider for Wordpress logo

Pricing Slider

Use a pricing slider to show dynamic prices by quantity, help visitors compare options, and support confident purchases.

Video Poll for Wordpress logo

Video Poll

Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.

Glassdoor Reviews for Wordpress logo

Glassdoor Reviews

Show Glassdoor reviews to highlight employee feedback, strengthen employer brand, and help candidates trust your company.

Reddit Feed for Wordpress logo

Reddit Feed

Show Reddit posts with a Reddit feed that updates automatically, improves content discovery, and keeps visitors engaged with fresh discussions.

Corner Coupon Pop-up for Wordpress logo

Corner Coupon Pop-up

Add a corner coupon pop-up to highlight discounts, collect emails, and drive user engagement without interrupting browsing.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms