Changeset 2601270
- Timestamp:
- 09/19/2021 10:13:18 AM (4 years ago)
- Location:
- multislot-business-hours-for-dokan-vendor/trunk
- Files:
-
- 1 added
- 3 edited
-
core/functions.php (modified) (1 diff)
-
core/product-actions.php (added)
-
multislot-business-hours-for-dokan-vendor.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multislot-business-hours-for-dokan-vendor/trunk/core/functions.php
r2600257 r2601270 37 37 } 38 38 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 } 42 44 $open_days = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : ''; 43 45 -
multislot-business-hours-for-dokan-vendor/trunk/multislot-business-hours-for-dokan-vendor.php
r2600257 r2601270 1 1 <?php 2 2 /* 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 4 4 Plugin URI: 5 5 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 7 7 Text Domain: doc 8 8 Author: CyberCraft … … 15 15 16 16 use DOC\core\Functions; 17 use DOC\core\Product_Actions; 17 18 use DOC\core\Store; 18 19 use DOC\core\Store_Settings; … … 63 64 */ 64 65 public static function instance() { 65 66 Product_Actions::instance(); 66 67 if ( is_null( self::$_instance ) ) { 67 68 self::$_instance = new self(); … … 99 100 $url 100 101 ); 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 101 111 return $links; 102 112 } -
multislot-business-hours-for-dokan-vendor/trunk/readme.txt
r2600257 r2601270 1 1 === Multislot Business Hours for Dokan Vendor === 2 2 Contributors: 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, woocommerce3 Tags: 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 4 4 Requires at least: 4.4 5 5 Tested up to: 5.8.1 … … 7 7 WC tested up to: 5.6.0 8 8 Requires PHP: 5.6 9 Stable tag: 1.0.1 9 Stable tag: 1.0.1.1 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 33 33 * Option for vendor to manage notice 34 34 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 35 51 * And more... 36 52 37 Demo 53 Demo ( Both free and pro ) 38 54 39 55 https://cybercraftit.com/demo/testwp/dokan-business-hours/ 40 56 user : test 41 57 password: 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 63 Please 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 64 is yours. It also includes 3 months pro support for free with it. 65 66 = License Key for Pro Version = 67 68 If 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 69 update 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 42 73 43 74 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.