“WooCommerce Store Closing” Documentation by “Ozibal” v2.0


“ WooCommerce Store Closing ”

Email: ozibal@gmail.com

Thank you for purchasing my plugin.

If you have any problems beyond the scope of this help file, please do not hesitate to contact me here.

Thanks so much!


A) How does it work ? -

This plugin works under the "WooCommerce" online sales plugin. On the days and times that you specify plugin will make add cart and order buttons invisible for your customers and displays a notification message that you can specify from the admin settings.

The following classes are affected.

        .woocommerce li.product .entry-header .button, 
        .woocommerce-page li.product .entry-header .button, 
        .woocommerce .quantity, 
        .woocommerce-page .quantity, 
        .woocommerce .single_add_to_cart_button, 
        .woocommerce-page .single_add_to_cart_button,
        .woocommerce-page .checkout-button,
        .woocommerce #payment
        .add_to_cart_button,
        .single_add_to_cart_button,
    

B) Which language support is available ? -

Full language support is available. English and Turkish language support is included in the package. If you help me, I can translate in your language with a little text.

Special thanks !
Brazilian Portuguese language support was added. Thanks to David Cantidio for the translation.
Español language support was added. Thanks to Damián Fiorito for the translation.

Please mail me here for this.


C) Installation -

With Ftp
  1. Unzip the compressed file. (storeclosing.zip)
  2. Copy the plugin folder (store-closing) to the / wp-content / plugins / folder.
With Admin Panel(wp-admin)
  1. Go to Plugins / Add New menu
  2. Click ‘Install Plugin’ button
  3. Click ‘Choose File’ button
  4. Choose compressed file (storeclosing.zip) and click “install now’ button.

Activate the Store Closing plugin from plugins menu.
You can customize the Store Closing plugin under the WooCommerce menu.

Note: If other versions of the plugin were previously installed, uninstall it first.


D) Settings -

You can adjust the plugin settings in the "Store Closing" section under the "WooCommerce" tab.

Plugin settings consist of four parts.

  1. Daily
  2. Upcoming
  3. Manual
  4. Settings

 

Status Indicator
Indicates which setting turns off your store

Today Indicator
Indicate current day (Wordpress Date)

Smart Tags
There are three smart tags to display in notification messages. These labels are like in the following order.

  1. [tstamp]
    : The weekly chart shows the hour information of the active day.
  2. [pcstamp]
    : Displays the marked date and time in the closing notification.
  3. [postamp]
    : Displays the marked date and time in the opening notification.
  4. [countdown]
    : Adds the countdown for notification.

Note: Each label only works in its own declaration.

1 - Daily -

You can set two different opening and closing times for the days of the week. The "checkbox" next to the day must be selected in order for the selected hours will be active. "WooCommerce" store will be opened online order at the selected time. Outside these hours, the "order" and "order complete" buttons will be invisible. If you have a message in the "Notification Message" field, it will be displayed.

 

Example :
If selected; 'First' : 11:00 to 15:45 and 'Second' : 18:00 to 23:59

00:00 => 11:00 : Your Store is closed to order online.
11:00 => 15:45 : Your Store is opened to order online.
15:45 => 18:00 : Your Store is closed to order online.
18:00 => 23:59 : Your Store is opened to order online.

Very important :
If the daily planner is selected for just one day, the plugin will run all week.
For this reason, please fill in the working hours of the shop weekly.

Example :
You just choose Wednesday. You set the times to 'First' 11: 00-15: 45 and 'Second' 18: 00-23: 59.
The plug-in will close your shop on Wednesdays on other days and hours that will open your store between 11: 00-15: 45 and 18: 00-23: 59. If you are using a countdown, your countdown will be set to 11:00 the following Wednesday of the following week.

Tips :
If you want to keep your store open every day of the week, just to keep it open on Wednesdays between 11: 00-15: 45 and 18: 00-23: 59, selected other days and set the hours to 00: 00-23: 59.

Message
When the store close due daily settings, each day's specific message is shown. If there are no daily messages, the general message is shown. If the time interval has exceeded the second side setting, the first active day's message (if any) is shown.

General Notification Message

If there are no daily or upcoming messages or if the store has closed due the manual tab, this message is shown.


Example
'First' : 11:00 - 15:45 and 'Second' : 18:00 - 21:30.

00:00 => 11:00: Your 'First' message will be shown on the notification.
15:45 => 18:00: Your 'Second' message will be shown on the notification.
21:30 => 23:59: The 'First' message of the next day will be shown on the notification.

 

2 - Upcoming -

In the "Closing" and "Opening" areas you will close and open the store on your chosen dates. It is sufficient to make the date entries in order to close the shop at a upcoming date (for example, if you do not accept orders at holiday time). Automatic operation occurs when the selected date is valid.

 

Example :
Closing : 25.01.2017 23:45
Show Message : 01.02.2017
Opening : 06.02.2017 16:15

Your Store will close on between 25.01.2017 23:45 and 06.02.2017 16:15.
"Closing Notification Message" will show on beetween 01.02.2017 00:00 and 25.01.2017 23:45
"Opening Notification Message" will show on beetween 25.01.2017 23:45 and 06.02.2017 16:15

Attention ! :


An active "Upcoming" [ Active | Upcoming (Closing) ],
your daily settings will continue to process until the closing date.


An active "Upcoming" [ Active | Upcoming (Opening) ],
your daily settings will be stop to process.

Daily Message Condition
When this option is active, daily message to be display with closing message.
For change click over icon

YES : will showing daily message too. NO : won't show daily message.

Tips :
If you won't display any message, delete message fields and close daily message indicator.

Delete Plan
Deletes the plan.

Wide or Narrow
Narrows or wides the plans.

Automatic Delete Old Plans
Automaticly deletes, If opening date is old.


3 - Manual -

This option close your store and shows general notification message.

 

Attention ! : Without timestamp and countdown

4 - Settings -

 

Time Zone
Plugin uses the timezone settings you selected in the wordpress general settings.

Current Time
Shows the wordpress time

Style Selector
Shows the wordpress time

Style Selector
The style file of the plugin is storeclosing-style.css. All style tags are included in this file. The notification message uses the "storeclosing_show" tag.

Role Permission

Plugin settings can be changed by administrator users. You can choose one of the user roles listed in this option to give you the right to change the opening and closing times.

Attention !
if a role (for example, Subscriber) without access to the admin panel is selected, the user can not log in to the plugin settings because they do not have access to the admin panel.


E) ShortCode -

The opening and closing times must be active for the short code to be able to display the notification message.
Otherwise, no message will be displayed even if you insert short code

The default ShortCode uses the message settings you selected during the settings panel.

You can customize the messages displayed with CSS. Details is below.

ShortCode Usage

You can display the Weekly Opening-Closing Table or active notifications anywhere with ShortCode.
You can add a countdown to the opening or closing time of your store (you can use the [countdown] smart tag).

 


Usage : [StoreClosing]
(Admin Panel / Settings / Style Selector : Standard)
(The nearest active notification is shown)


Usage : [StoreClosing]
(Admin Panel / Settings / Style Selector : Custom)
(The nearest active notification is shown)


Usage : [StoreClosing Daily]


Usage : [StoreClosing DailyFirst] or Usage : [StoreClosing DailySecond]


Usage : [StoreClosing Closing]


Usage : [StoreClosing Opening]


Usage : [StoreClosing Upcoming]

Tips :
By customizing your short code notification, you can make an 'Under Construction' notification for your site.


F) CSS -

The plugin only uses a single css class which is valid for the notification message. This class looks like the following. You can set the custom style for your notification in the settings section.

Note: You can change your own css file by assigning a value to the ".storeclosing_show" class.

            /* Default Message */
            .storeclosing_show { 
                background-color: #F00;
                color: #FFF;
                width: 90%;
                height: auto;
                margin-bottom:10px;
                padding: 10px;
                font-size: large;
                text-align: center;
            }
            /* Shortcode */
            .storeclosing_shortcode .storeclosing_show{ 
                width:inherit;
            }
            /* Table */
            .storeclosing_table{ 
                border:solid 1px #999;
                border-radius:5px;
                background-color:white;
                color:black;
                -webkit-box-shadow: 5px 3px 3px #999;
                -moz-box-shadow: 5px 3px 3px #999;
                box-shadow: 5px 3px 3px #999;
                padding: 0px !important;
            }
            /* Table Row Dark */
            .storeclosing_table_row_dark{
                background-color: #E3E3E3;
            }
            /* Table Row Light */
            .storeclosing_table_row_light{
                background-color: #F6F6F6;
            }
            /* Upcoming Closing Title */
            .storeclosing_upcoming_table_title_closing{
                background-color: #6E25BC;
                color: white !important;
            }
            /* Upcoming Opening Title */
            .storeclosing_upcoming_table_title_opening{
                background-color: #FF00D9;
                color: white !important;
            }
            /* Upcoming Titles */
            .storeclosing_upcoming_table_title_closingdate, 
            .storeclosing_upcoming_table_title_closingtime,
            .storeclosing_upcoming_table_title_openingdate,
            .storeclosing_upcoming_table_title_openingtime{
                background-color: #999;
                color: white !important; 
                line-height:1px !important;  
                border-bottom:solid 3px white;
            }
            /* Upcoming Rows */
            .storeclosing_upcoming_table_closingdate, 
            .storeclosing_upcoming_table_closingtime,
            .storeclosing_upcoming_table_openingdate,
            .storeclosing_upcoming_table_openingtime{
                font-weight:normal !important;
            }
            /* Daily Title */
            .storeclosing_daily_table_title{
                background-color: #6E25BC;
                color: #FFF !important;   
                line-height:1px !important;  
                border-bottom:solid 3px white;
            }
            /* Daily Rows */
            .storeclosing_daily_table_row{
                font-weight:normal !important;    
            }
            /* Daily Active Day */
            .storeclosing_active_day{
                border:solid 3px #6E25BC;
            }
            /* Upcoming Closing Active Message*/
            .storeclosing_upcoming_close{ 
                background-color: #6E25BC;
                color: #FFF;
                border: solid 1px #FF00D9;
                height: auto;
                padding: 9px !important;
                margin-bottom: 15px !important;
                font-size: large;
                font-weight:bold;
                text-align: center;
                -webkit-box-shadow: 4px 4px 4px 0px rgba(158, 96, 149,0.5);
                -moz-box-shadow: 4px 4px 4px 0px rgba(158, 96, 149,0.5);
                box-shadow: 4px 4px 4px 0px rgba(158, 96, 149,0.5);
            }
            /* Upcoming Closing Active Message Inframe*/
            .storeclosing_upcoming_close .storeclosing_inframe{ 
                border: solid 1px #FF00D9;
                height: auto;
                padding: 10px !important;
            }
            /* Upcoming Opening Active Message*/
            .storeclosing_upcoming_open{ 
                background-color: #FF00D9;
                color: #FFF;
                border: solid 1px #6E25BC;
                height: auto;
                padding: 9px !important;
                margin-bottom: 15px !important;
                font-size: large;
                font-weight:bold;
                text-align: center;
                -webkit-box-shadow: 4px 4px 4px 0px rgba(110, 37, 188,0.5);
                -moz-box-shadow: 4px 4px 4px 0px rgba(110, 37, 188,0.5);
                box-shadow: 4px 4px 4px 0px rgba(110, 37, 188,0.5);
            }
            /* Upcoming Opening Active Message Inframe*/
            .storeclosing_upcoming_open .storeclosing_inframe{ 
                border: solid 1px #6E25BC;
                height: auto;
                padding: 10px !important;
            }
            /* Countdown */
            .storeclosing_countdown { 
                font-weight:bold;
            }

		

 

Fully responsive admin panel


 


Once again, thank you so much for purchasing this plugin. As I said at the beginning, I'd be glad to help you if you have any questions relating to this plugin. No guarantees, but I'll do my best to assist. If you have a more general question relating to the plugins on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Ozibal

Go To Table of Contents