Plugin Directory

Changeset 2601270


Ignore:
Timestamp:
09/19/2021 10:13:18 AM (4 years ago)
Author:
mithublue
Message:

version:1.0.1.1

Location:
multislot-business-hours-for-dokan-vendor/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • multislot-business-hours-for-dokan-vendor/trunk/core/functions.php

    r2600257 r2601270  
    3737    }
    3838
    39     function is_store_open( $user_id ) {
    40         $store_user = dokan()->vendor->get( $user_id );
    41         $store_info = $store_user->get_shop_info();
     39    function is_store_open( $user_id, $store_info = null ) {
     40        if ( ! $store_info ) {
     41            $store_user = dokan()->vendor->get( $user_id );
     42            $store_info = $store_user->get_shop_info();
     43        }
    4244        $open_days  = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : '';
    4345
  • multislot-business-hours-for-dokan-vendor/trunk/multislot-business-hours-for-dokan-vendor.php

    r2600257 r2601270  
    11<?php
    22/*
    3     Plugin Name: Multislot Business Hours for Dokan Vendor
     3    Plugin Name: Multislot Business Hours for Dokan Vendor - create multiple opening and closing time for vendor's store on each day
    44    Plugin URI:
    55    Description: Maintain Business hours for your WooCommerce Shop. Let your customers know about business schedules.
    6     Version: 1.0.1
     6    Version: 1.0.1.1
    77    Text Domain: doc
    88    Author: CyberCraft
     
    1515
    1616use DOC\core\Functions;
     17use DOC\core\Product_Actions;
    1718use DOC\core\Store;
    1819use DOC\core\Store_Settings;
     
    6364     */
    6465    public static function instance() {
    65 
     66        Product_Actions::instance();
    6667        if ( is_null( self::$_instance ) ) {
    6768            self::$_instance = new self();
     
    99100            $url
    100101        );
     102        //get pro
     103        if ( ! Functions::instance()->is_pro() ) {
     104            $url = '<a style="background: #DD5E3B; color: #ffffff; padding: 0 10px 1px 10px; font-weight: bold;" href="https://cybercraftit.com/product/dokan-multislot-business-hours-for-vendors/" target="_blank" class="help-link">'.__( 'GET PRO', 'doc' ).'</a>';
     105            array_push(
     106                $links,
     107                $url
     108            );
     109        }
     110
    101111        return $links;
    102112    }
  • multislot-business-hours-for-dokan-vendor/trunk/readme.txt

    r2600257 r2601270  
    11=== Multislot Business Hours for Dokan Vendor ===
    22Contributors: cybercraftit, mithublue
    3 Tags: Dokan, vendor open close, store open close, multislot open close, multislot business hours, multivendor, Multislot, business hours, schedules, multi vendor marketplace, multi seller store, multi-vendor, multi seller, marketplace, product vendors, woocommerce vendor, e-commerce, woocommerce
     3Tags: Dokan, vendor open close, store open, business hours, open close, opening hours, store close,  store open close, multislot open close, multislot business hours, multivendor, Multislot, business hours, schedules, multi vendor marketplace, multi seller store, multi-vendor, multi seller, marketplace, product vendors, woocommerce vendor, e-commerce, woocommerce
    44Requires at least: 4.4
    55Tested up to: 5.8.1
     
    77WC tested up to: 5.6.0
    88Requires PHP: 5.6
    9 Stable tag: 1.0.1
     9Stable tag: 1.0.1.1
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333* Option for vendor to manage notice
    3434
     35* Show store notice badge in product list page
     36
     37* Show store notice badge in single product page
     38
     39* Sellers can block the closed shop notice in their store by an option provided in the store settings.
     40
     41* Custom store time widget instead of Dokan's default one.
     42
     43* Seller can set or deactiave store notice for his store.
     44
     45* Empty cart automatically when the store of that product becomes close (option is in the admin panel to make it active)
     46
     47* Pro support 24/7
     48
     49* Pro updates
     50
    3551* And more...
    3652
    37 Demo
     53Demo ( Both free and pro )
    3854
    3955https://cybercraftit.com/demo/testwp/dokan-business-hours/
    4056user : test
    4157password: 123456
     58
     59= Pro =
     60
     61<a href="https://cybercraftit.com/product/dokan-multislot-business-hours-for-vendors/" target="_blank">You can find pro version here</a>
     62
     63Please note that, Pro version is one time purchase, which means you don't need to renew the code every year by recurring payment, just pay once and the code
     64is yours. It also includes 3 months pro support for free with it.
     65
     66= License Key for Pro Version =
     67
     68If you already have the pro extension already, and the 3 months pro support already exceeds, you can purchase the license key for 30 days to get the
     69update and pro support for that time. You do not need to purchase the product again. :)
     70
     71<a href="https://cybercraftit.com/product/license-key-for-multislot-business-hours-for-dokan-vendor-pro/" target="_blank">You can purhcase the license key from here</a>
     72
    4273
    4374== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.