Changeset 2103681
- Timestamp:
- 06/11/2019 03:41:01 AM (7 years ago)
- Location:
- dokan-lite/trunk
- Files:
-
- 4 added
- 27 edited
-
assets/css/style.css (modified) (11 diffs)
-
assets/js/dokan.js (modified) (1 diff)
-
classes/admin-user-profile.php (modified) (2 diffs)
-
classes/installer.php (modified) (1 diff)
-
classes/rewrites.php (modified) (2 diffs)
-
classes/template-settings.php (modified) (1 diff)
-
classes/upgrade.php (modified) (5 diffs)
-
dokan.php (modified) (12 diffs)
-
includes/admin-functions.php (modified) (1 diff)
-
includes/api/class-api-rest-controller.php (modified) (2 diffs)
-
includes/class-api-manager.php (modified) (2 diffs)
-
includes/class-order-manager.php (modified) (2 diffs)
-
includes/class-product-manager.php (modified) (5 diffs)
-
includes/class-vendor-manager.php (modified) (1 diff)
-
includes/class-vendor.php (modified) (9 diffs)
-
includes/exceptions (added)
-
includes/exceptions/class-dokan-exception.php (added)
-
includes/functions.php (modified) (5 diffs)
-
includes/order-functions.php (modified) (4 diffs)
-
includes/template-tags.php (modified) (2 diffs)
-
includes/upgrades/background-processes/class_dokan_update_2_9_16_store_settings.php (added)
-
includes/upgrades/dokan-upgrade-2.9.16.php (added)
-
includes/wc-template.php (modified) (3 diffs)
-
includes/woo-views/html-product-download.php (modified) (1 diff)
-
languages/dokan-lite.pot (modified) (39 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/account/vendor-registration.php (modified) (1 diff)
-
templates/global/dashboard-nav.php (modified) (1 diff)
-
templates/global/seller-registration-form.php (modified) (1 diff)
-
templates/settings/store-form.php (modified) (2 diffs)
-
templates/store-lists-loop.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dokan-lite/trunk/assets/css/style.css
r2053968 r2103681 1932 1932 background-color: #242424; 1933 1933 } 1934 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {1934 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu { 1935 1935 background: #242424; 1936 1936 list-style: none; … … 1938 1938 padding: 0; 1939 1939 } 1940 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li {1940 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li { 1941 1941 margin: 0; 1942 1942 border-bottom: 1px solid #454545; 1943 1943 position: relative; 1944 1944 } 1945 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {1945 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li a { 1946 1946 padding: 10px 0 10px 18px; 1947 1947 display: block; … … 1951 1951 text-decoration: none; 1952 1952 } 1953 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {1953 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li a i { 1954 1954 font-size: 17px; 1955 1955 padding-right: 15px; 1956 1956 } 1957 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {1957 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li:hover { 1958 1958 background: #f05025; 1959 1959 color: #fff; 1960 1960 } 1961 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links:hover {1961 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links:hover { 1962 1962 background: none !important; 1963 1963 } 1964 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a {1964 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a { 1965 1965 display: inline-block !important; 1966 1966 width: 33.333333%; … … 1969 1969 border-right: 1px solid #454545; 1970 1970 } 1971 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover {1971 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a:hover { 1972 1972 background: #f05025; 1973 1973 color: #fff; 1974 1974 } 1975 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:last-child {1975 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a:last-child { 1976 1976 border-right: none; 1977 1977 } 1978 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {1978 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.active { 1979 1979 position: relative; 1980 1980 background: #f05025; 1981 1981 } 1982 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {1982 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.active:after { 1983 1983 left: 93%; 1984 1984 top: 50%; … … 1994 1994 margin-top: -16px; 1995 1995 } 1996 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu {1996 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu { 1997 1997 background: #fff; 1998 1998 margin: 0; … … 2009 2009 border-bottom: 1px solid #ECECEC; 2010 2010 } 2011 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu a {2011 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu a { 2012 2012 padding: 2px 0 2px 10px; 2013 2013 font-size: 13px; … … 2015 2015 font-weight: normal; 2016 2016 } 2017 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu a:hover {2017 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu a:hover { 2018 2018 background: #f37655; 2019 2019 color: #fff; 2020 2020 } 2021 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu li {2021 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu li { 2022 2022 border-bottom: 1px solid #ccc; 2023 2023 } 2024 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu li:last-child {2024 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu li:last-child { 2025 2025 border-bottom: none; 2026 2026 } 2027 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.settings i.pull-right {2027 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.settings i.pull-right { 2028 2028 padding-top: 5px; 2029 } 2030 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #toggle-mobile-menu { 2031 display: none; 2032 } 2033 #dokan-navigation > label { 2034 display: block; 2035 font-size: 17px; 2036 color: #fff; 2037 position: absolute; 2038 top: 10px; 2039 right: 15px; 2040 width: 33px; 2041 cursor: pointer; 2042 -webkit-touch-callout: none; 2043 -webkit-user-select: none; 2044 -khtml-user-select: none; 2045 -moz-user-select: none; 2046 -ms-user-select: none; 2047 user-select: none; 2048 border: 1px solid #f0f0f0; 2049 border-radius: 3px; 2050 padding: 3px 8px; 2051 } 2052 #dokan-navigation > input:checked + ul.dokan-dashboard-menu { 2053 display: block !important; 2054 clear: both; 2055 top: 48px; 2056 position: absolute; 2057 background: #000; 2058 color: #fff; 2059 z-index: 9999; 2060 animation: showNav 350ms ease-in-out both; 2061 } 2062 @keyframes showNav { 2063 from { 2064 opacity: 0; 2065 } 2066 to { 2067 opacity: 1; 2068 } 2069 } 2070 @media only screen and (max-width: 450px) { 2071 #dokan-navigation { 2072 display: #303030; 2073 background: #000; 2074 height: 48px; 2075 } 2076 #dokan-navigation #toggle-mobile-menu { 2077 display: block; 2078 } 2079 #dokan-navigation ul.dokan-dashboard-menu { 2080 display: none; 2081 height: auto !important; 2082 } 2029 2083 } 2030 2084 html, … … 4554 4608 overflow: scroll; 4555 4609 } 4610 .dokan-dashboard .dokan-dash-sidebar .dokan-settings-area .dokan-banner, 4611 .dokan-dashboard .dokan-dashboard-content .dokan-settings-area .dokan-banner { 4612 width: auto !important; 4613 height: auto !important; 4614 margin: 0 !important; 4615 margin-bottom: 15px !important; 4616 } 4556 4617 .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-right { 4557 4618 float: right !important; … … 4559 4620 .dokan-dashboard .dashboard-content-area .dokan-announcement-widget .dokan-left { 4560 4621 float: left !important; 4622 } 4623 .dokan-dashboard .dashboard-content-area .dokan-dash-left { 4624 padding-right: 0 !important; 4561 4625 } 4562 4626 .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu:before, … … 4575 4639 padding: 12px 18px; 4576 4640 } 4641 .dokan-dashboard .dokan-orders-area .dokan-order-filter-serach { 4642 padding: 10px 0 10px 0; 4643 } 4644 .dokan-dashboard .dokan-orders-area .dokan-order-filter-serach .dokan-btn { 4645 padding: 6px 13px; 4646 } 4647 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top { 4648 border-bottom: 0; 4649 } 4577 4650 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top ul.dokan-listing-filter { 4578 4651 width: 100%; 4652 } 4653 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .product-listing-top .dokan-add-product-link { 4654 display: flex; 4655 justify-content: space-between; 4656 width: auto; 4657 float: none; 4658 } 4659 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-date-filter { 4660 display: flex; 4661 justify-content: space-between; 4662 } 4663 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-date-filter .dokan-form-group { 4664 margin-bottom: 0; 4665 } 4666 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-search-form { 4667 display: flex; 4668 justify-content: space-between; 4669 margin-top: 15px; 4670 } 4671 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-search-form .dokan-form-group { 4672 margin-bottom: 0; 4673 margin-right: 0; 4674 } 4675 .dokan-dashboard .dokan-product-listing .dokan-product-listing-area #product-filter .dokan-form-group { 4676 margin-top: 15px; 4579 4677 } 4580 4678 .dokan-dashboard .dokan-right, … … 4624 4722 } 4625 4723 } 4724 @media (max-width: 375px) { 4725 .dokan-order-filter-serach form:first-child .dokan-form-group { 4726 display: flex; 4727 } 4728 } 4626 4729 @media (max-width: 360px) { 4627 4730 .dokan-single-store .profile-frame .profile-info-box.profile-layout-layout1 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info { -
dokan-lite/trunk/assets/js/dokan.js
r2044318 r2103681 595 595 }); 596 596 597 $('body').on('click', 'a.d elete', function(){597 $('body').on('click', 'a.dokan-product-delete', function() { 598 598 $(this).closest('tr').remove(); 599 599 return false; -
dokan-lite/trunk/classes/admin-user-profile.php
r2083300 r2103681 63 63 $publishing = get_user_meta( $user->ID, 'dokan_publishing', true ); 64 64 $store_settings = dokan_get_store_info( $user->ID ); 65 $banner_id = ! empty( $store_settings['banner_id'] ) ? $store_settings['banner_id'] : 0; 66 $banner = ! empty( $store_settings['banner'] ) ? absint( $store_settings['banner'] ) : $banner_id; 65 $banner = ! empty( $store_settings['banner'] ) ? absint( $store_settings['banner'] ) : 0; 67 66 $admin_commission = get_user_meta( $user->ID, 'dokan_admin_percentage', true ); 68 67 $admin_commission_type = get_user_meta( $user->ID, 'dokan_admin_percentage_type', true ); … … 542 541 $social_fields = dokan_get_social_profile_fields(); 543 542 544 $store_settings['banner _id']= intval( $post_data['dokan_banner'] );543 $store_settings['banner'] = intval( $post_data['dokan_banner'] ); 545 544 $store_settings['store_name'] = sanitize_text_field( $post_data['dokan_store_name'] ); 546 545 $store_settings['address'] = isset( $post_data['dokan_store_address'] ) ? array_map( 'sanitize_text_field', $post_data['dokan_store_address'] ) : array(); -
dokan-lite/trunk/classes/installer.php
r1995740 r2103681 18 18 19 19 // does it needs any update? 20 $updater = new Dokan_Upgrade(); 21 $updater->perform_updates(); 20 if ( dokan()->has_woocommerce() ) { 21 dokan()->include_backgorund_processing_files(); 22 23 $updater = new Dokan_Upgrade(); 24 $updater->perform_updates(); 25 } 26 27 if ( ! dokan()->has_woocommerce() ) { 28 set_transient( 'dokan_theme_version_for_updater', get_option( 'dokan_theme_version', false ) ); 29 } 22 30 23 31 if ( class_exists( 'Dokan_Rewrites' ) ) { -
dokan-lite/trunk/classes/rewrites.php
r2073700 r2103681 290 290 $store_info = dokan_get_store_info( $seller_info->data->ID ); 291 291 $post_per_page = isset( $store_info['store_ppp'] ) && ! empty( $store_info['store_ppp'] ) ? $store_info['store_ppp'] : 12; 292 292 293 set_query_var( 'posts_per_page', $post_per_page ); 294 293 295 $query->set( 'post_type', 'product' ); 294 296 $query->set( 'author_name', $author ); 297 295 298 $query->query['term_section'] = isset( $query->query['term_section'] ) ? $query->query['term_section'] : array(); 296 299 … … 306 309 ); 307 310 } 311 312 $product_visibility_terms = wc_get_product_visibility_term_ids(); 313 $product_visibility_not_in = [ is_search() && $main_query ? $product_visibility_terms['exclude-from-search'] : $product_visibility_terms['exclude-from-catalog'] ]; 314 315 // Hide out of stock products. 316 if ( 'yes' === get_option( 'woocommerce_hide_out_of_stock_items' ) ) { 317 $product_visibility_not_in[] = $product_visibility_terms['outofstock']; 318 } 319 320 if ( ! empty( $product_visibility_not_in ) ) { 321 $query->set( 'tax_query', 322 [ 323 [ 324 'taxonomy' => 'product_visibility', 325 'field' => 'term_taxonomy_id', 326 'terms' => $product_visibility_not_in, 327 'operator' => 'NOT IN' 328 ], 329 ] 330 ); 331 } 332 308 333 } 309 334 } -
dokan-lite/trunk/classes/template-settings.php
r2073700 r2103681 509 509 'location' => sanitize_text_field( $post_data['location'] ), 510 510 'find_address' => sanitize_text_field( $post_data['find_address'] ), 511 'banner _id'=> isset( $post_data['dokan_banner'] ) ? absint( $post_data['dokan_banner'] ) : 0,511 'banner' => isset( $post_data['dokan_banner'] ) ? absint( $post_data['dokan_banner'] ) : 0, 512 512 'phone' => sanitize_text_field( $post_data['setting_phone'] ), 513 513 'show_email' => sanitize_text_field( $post_data['setting_show_email'] ), 514 514 'show_more_ptab' => sanitize_text_field( $post_data['setting_show_more_ptab'] ), 515 'gravatar _id'=> isset( $post_data['dokan_gravatar'] ) ? absint( $post_data['dokan_gravatar'] ) : 0,515 'gravatar' => isset( $post_data['dokan_gravatar'] ) ? absint( $post_data['dokan_gravatar'] ) : 0, 516 516 'enable_tnc' => isset( $post_data['dokan_store_tnc_enable'] ) && 'on' == $post_data['dokan_store_tnc_enable'] ? 'on' : 'off', 517 517 'store_tnc' => isset( $post_data['dokan_store_tnc'] ) ? wp_kses_post( $post_data['dokan_store_tnc'] ) : '', -
dokan-lite/trunk/classes/upgrade.php
r2073700 r2103681 27 27 '2.9.4' => 'upgrades/dokan-upgrade-2.9.4.php', 28 28 '2.9.13' => 'upgrades/dokan-upgrade-2.9.13.php', 29 '2.9.16' => 'upgrades/dokan-upgrade-2.9.16.php', 29 30 ]; 30 31 … … 54 55 if ( ! $installed_version ) { 55 56 return false; 57 } 58 59 if ( get_transient( 'dokan_theme_version_for_updater' ) ) { 60 return version_compare( get_transient( 'dokan_theme_version_for_updater' ), DOKAN_PLUGIN_VERSION, '<' ); 56 61 } 57 62 … … 111 116 } 112 117 113 114 118 /** 115 119 * Perform all updates … … 126 130 $installed_version = get_option( 'dokan_theme_version' ); 127 131 132 if ( get_transient( 'dokan_theme_version_for_updater' ) ) { 133 $installed_version = get_transient( 'dokan_theme_version_for_updater' ); 134 } 135 128 136 foreach ( self::$updates as $version => $path ) { 129 137 if ( version_compare( $installed_version, $version, '<' ) ) { … … 133 141 } 134 142 143 delete_transient( 'dokan_theme_version_for_updater' ); 135 144 update_option( 'dokan_theme_version', DOKAN_PLUGIN_VERSION ); 136 145 137 $url = isset( $_SERVER['REQUEST_URI'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : ''; 138 139 $location = remove_query_arg( ['dokan_do_update'], esc_url( $url ) ); 146 $location = wp_unslash( add_query_arg( [ 'page' => 'dokan' ], admin_url( 'admin.php' ) ) ); 140 147 wp_redirect( $location ); 141 148 exit(); 142 149 } 143 144 150 } -
dokan-lite/trunk/dokan.php
r2083300 r2103681 4 4 Plugin URI: https://wordpress.org/plugins/dokan-lite/ 5 5 Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs. 6 Version: 2.9.1 56 Version: 2.9.16 7 7 Author: weDevs, LLC 8 8 Author URI: https://wedevs.com/ 9 9 Text Domain: dokan-lite 10 10 WC requires at least: 3.0 11 WC tested up to: 3.6. 211 WC tested up to: 3.6.4 12 12 Domain Path: /languages/ 13 13 License: GPL2 … … 79 79 * @var string 80 80 */ 81 public $version = '2.9.1 5';81 public $version = '2.9.16'; 82 82 83 83 /** … … 112 112 private function __construct() { 113 113 $this->define_constants(); 114 $this->include_exceptions(); 114 115 115 116 register_activation_hook( __FILE__, array( $this, 'activate' ) ); … … 117 118 118 119 add_action( 'woocommerce_loaded', array( $this, 'init_plugin' ) ); 120 add_action( 'admin_notices', array( $this, 'render_missing_woocommerce_notice' ) ); 119 121 120 122 $this->init_appsero_tracker(); … … 185 187 186 188 /** 189 * Include custom throwable exceptions 190 * 191 * @since 2.9.16 192 * 193 * @return void 194 */ 195 private function include_exceptions() { 196 require_once DOKAN_INC_DIR . '/exceptions/class-dokan-exception.php'; 197 } 198 199 /** 187 200 * Placeholder for activation function 188 201 * … … 190 203 */ 191 204 public function activate() { 192 if ( ! function_exists( 'WC' ) ) { 193 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 194 deactivate_plugins( plugin_basename( __FILE__ ) ); 195 196 wp_die( '<div class="error"><p>' . sprintf( esc_html__( '<b>Dokan</b> requires <a href="%s">WooCommerce</a> to be installed & activated!', 'dokan-lite' ), '<a target="_blank" href="https://wordpress.org/plugins/woocommerce/">', '</a>' ) . '</p></div>' ); 205 if ( ! $this->has_woocommerce() ) { 206 set_transient( 'dokan_wc_missing_notice', true ); 197 207 } 198 208 … … 207 217 require_once dirname( __FILE__ ) . '/includes/functions-compatibility.php'; 208 218 209 // Background Processes210 require_once dirname( __FILE__ ) . '/includes/background-processes/class-dokan-background-processes.php';211 require_once dirname( __FILE__ ) . '/includes/background-processes/abstract-class-dokan-background-processes.php';212 213 219 $installer = new Dokan_Installer(); 214 220 $installer->do_install(); … … 221 227 */ 222 228 public function deactivate() { 223 229 delete_transient( 'dokan_wc_missing_notice', true ); 224 230 } 225 231 … … 239 245 */ 240 246 public function define_constants() { 241 define( 'DOKAN_PLUGIN_VERSION', $this->version );242 define( 'DOKAN_FILE', __FILE__ );243 define( 'DOKAN_DIR', dirname( __FILE__ ) );244 define( 'DOKAN_INC_DIR', dirname( __FILE__ ) . '/includes' );245 define( 'DOKAN_LIB_DIR', dirname( __FILE__ ) . '/lib' );246 define( 'DOKAN_PLUGIN_ASSEST', plugins_url( 'assets', __FILE__ ) );247 $this->define( 'DOKAN_PLUGIN_VERSION', $this->version ); 248 $this->define( 'DOKAN_FILE', __FILE__ ); 249 $this->define( 'DOKAN_DIR', dirname( __FILE__ ) ); 250 $this->define( 'DOKAN_INC_DIR', dirname( __FILE__ ) . '/includes' ); 251 $this->define( 'DOKAN_LIB_DIR', dirname( __FILE__ ) . '/lib' ); 252 $this->define( 'DOKAN_PLUGIN_ASSEST', plugins_url( 'assets', __FILE__ ) ); 247 253 248 254 // give a way to turn off loading styles and scripts from parent theme 249 if ( ! defined( 'DOKAN_LOAD_STYLE' ) ) { 250 define( 'DOKAN_LOAD_STYLE', true ); 251 } 252 253 if ( ! defined( 'DOKAN_LOAD_SCRIPTS' ) ) { 254 define( 'DOKAN_LOAD_SCRIPTS', true ); 255 $this->define( 'DOKAN_LOAD_STYLE', true ); 256 $this->define( 'DOKAN_LOAD_SCRIPTS', true ); 257 } 258 259 /** 260 * Define constant if not already defined 261 * 262 * @since 2.9.16 263 * 264 * @param string $name 265 * @param string|bool $value 266 * 267 * @return void 268 */ 269 private function define( $name, $value ) { 270 if ( ! defined( $name ) ) { 271 define( $name, $value ); 255 272 } 256 273 } … … 263 280 public function init_plugin() { 264 281 $this->includes(); 265 266 282 $this->init_hooks(); 283 $this->maybe_perform_updates(); 267 284 268 285 do_action( 'dokan_loaded' ); … … 351 368 352 369 // Background Processes 353 require_once $inc_dir . 'background-processes/class-dokan-background-processes.php'; 354 require_once $inc_dir . 'background-processes/abstract-class-dokan-background-processes.php'; 370 $this->include_backgorund_processing_files(); 355 371 } 356 372 … … 490 506 } 491 507 508 /** 509 * Missing woocomerce notice 510 * 511 * @since 2.9.16 512 * 513 * @return void 514 */ 515 public function render_missing_woocommerce_notice() { 516 if ( ! get_transient( 'dokan_wc_missing_notice' ) ) { 517 return; 518 } 519 520 if ( $this->has_woocommerce() ) { 521 return delete_transient( 'dokan_wc_missing_notice' ); 522 } 523 524 $plugin_url = self_admin_url( 'plugin-install.php?s=woocommerce&tab=search&type=term' ); 525 $message = sprintf( esc_html__( 'Dokan requires WooCommerce to be installed and active. You can activate %s here.', 'dokan-lite' ), '<a href="' . $plugin_url . '">WooCommerce</a>' ); 526 527 printf( '<div class="error"><p><strong>%1$s</strong></p></div>', $message ); 528 } 529 530 /** 531 * Check whether woocommerce is installed or not 532 * 533 * @since 2.9.16 534 * 535 * @return boolean 536 */ 537 public function has_woocommerce() { 538 return class_exists( 'WooCommerce' ); 539 } 540 541 /** 542 * Maybe perform updates (only runs when dokan was installed before 543 * but wc wasn't installed) 544 * 545 * @since 2.9.16 546 * 547 * @return void 548 */ 549 public function maybe_perform_updates() { 550 if ( ! get_transient( 'dokan_theme_version_for_updater' ) ) { 551 return; 552 } 553 554 $updater = new Dokan_Upgrade; 555 $updater->perform_updates(); 556 } 557 558 /** 559 * Include background processing files 560 * 561 * @since 2.9.16 562 * 563 * @return void 564 */ 565 public function include_backgorund_processing_files() { 566 if ( ! class_exists( 'Abstract_Dokan_Background_Processes' ) ) { 567 require_once DOKAN_INC_DIR . '/background-processes/abstract-class-dokan-background-processes.php'; 568 } 569 570 if ( ! class_exists( 'Dokan_Background_Processes' ) ) { 571 require_once DOKAN_INC_DIR . '/background-processes/class-dokan-background-processes.php'; 572 } 573 } 574 492 575 } // WeDevs_Dokan 493 576 -
dokan-lite/trunk/includes/admin-functions.php
r2044318 r2103681 720 720 **/ 721 721 function dokan_override_product_author_by_admin( $product_id, $post ) { 722 $product = wc_get_product( $product_id );723 $ seller_id = !empty( $_POST['dokan_product_author_override'] ) ? sanitize_text_field( wp_unslash( $_POST['dokan_product_author_override'] ) ): '-1'; // WPCS: CSRF ok.724 725 if ( $seller_id < 0) {722 $product = wc_get_product( $product_id ); 723 $posted_vendor_id = ! empty( $_POST['dokan_product_author_override'] ) ? (int) $_POST['dokan_product_author_override'] : 0; 724 725 if ( ! $posted_vendor_id ) { 726 726 return; 727 727 } 728 728 729 dokan_override_product_author( $product, $seller_id ); 729 $vendor = dokan_get_vendor_by_product( $product ); 730 731 if ( $posted_vendor_id === $vendor->get_id() ) { 732 return; 733 } 734 735 dokan_override_product_author( $product, $posted_vendor_id ); 730 736 } 731 737 -
dokan-lite/trunk/includes/api/class-api-rest-controller.php
r2044318 r2103681 96 96 wp_update_post( array( 'ID' => $object->get_id(), 'post_author' => dokan_get_current_user_id() ) ); 97 97 98 // send email to admin on adding a new product 99 do_action( 'dokan_new_product_added', $object->get_id(), $request ); 98 /** 99 * Fires after a single object is created or updated via the REST API. 100 * 101 * @param WC_Data $object Inserted object. 102 * @param WP_REST_Request $request Request object. 103 * @param boolean $creating True when creating object, false when updating. 104 */ 105 do_action( "dokan_rest_insert_{$this->post_type}_object", $object, $request, true ); 100 106 101 107 return $this->prepare_data_for_response( $this->get_object( $object->get_id() ), $request ); … … 130 136 $object->save(); 131 137 $this->update_additional_fields_for_object( $object, $request ); 138 139 /** 140 * Fires after a single object is created or updated via the REST API. 141 * 142 * @param WC_Data $object Inserted object. 143 * @param WP_REST_Request $request Request object. 144 * @param boolean $creating True when creating object, false when updating. 145 */ 146 do_action( "dokan_rest_insert_{$this->post_type}_object", $object, $request, false ); 147 132 148 return $this->prepare_data_for_response( $this->get_object( $object->get_id() ), $request ); 133 149 } catch ( WC_Data_Exception $e ) { -
dokan-lite/trunk/includes/class-api-manager.php
r2073700 r2103681 43 43 // populate admin commission data for admin 44 44 add_filter( 'dokan_rest_store_additional_fields', array( $this, 'populate_admin_commission' ), 10, 2 ); 45 46 // Send email to admin on adding a new product 47 add_action( 'dokan_rest_insert_product_object', array( $this, 'on_dokan_rest_insert_product' ), 10, 3 ); 45 48 } 46 49 … … 129 132 return $data; 130 133 } 134 135 /** 136 * Send email to admin on adding a new product 137 * 138 * @param WC_Data $object 139 * @param WP_REST_Request $request 140 * @param Boolean $creating 141 * 142 * @return void 143 */ 144 public function on_dokan_rest_insert_product( $object, $request, $creating ) { 145 // if not creating, meaning product is updating. So return early 146 if ( ! $creating ) { 147 return; 148 } 149 150 do_action( 'dokan_new_product_added', $object->get_id(), $request ); 151 } 131 152 } -
dokan-lite/trunk/includes/class-order-manager.php
r2073700 r2103681 18 18 19 19 // prevent non-vendor coupons from being added 20 add_filter( 'woocommerce_coupon_is_valid', array( $this, 'ensure_vendor_coupon' ), 10, 3);20 add_filter( 'woocommerce_coupon_is_valid', array( $this, 'ensure_vendor_coupon' ), 10, 2 ); 21 21 22 22 if ( is_admin() ) { … … 464 464 $available_vendors = array(); 465 465 466 if ( ! apply_filters( 'dokan_ensure_vendor_coupon', true ) ) { 467 return $valid; 468 } 469 466 470 // a coupon must be bound with a product 467 471 if ( count( $coupon->get_product_ids() ) == 0 ) { -
dokan-lite/trunk/includes/class-product-manager.php
r1995740 r2103681 30 30 $args = wp_parse_args( $args, $defaults ); 31 31 32 return new WP_Query( $args);32 return new WP_Query( apply_filters( 'dokan_all_products_query', $args ) ); 33 33 } 34 34 … … 71 71 } 72 72 73 return $this->all( $args);73 return $this->all( apply_filters( 'dokan_featured_products_query', $args ) ); 74 74 } 75 75 … … 102 102 } 103 103 104 return $this->all( $args);104 return $this->all( apply_filters( 'dokan_latest_products_query', $args ) ); 105 105 } 106 106 … … 135 135 } 136 136 137 return $this->all( $args);137 return $this->all( apply_filters( 'dokan_best_selling_products_query', $args ) ); 138 138 } 139 139 … … 166 166 167 167 add_filter( 'posts_clauses', array( 'WC_Shortcodes', 'order_by_rating_post_clauses' ) ); 168 $products = $this->all( $args);168 $products = $this->all( apply_filters( 'dokan_top_rated_products_query', $args ) ); 169 169 remove_filter( 'posts_clauses', array( 'WC_Shortcodes', 'order_by_rating_post_clauses' ) ); 170 170 -
dokan-lite/trunk/includes/class-vendor-manager.php
r2073700 r2103681 149 149 'address' => ! empty( $data['address'] ) ? $data['address'] : [], 150 150 'location' => ! empty( $data['location'] ) ? $data['location'] : '', 151 'banner' => ! empty( $data['banner'] ) ? $data['banner'] : 0, 152 'banner_id' => ! empty( $data['banner_id'] ) ? $data['banner_id'] : 0, 151 'banner' => ! empty( $data['banner_id'] ) ? $data['banner_id'] : 0, 153 152 'icon' => ! empty( $data['icon'] ) ? $data['icon'] : '', 154 'gravatar' => ! empty( $data['gravatar'] ) ? $data['gravatar'] : 0, 155 'gravatar_id' => ! empty( $data['gravatar_id'] ) ? $data['gravatar_id'] : 0, 153 'gravatar' => ! empty( $data['gravatar_id'] ) ? $data['gravatar_id'] : 0, 156 154 'show_more_ptab' => ! empty( $data['show_more_ptab'] ) ? $data['show_more_ptab'] : 'yes', 157 155 'store_ppp' => ! empty( $data['store_ppp'] ) ? $data['store_ppp'] : 10, -
dokan-lite/trunk/includes/class-vendor.php
r2075290 r2103681 190 190 'location' => '', 191 191 'banner' => 0, 192 'banner_id' => 0,193 192 'icon' => 0, 194 193 'gravatar' => 0, 195 'gravatar_id' => 0,196 194 'show_more_ptab' => 'yes', 197 195 'store_ppp' => 10, … … 405 403 $banner_id = $this->get_banner_id(); 406 404 407 if ( ! $banner_id ) { 408 $banner = $this->get_info_part( 'banner' ); 409 410 if ( $banner ) { 411 $banner_id = $banner; 412 } else { 413 return false; 414 } 415 } 416 417 return wp_get_attachment_url( $banner_id ); 405 return $banner_id ? wp_get_attachment_url( $banner_id ) : ''; 418 406 } 419 407 … … 426 414 */ 427 415 public function get_banner_id() { 428 $banner_id = (int) $this->get_info_part( 'banner _id' );416 $banner_id = (int) $this->get_info_part( 'banner' ); 429 417 430 418 return $banner_id ? $banner_id : 0; … … 441 429 $avatar_id = $this->get_avatar_id(); 442 430 443 if ( ! $avatar_id ) {444 $avatar_id = $this->get_info_part( 'gravatar' );445 }446 447 431 if ( ! $avatar_id && ! empty( $this->data->user_email ) ) { 448 432 return get_avatar_url( $this->data->user_email, 96 ); … … 460 444 */ 461 445 public function get_avatar_id() { 462 $avatar_id = (int) $this->get_info_part( 'gravatar _id' );446 $avatar_id = (int) $this->get_info_part( 'gravatar' ); 463 447 464 448 return $avatar_id ? $avatar_id : 0; … … 832 816 * Get store open notice 833 817 * 834 * @return string|null on failure 835 */ 836 public function get_store_open_notice() { 837 return $this->get_info_part( 'dokan_store_open_notice' ); 818 * @param string $default_notice 819 * 820 * @return string 821 */ 822 public function get_store_open_notice( $default_notice = '' ) { 823 $notice = $this->get_info_part( 'dokan_store_open_notice' ); 824 $default_notice = $default_notice ? $default_notice : __( 'Store is open', 'dokan' ); 825 826 return $notice ? $notice : $default_notice; 838 827 } 839 828 … … 841 830 * Get store close notice 842 831 * 843 * @return string|null on failure 844 */ 845 public function get_store_close_notice() { 846 return $this->get_info_part( 'dokan_store_close_notice' ); 832 * @param string $default_notice 833 * 834 * @return string 835 */ 836 public function get_store_close_notice( $default_notice = '' ) { 837 $notice = $this->get_info_part( 'dokan_store_close_notice' ); 838 $default_notice = $default_notice ? $default_notice : __( 'Store is closed', 'dokan' ); 839 840 return $notice ? $notice : $default_notice; 847 841 } 848 842 … … 868 862 */ 869 863 public function set_gravatar_id( $value ) { 870 $this->set_prop( 'gravatar _id', (int) $value );864 $this->set_prop( 'gravatar', (int) $value ); 871 865 } 872 866 … … 877 871 */ 878 872 public function set_banner_id( $value ) { 879 $this->set_prop( 'banner _id', (int) $value );873 $this->set_prop( 'banner', (int) $value ); 880 874 } 881 875 -
dokan-lite/trunk/includes/functions.php
r2083300 r2103681 149 149 150 150 return false; 151 152 151 } 153 152 … … 2009 2008 } 2010 2009 2011 // see if there is a user_avatar meta field 2012 $user_avatar = get_user_meta( $user->ID, 'dokan_profile_settings', true ); 2013 $gravatar_id = ! empty( $user_avatar['gravatar_id'] ) ? $user_avatar['gravatar_id'] : 0; 2014 $gravatar_id = ! empty( $user_avatar['gravatar'] ) ? $user_avatar['gravatar'] : $gravatar_id; 2015 2016 if ( empty( $gravatar_id ) ) { 2010 $vendor = dokan()->vendor->get( $user->ID ); 2011 $gravatar_id = $vendor->get_avatar_id(); 2012 2013 if ( ! $gravatar_id ) { 2017 2014 return $url; 2018 2015 } … … 2792 2789 * @param int $seller_id 2793 2790 * 2794 * @return int $earning;2791 * @return float $earning | zero on failure or no price 2795 2792 */ 2796 2793 function dokan_get_earning_by_product( $product_id, $seller_id ) { … … 2806 2803 $percentage_type = dokan_get_commission_type( $seller_id, $product_id ); 2807 2804 $price = $product->get_price(); 2808 $earning = 'percentage' == $percentage_type ? (float) ( $price * $percentage ) / 100 : $price - $percentage; 2805 2806 if ( ! $price || 0 > $price ) { 2807 return 0; 2808 } 2809 2810 $earning = 'percentage' == $percentage_type ? (float) ( $price * $percentage ) / 100 : $price - $percentage; 2809 2811 2810 2812 return wc_format_decimal( $earning ); … … 3508 3510 return filter_var( $var, FILTER_VALIDATE_BOOLEAN ); 3509 3511 } 3512 3513 /** 3514 * Dokan get terms and condition page url 3515 * 3516 * @since 2.9.16 3517 * 3518 * @return url | null on failure 3519 */ 3520 function dokan_get_terms_condition_url() { 3521 $page_id = dokan_get_option( 'reg_tc_page', 'dokan_pages' ); 3522 3523 if ( ! $page_id ) { 3524 return null; 3525 } 3526 3527 return apply_filters( 'dokan_get_terms_condition_url', get_permalink( $page_id ), $page_id ); 3528 } -
dokan-lite/trunk/includes/order-functions.php
r2053968 r2103681 232 232 233 233 if ( $counts === false ) { 234 $counts = array('wc-pending' => 0, 'wc-completed' => 0, 'wc-on-hold' => 0, 'wc-processing' => 0, 'wc-refunded' => 0, 'wc-cancelled' => 0, 'total' => 0); 234 $counts = [ 235 'wc-pending' => 0, 236 'wc-completed' => 0, 237 'wc-on-hold' => 0, 238 'wc-processing' => 0, 239 'wc-refunded' => 0, 240 'wc-cancelled' => 0, 241 'wc-failed' => 0, 242 'total' => 0 243 ]; 235 244 236 245 $results = $wpdb->get_results( $wpdb->prepare( "SELECT do.order_status … … 379 388 * @param int $order_id 380 389 * 381 * @return int 390 * @return int | 0 on failure 382 391 */ 383 392 function dokan_get_seller_id_by_order( $order_id ) { … … 386 395 $cache_key = 'dokan_get_seller_id_' . $order_id; 387 396 $cache_group = 'dokan_get_seller_id_by_order'; 388 $sellers = wp_cache_get( $cache_key, $cache_group ); 389 390 if ( false === $sellers ) { 391 $sellers = $wpdb->get_results( $wpdb->prepare( "SELECT seller_id FROM {$wpdb->prefix}dokan_orders WHERE order_id = %d", $order_id ) ); 392 wp_cache_set( $cache_key, $sellers, $cache_group ); 393 } 394 395 if ( count( $sellers ) == 1 ) { 396 return absint( reset( $sellers )->seller_id ); 397 $seller = wp_cache_get( $cache_key, $cache_group ); 398 $items = []; 399 $seller_id = 0; 400 401 if ( false === $seller ) { 402 $seller = $wpdb->get_results( $wpdb->prepare( "SELECT seller_id FROM {$wpdb->prefix}dokan_orders WHERE order_id = %d", $order_id ) ); 403 wp_cache_set( $cache_key, $seller, $cache_group ); 404 } 405 406 if ( count( $seller ) === 1 ) { 407 $seller_id = absint( reset( $seller )->seller_id ); 408 409 return apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 397 410 } 398 411 399 412 // if seller is not found, try to retrieve it via line items 400 if ( ! $seller s) {413 if ( ! $seller ) { 401 414 $order = wc_get_order( $order_id ); 402 415 416 if ( ! $order instanceof WC_Order ) { 417 return apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 418 } 419 403 420 if ( $order->get_meta( 'has_sub_order' ) ) { 404 return 0;421 return apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 405 422 } 406 423 … … 408 425 409 426 if ( ! $items ) { 410 return 0;427 return apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 411 428 } 412 429 413 430 $product_id = current( $items )->get_product_id(); 414 431 $seller_id = get_post_field( 'post_author', $product_id ); 415 $seller_id = apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 416 417 return $seller_id ? absint( $seller_id ) : 0; 418 } 419 420 return 0; 432 $seller_id = $seller_id ? absint( $seller_id ) : 0; 433 434 return apply_filters( 'dokan_get_seller_id_by_order', $seller_id, $items ); 435 } 421 436 } 422 437 -
dokan-lite/trunk/includes/template-tags.php
r2073700 r2103681 180 180 $canceled_order_url = array(); 181 181 $refund_order_url = array(); 182 $failed_order_url = array(); 182 183 ?> 183 184 … … 280 281 <a href="<?php echo esc_url( add_query_arg( $refund_order_url, $orders_url ) ); ?>"> 281 282 <?php printf( esc_html__( 'Refunded (%d)', 'dokan-lite' ), esc_attr( $orders_counts->{'wc-refunded'} ) ); ?></span> 283 </a> 284 </li> 285 <li<?php echo $status_class == 'wc-failed' ? ' class="active"' : ''; ?>> 286 <?php 287 if ( $order_date ) { 288 $date_filter = array( 289 'order_date' => $order_date, 290 'dokan_order_filter' => 'Filter', 291 ); 292 } 293 294 $failed_order_url = array_merge( $date_filter, array( 'order_status' => 'wc-failed' ) ); 295 ?> 296 <a href="<?php echo esc_url( add_query_arg( $failed_order_url, $orders_url ) ); ?>"> 297 <?php printf( esc_html__( 'Failed (%d)', 'dokan-lite' ), esc_attr( $orders_counts->{'wc-failed'} ) ); ?></span> 282 298 </a> 283 299 </li> -
dokan-lite/trunk/includes/wc-template.php
r2075290 r2103681 218 218 } 219 219 220 if ( isset( $_REQUEST['dokan_product_author_override'] ) ) { 221 $vendor_id = sanitize_text_field( wp_unslash( $_REQUEST['dokan_product_author_override'] ) ); 222 223 if ( ! $vendor_id ) { 224 return; 225 } 226 227 wp_update_post( array( 'ID' => $product->get_id(), 'post_author' => $vendor_id ) ); 228 } 220 $posted_vendor_id = ! empty( $_REQUEST['dokan_product_author_override'] ) ? (int) $_REQUEST['dokan_product_author_override'] : 0; 221 222 if ( ! $posted_vendor_id ) { 223 return; 224 } 225 226 $vendor = dokan_get_vendor_by_product( $product ); 227 228 if ( $posted_vendor_id === $vendor->get_id() ) { 229 return; 230 } 231 232 wp_update_post( array( 'ID' => $product->get_id(), 'post_author' => $posted_vendor_id ) ); 229 233 } 230 234 … … 332 336 add_action( 'dokan_store_profile_saved', function( $store_id, $settings ) { 333 337 $store_info = dokan_get_store_info( $store_id ); 334 $banner = isset( $store_info['banner'] ) ? true : false;335 $gravatar = isset( $store_info['gravatar'] ) ? true : false;336 338 $all_times = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : false; 337 339 $days = [ 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday' ]; 338 340 $is_status_unsated = false; 339 340 if ( $banner ) {341 unset( $store_info['banner'] );342 }343 344 if ( $gravatar ) {345 unset( $store_info['gravatar'] );346 }347 341 348 342 if ( $all_times ) { … … 356 350 } 357 351 358 if ( $ banner || $gravatar || $is_status_unsated ) {352 if ( $is_status_unsated ) { 359 353 update_user_meta( $store_id, 'dokan_profile_settings', $store_info ); 360 354 } -
dokan-lite/trunk/includes/woo-views/html-product-download.php
r1994959 r2103681 12 12 <td> 13 13 <p> 14 <a href="#" class="dokan-btn dokan-btn-sm dokan-btn-danger d elete"><span><?php esc_html_e( 'Delete', 'dokan-lite' ); ?></span></a>14 <a href="#" class="dokan-btn dokan-btn-sm dokan-btn-danger dokan-product-delete"><span><?php esc_html_e( 'Delete', 'dokan-lite' ); ?></span></a> 15 15 </p> 16 16 </td> -
dokan-lite/trunk/languages/dokan-lite.pot
r2083300 r2103681 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Dokan 2.9.1 5\n"5 "Project-Id-Version: Dokan 2.9.16\n" 6 6 "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n" 7 "POT-Creation-Date: 2019-0 5-08 09:11:01+00:00\n"7 "POT-Creation-Date: 2019-06-11 03:21:00+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 38 38 msgstr "" 39 39 40 #: classes/admin-user-profile.php:8 7classes/seller-setup-wizard.php:20740 #: classes/admin-user-profile.php:86 classes/seller-setup-wizard.php:207 41 41 #: includes/class-dokan-privacy.php:221 42 42 msgid "Country" 43 43 msgstr "" 44 44 45 #: classes/admin-user-profile.php:9 145 #: classes/admin-user-profile.php:90 46 46 msgid "Select a country…" 47 47 msgstr "" 48 48 49 #: classes/admin-user-profile.php:93 50 msgid "State/County" 51 msgstr "" 52 49 53 #: classes/admin-user-profile.php:94 50 msgid "State/County"51 msgstr ""52 53 #: classes/admin-user-profile.php:9554 54 msgid "State/County or state code" 55 55 msgstr "" 56 56 57 #: classes/admin-user-profile.php: 10057 #: classes/admin-user-profile.php:99 58 58 msgid "Dokan Options" 59 59 msgstr "" 60 60 61 #: classes/admin-user-profile.php:10 561 #: classes/admin-user-profile.php:104 62 62 msgid "Banner" 63 63 msgstr "" 64 64 65 #: classes/admin-user-profile.php:11 7 templates/settings/store-form.php:7865 #: classes/admin-user-profile.php:116 templates/settings/store-form.php:76 66 66 msgid "Upload banner" 67 67 msgstr "" 68 68 69 #: classes/admin-user-profile.php:12 169 #: classes/admin-user-profile.php:120 70 70 msgid "Upload a banner for your store. Banner size is (%1$sx%2$s) pixels." 71 71 msgstr "" 72 72 73 #: classes/admin-user-profile.php:13 373 #: classes/admin-user-profile.php:132 74 74 msgid "Store name" 75 75 msgstr "" 76 76 77 #: classes/admin-user-profile.php:1 4077 #: classes/admin-user-profile.php:139 78 78 msgid "Store URL" 79 79 msgstr "" 80 80 81 #: classes/admin-user-profile.php:14 8includes/class-dokan-privacy.php:21781 #: classes/admin-user-profile.php:147 includes/class-dokan-privacy.php:217 82 82 msgid "Address 1" 83 83 msgstr "" 84 84 85 #: classes/admin-user-profile.php:15 5includes/class-dokan-privacy.php:21885 #: classes/admin-user-profile.php:154 includes/class-dokan-privacy.php:218 86 86 msgid "Address 2" 87 87 msgstr "" 88 88 89 #: classes/admin-user-profile.php:16 289 #: classes/admin-user-profile.php:161 90 90 msgid "Town/City" 91 91 msgstr "" 92 92 93 #: classes/admin-user-profile.php:16 993 #: classes/admin-user-profile.php:168 94 94 msgid "Zip Code" 95 95 msgstr "" 96 96 97 #: classes/admin-user-profile.php:2 1097 #: classes/admin-user-profile.php:209 98 98 #: templates/account/vendor-registration.php:33 99 99 #: templates/global/seller-registration-form.php:38 … … 101 101 msgstr "" 102 102 103 #: classes/admin-user-profile.php:22 8103 #: classes/admin-user-profile.php:227 104 104 msgid "Payment Options : " 105 105 msgstr "" 106 106 107 #: classes/admin-user-profile.php:23 3107 #: classes/admin-user-profile.php:232 108 108 msgid "Paypal Email " 109 109 msgstr "" 110 110 111 #: classes/admin-user-profile.php:24 1111 #: classes/admin-user-profile.php:240 112 112 msgid "Skrill Email " 113 113 msgstr "" 114 114 115 #: classes/admin-user-profile.php:2 50115 #: classes/admin-user-profile.php:249 116 116 msgid "Bank name " 117 117 msgstr "" 118 118 119 #: classes/admin-user-profile.php:25 6119 #: classes/admin-user-profile.php:255 120 120 msgid "Account Name " 121 121 msgstr "" 122 122 123 #: classes/admin-user-profile.php:26 2123 #: classes/admin-user-profile.php:261 124 124 msgid "Account Number " 125 125 msgstr "" 126 126 127 #: classes/admin-user-profile.php:26 8127 #: classes/admin-user-profile.php:267 128 128 msgid "Bank Address " 129 129 msgstr "" 130 130 131 #: classes/admin-user-profile.php:27 4includes/class-dokan-privacy.php:278131 #: classes/admin-user-profile.php:273 includes/class-dokan-privacy.php:278 132 132 msgid "Routing Number" 133 133 msgstr "" 134 134 135 #: classes/admin-user-profile.php:2 80135 #: classes/admin-user-profile.php:279 136 136 msgid "Bank IBAN " 137 137 msgstr "" 138 138 139 #: classes/admin-user-profile.php:28 6139 #: classes/admin-user-profile.php:285 140 140 msgid "Bank Swift " 141 141 msgstr "" 142 142 143 #: classes/admin-user-profile.php:29 3includes/admin/setup-wizard.php:109143 #: classes/admin-user-profile.php:292 includes/admin/setup-wizard.php:109 144 144 msgid "Selling" 145 145 msgstr "" 146 146 147 #: classes/admin-user-profile.php:29 8147 #: classes/admin-user-profile.php:297 148 148 msgid "Enable Adding Products" 149 149 msgstr "" 150 150 151 #: classes/admin-user-profile.php:30 1151 #: classes/admin-user-profile.php:300 152 152 msgid "Enable or disable product adding capability" 153 153 msgstr "" 154 154 155 #: classes/admin-user-profile.php:30 6155 #: classes/admin-user-profile.php:305 156 156 msgid "Publishing" 157 157 msgstr "" 158 158 159 #: classes/admin-user-profile.php:31 1159 #: classes/admin-user-profile.php:310 160 160 msgid "Publish product directly" 161 161 msgstr "" 162 162 163 #: classes/admin-user-profile.php:31 4163 #: classes/admin-user-profile.php:313 164 164 msgid "Bypass pending, publish products directly" 165 165 msgstr "" 166 166 167 #: classes/admin-user-profile.php:31 9167 #: classes/admin-user-profile.php:318 168 168 msgid "Admin Commission Type " 169 169 msgstr "" 170 170 171 #: classes/admin-user-profile.php:32 2includes/admin/class-settings.php:258171 #: classes/admin-user-profile.php:321 includes/admin/class-settings.php:258 172 172 msgid "Percentage" 173 173 msgstr "" 174 174 175 #: classes/admin-user-profile.php:32 3includes/admin/class-settings.php:257175 #: classes/admin-user-profile.php:322 includes/admin/class-settings.php:257 176 176 msgid "Flat" 177 177 msgstr "" 178 178 179 #: classes/admin-user-profile.php:32 5179 #: classes/admin-user-profile.php:324 180 180 msgid "Set the commmission type admin gets from this seller" 181 181 msgstr "" 182 182 183 #: classes/admin-user-profile.php:32 9183 #: classes/admin-user-profile.php:328 184 184 msgid "Admin Commission " 185 185 msgstr "" 186 186 187 #: classes/admin-user-profile.php:33 3187 #: classes/admin-user-profile.php:332 188 188 msgid "It will override the default commission admin gets from each sales" 189 189 msgstr "" 190 190 191 #: classes/admin-user-profile.php:33 8191 #: classes/admin-user-profile.php:337 192 192 msgid "Featured vendor" 193 193 msgstr "" 194 194 195 #: classes/admin-user-profile.php:34 3195 #: classes/admin-user-profile.php:342 196 196 msgid "Mark as featured vendor" 197 197 msgstr "" 198 198 199 #: classes/admin-user-profile.php:34 6199 #: classes/admin-user-profile.php:345 200 200 msgid "This vendor will be marked as a featured vendor." 201 201 msgstr "" … … 302 302 msgstr "" 303 303 304 #: classes/installer.php:1 14includes/admin/class-settings.php:289304 #: classes/installer.php:122 includes/admin/class-settings.php:289 305 305 #: includes/admin/class-settings.php:297 includes/admin/setup-wizard.php:254 306 306 #: includes/admin-functions.php:44 includes/admin-functions.php:50 307 307 #: includes/admin-functions.php:685 includes/admin-functions.php:709 308 308 #: includes/wc-template.php:13 includes/wc-template.php:146 309 #: includes/wc-template.php:28 0templates/my-orders.php:31309 #: includes/wc-template.php:284 templates/my-orders.php:31 310 310 msgid "Vendor" 311 311 msgstr "" 312 312 313 #: classes/installer.php:1 78includes/admin/class-admin.php:134313 #: classes/installer.php:186 includes/admin/class-admin.php:134 314 314 #: includes/admin/class-admin.php:186 includes/admin/class-settings.php:402 315 #: includes/template-tags.php:3 07src/admin/pages/Dashboard.vue:3315 #: includes/template-tags.php:323 src/admin/pages/Dashboard.vue:3 316 316 msgid "Dashboard" 317 317 msgstr "" 318 318 319 #: classes/installer.php:1 84319 #: classes/installer.php:192 320 320 msgid "Store List" 321 321 msgstr "" 322 322 323 #: classes/installer.php:19 0includes/admin/class-settings.php:408323 #: classes/installer.php:198 includes/admin/class-settings.php:408 324 324 #: templates/global/header-menu.php:46 325 325 msgid "My Orders" … … 331 331 332 332 #: classes/seller-setup-wizard.php:69 includes/admin/setup-wizard.php:104 333 #: includes/template-tags.php:3 52333 #: includes/template-tags.php:368 334 334 msgid "Store" 335 335 msgstr "" 336 336 337 #: classes/seller-setup-wizard.php:74 includes/template-tags.php:3 59337 #: classes/seller-setup-wizard.php:74 includes/template-tags.php:375 338 338 msgid "Payment" 339 339 msgstr "" … … 380 380 msgstr "" 381 381 382 #: classes/seller-setup-wizard.php:179 templates/settings/store-form.php:1 30382 #: classes/seller-setup-wizard.php:179 templates/settings/store-form.php:128 383 383 msgid "Store Product Per Page" 384 384 msgstr "" … … 409 409 msgstr "" 410 410 411 #: classes/seller-setup-wizard.php:224 templates/settings/store-form.php:1 60411 #: classes/seller-setup-wizard.php:224 templates/settings/store-form.php:158 412 412 msgid "Email" 413 413 msgstr "" 414 414 415 #: classes/seller-setup-wizard.php:228 templates/settings/store-form.php:16 5415 #: classes/seller-setup-wizard.php:228 templates/settings/store-form.php:163 416 416 msgid "Show email address in store" 417 417 msgstr "" … … 446 446 447 447 #: classes/template-dashboard.php:105 includes/admin/setup-wizard.php:530 448 #: includes/order-functions.php:4 82templates/dashboard/orders-widget.php:26448 #: includes/order-functions.php:497 templates/dashboard/orders-widget.php:26 449 449 msgid "Completed" 450 450 msgstr "" … … 455 455 456 456 #: classes/template-dashboard.php:115 includes/admin/setup-wizard.php:536 457 #: includes/order-functions.php: 497templates/dashboard/orders-widget.php:36457 #: includes/order-functions.php:512 templates/dashboard/orders-widget.php:36 458 458 #: templates/orders/listing.php:137 459 459 msgid "Processing" 460 460 msgstr "" 461 461 462 #: classes/template-dashboard.php:120 includes/order-functions.php:5 07462 #: classes/template-dashboard.php:120 includes/order-functions.php:522 463 463 #: templates/dashboard/orders-widget.php:41 464 464 msgid "Cancelled" 465 465 msgstr "" 466 466 467 #: classes/template-dashboard.php:125 includes/order-functions.php:5 02467 #: classes/template-dashboard.php:125 includes/order-functions.php:517 468 468 #: templates/dashboard/orders-widget.php:46 469 469 msgid "Refunded" … … 520 520 521 521 #: classes/template-settings.php:70 classes/template-settings.php:74 522 #: dokan.php:4 77includes/admin/class-admin.php:146523 #: includes/admin/class-admin.php:207 includes/template-tags.php:3 38522 #: dokan.php:493 includes/admin/class-admin.php:146 523 #: includes/admin/class-admin.php:207 includes/template-tags.php:354 524 524 #: src/admin/pages/Settings.vue:3 525 525 msgid "Settings" … … 649 649 msgstr "" 650 650 651 #: classes/upgrade.php:8 4includes/admin/class-admin.php:268651 #: classes/upgrade.php:89 includes/admin/class-admin.php:268 652 652 msgid "Dokan Data Update Required" 653 653 msgstr "" 654 654 655 #: classes/upgrade.php:8 4includes/admin/class-admin.php:268655 #: classes/upgrade.php:89 includes/admin/class-admin.php:268 656 656 msgid "We need to update your install to the latest version" 657 657 msgstr "" 658 658 659 #: classes/upgrade.php: 85includes/admin/class-admin.php:269659 #: classes/upgrade.php:90 includes/admin/class-admin.php:269 660 660 msgid "Run the updater" 661 661 msgstr "" 662 662 663 #: classes/upgrade.php:9 0includes/admin/class-admin.php:274663 #: classes/upgrade.php:95 includes/admin/class-admin.php:274 664 664 msgid "" 665 665 "It is strongly recommended that you backup your database before proceeding. " … … 675 675 msgstr "" 676 676 677 #: dokan.php:196 678 msgid "" 679 "<b>Dokan</b> requires <a href=\"%s\">WooCommerce</a> to be installed & " 680 "activated!" 681 msgstr "" 682 683 #: dokan.php:202 677 #: dokan.php:212 684 678 msgid "" 685 679 "The Minimum PHP Version Requirement for <b>Dokan</b> is %s. You are Running " … … 687 681 msgstr "" 688 682 689 #: dokan.php:4 74683 #: dokan.php:490 690 684 msgid "Get Pro" 691 685 msgstr "" 692 686 693 #: dokan.php:4 78687 #: dokan.php:494 694 688 msgid "Documentation" 689 msgstr "" 690 691 #: dokan.php:525 692 msgid "" 693 "Dokan requires WooCommerce to be installed and active. You can activate %s " 694 "here." 695 695 msgstr "" 696 696 … … 773 773 #: includes/admin/class-admin.php:124 includes/admin/class-admin.php:135 774 774 #: includes/admin/class-admin.php:193 includes/admin/setup-wizard.php:114 775 #: includes/template-tags.php:3 29templates/withdraw/header.php:11775 #: includes/template-tags.php:345 templates/withdraw/header.php:11 776 776 msgid "Withdraw" 777 777 msgstr "" … … 849 849 msgstr "" 850 850 851 #: includes/admin/class-settings.php:279 includes/functions.php:121 1852 #: templates/settings/store-form.php:20 7851 #: includes/admin/class-settings.php:279 includes/functions.php:1210 852 #: templates/settings/store-form.php:205 853 853 msgid "Terms and Conditions" 854 854 msgstr "" … … 1027 1027 msgstr "" 1028 1028 1029 #: includes/admin/class-settings.php:460 includes/functions.php:346 01029 #: includes/admin/class-settings.php:460 includes/functions.php:3462 1030 1030 msgid "" 1031 1031 "Your personal data will be used to support your experience throughout this " … … 1251 1251 msgstr "" 1252 1252 1253 #: includes/admin/setup-wizard.php:542 includes/order-functions.php: 4921253 #: includes/admin/setup-wizard.php:542 includes/order-functions.php:507 1254 1254 msgid "On-hold" 1255 1255 msgstr "" … … 1337 1337 msgstr "" 1338 1338 1339 #: includes/admin-functions.php:495 includes/admin-functions.php:87 21339 #: includes/admin-functions.php:495 includes/admin-functions.php:878 1340 1340 #: includes/api/admin/class-report-controller.php:129 1341 1341 msgid "Total Sales" 1342 1342 msgstr "" 1343 1343 1344 #: includes/admin-functions.php:502 includes/admin-functions.php:8 791344 #: includes/admin-functions.php:502 includes/admin-functions.php:885 1345 1345 msgid "Total: " 1346 1346 msgstr "" 1347 1347 1348 #: includes/admin-functions.php:505 includes/admin-functions.php:88 21348 #: includes/admin-functions.php:505 includes/admin-functions.php:888 1349 1349 #: includes/api/admin/class-report-controller.php:137 includes/reports.php:359 1350 1350 msgid "Number of orders" 1351 1351 msgstr "" 1352 1352 1353 #: includes/admin-functions.php:512 includes/admin-functions.php:8 891353 #: includes/admin-functions.php:512 includes/admin-functions.php:895 1354 1354 msgid "sales" 1355 1355 msgstr "" 1356 1356 1357 #: includes/admin-functions.php:515 includes/admin-functions.php:89 21357 #: includes/admin-functions.php:515 includes/admin-functions.php:898 1358 1358 #: includes/api/admin/class-report-controller.php:144 1359 1359 msgid "Commision" 1360 1360 msgstr "" 1361 1361 1362 #: includes/admin-functions.php:522 includes/admin-functions.php: 8991362 #: includes/admin-functions.php:522 includes/admin-functions.php:905 1363 1363 msgid "Commision: " 1364 1364 msgstr "" … … 1398 1398 1399 1399 #: includes/api/admin/class-report-controller.php:141 1400 #: includes/template-tags.php:3 21templates/dashboard/orders-widget.php:151400 #: includes/template-tags.php:337 templates/dashboard/orders-widget.php:15 1401 1401 msgid "Orders" 1402 1402 msgstr "" 1403 1403 1404 1404 #: includes/api/class-api-rest-controller.php:19 1405 #: includes/api/class-api-rest-controller.php:1 801406 #: includes/api/class-api-rest-controller.php:2 541405 #: includes/api/class-api-rest-controller.php:196 1406 #: includes/api/class-api-rest-controller.php:270 1407 1407 msgid "Method '%s' not implemented. Must be overridden in subclass." 1408 1408 msgstr "" … … 1422 1422 msgstr "" 1423 1423 1424 #: includes/api/class-api-rest-controller.php:1 641424 #: includes/api/class-api-rest-controller.php:180 1425 1425 #: includes/api/class-order-controller.php:657 1426 1426 msgid "The %s cannot be deleted." … … 1443 1443 msgstr "" 1444 1444 1445 #: includes/api/class-order-controller.php:93 includes/order-functions.php:7 621445 #: includes/api/class-order-controller.php:93 includes/order-functions.php:777 1446 1446 msgid "Order Status" 1447 1447 msgstr "" … … 2936 2936 msgstr "" 2937 2937 2938 #: includes/class-dokan-privacy.php:174 templates/settings/store-form.php:1 202938 #: includes/class-dokan-privacy.php:174 templates/settings/store-form.php:118 2939 2939 msgid "Store Name" 2940 2940 msgstr "" … … 2964 2964 msgstr "" 2965 2965 2966 #: includes/class-dokan-privacy.php:195 includes/functions.php:232 62966 #: includes/class-dokan-privacy.php:195 includes/functions.php:2323 2967 2967 msgid "Facebook" 2968 2968 msgstr "" 2969 2969 2970 #: includes/class-dokan-privacy.php:196 includes/functions.php:23 302970 #: includes/class-dokan-privacy.php:196 includes/functions.php:2327 2971 2971 msgid "Google Plus" 2972 2972 msgstr "" 2973 2973 2974 #: includes/class-dokan-privacy.php:197 includes/functions.php:233 42974 #: includes/class-dokan-privacy.php:197 includes/functions.php:2331 2975 2975 msgid "Twitter" 2976 2976 msgstr "" 2977 2977 2978 #: includes/class-dokan-privacy.php:198 includes/functions.php:233 82978 #: includes/class-dokan-privacy.php:198 includes/functions.php:2335 2979 2979 msgid "Pinterest" 2980 2980 msgstr "" … … 2984 2984 msgstr "" 2985 2985 2986 #: includes/class-dokan-privacy.php:200 includes/functions.php:234 62986 #: includes/class-dokan-privacy.php:200 includes/functions.php:2343 2987 2987 msgid "Youtube" 2988 2988 msgstr "" 2989 2989 2990 #: includes/class-dokan-privacy.php:201 includes/functions.php:23 502990 #: includes/class-dokan-privacy.php:201 includes/functions.php:2347 2991 2991 msgid "Instagram" 2992 2992 msgstr "" 2993 2993 2994 #: includes/class-dokan-privacy.php:202 includes/functions.php:235 42994 #: includes/class-dokan-privacy.php:202 includes/functions.php:2351 2995 2995 msgid "Flickr" 2996 2996 msgstr "" … … 3080 3080 msgstr "" 3081 3081 3082 #: includes/class-order-manager.php:4 683082 #: includes/class-order-manager.php:472 3083 3083 msgid "A coupon must be restricted with a vendor product." 3084 3084 msgstr "" 3085 3085 3086 #: includes/class-order-manager.php:52 43086 #: includes/class-order-manager.php:528 3087 3087 #. translators: %s item name. 3088 3088 msgid "Unable to restore stock for item %s." … … 3093 3093 msgstr "" 3094 3094 3095 #: includes/class-registration.php:7 33095 #: includes/class-registration.php:75 3096 3096 msgid "Nonce verification failed" 3097 3097 msgstr "" 3098 3098 3099 #: includes/class-registration.php:8 03099 #: includes/class-registration.php:83 3100 3100 msgid "Cheating, eh?" 3101 3101 msgstr "" 3102 3102 3103 #: includes/class-registration.php:8 63103 #: includes/class-registration.php:89 3104 3104 msgid "Please enter your first name." 3105 3105 msgstr "" 3106 3106 3107 #: includes/class-registration.php: 873107 #: includes/class-registration.php:90 3108 3108 msgid "Please enter your last name." 3109 3109 msgstr "" 3110 3110 3111 #: includes/class-registration.php: 883111 #: includes/class-registration.php:91 3112 3112 msgid "Please enter your phone number." 3113 3113 msgstr "" 3114 3114 3115 #: includes/class-registration.php: 893115 #: includes/class-registration.php:92 3116 3116 msgid "Please provide a shop name." 3117 3117 msgstr "" … … 3121 3121 msgstr "" 3122 3122 3123 #: includes/class-vendor-manager.php:24 43123 #: includes/class-vendor-manager.php:242 3124 3124 msgid "Email is not valid" 3125 3125 msgstr "" 3126 3126 3127 #: includes/class-vendor.php: 7083127 #: includes/class-vendor.php:692 3128 3128 msgid "No ratings found yet!" 3129 3129 msgstr "" 3130 3130 3131 #: includes/class-vendor.php: 7103131 #: includes/class-vendor.php:694 3132 3132 msgid "%s rating from %d review" 3133 3133 msgid_plural "%s rating from %d reviews" … … 3135 3135 msgstr[1] "" 3136 3136 3137 #: includes/class-vendor.php: 7113137 #: includes/class-vendor.php:695 3138 3138 msgid "Rated %s out of %d" 3139 msgstr "" 3140 3141 #: includes/class-vendor.php:824 templates/settings/store-form.php:286 3142 msgid "Store is open" 3143 msgstr "" 3144 3145 #: includes/class-vendor.php:838 templates/settings/store-form.php:296 3146 msgid "Store is closed" 3139 3147 msgstr "" 3140 3148 … … 3381 3389 msgstr "" 3382 3390 3383 #: includes/functions.php:76 5templates/products/others.php:163391 #: includes/functions.php:764 templates/products/others.php:16 3384 3392 msgid "Online" 3385 3393 msgstr "" 3386 3394 3387 #: includes/functions.php:76 6templates/products/others.php:173395 #: includes/functions.php:765 templates/products/others.php:17 3388 3396 msgid "Draft" 3389 3397 msgstr "" 3390 3398 3391 #: includes/functions.php:76 7templates/dashboard/products-widget.php:413399 #: includes/functions.php:766 templates/dashboard/products-widget.php:41 3392 3400 #: templates/withdraw/pending-request-listing.php:41 3393 3401 msgid "Pending Review" 3394 3402 msgstr "" 3395 3403 3396 #: includes/functions.php:76 8templates/products/products-listing-row.php:1573404 #: includes/functions.php:767 templates/products/products-listing-row.php:157 3397 3405 msgid "Scheduled" 3398 3406 msgstr "" 3399 3407 3408 #: includes/functions.php:810 3409 msgid "Simple Product" 3410 msgstr "" 3411 3400 3412 #: includes/functions.php:811 3401 msgid " Simple Product"3413 msgid "Variable Product" 3402 3414 msgstr "" 3403 3415 3404 3416 #: includes/functions.php:812 3405 msgid " VariableProduct"3417 msgid "Grouped Product" 3406 3418 msgstr "" 3407 3419 3408 3420 #: includes/functions.php:813 3409 msgid "Grouped Product"3410 msgstr ""3411 3412 #: includes/functions.php:8143413 3421 msgid "Scheduled Product" 3414 3422 msgstr "" 3415 3423 3416 #: includes/functions.php:101 93424 #: includes/functions.php:1018 3417 3425 msgid "Author" 3418 3426 msgstr "" 3419 3427 3420 #: includes/functions.php:120 7 includes/template-tags.php:3143428 #: includes/functions.php:1206 includes/template-tags.php:330 3421 3429 #: templates/dashboard/products-widget.php:16 3422 3430 msgid "Products" 3423 3431 msgstr "" 3424 3432 3425 #: includes/functions.php:124 83433 #: includes/functions.php:1247 3426 3434 msgid "Account Name: %s" 3427 3435 msgstr "" 3428 3436 3429 #: includes/functions.php:125 23437 #: includes/functions.php:1251 3430 3438 msgid "Account Number: %s" 3431 3439 msgstr "" 3432 3440 3433 #: includes/functions.php:125 63441 #: includes/functions.php:1255 3434 3442 msgid "Bank Name: %s" 3435 3443 msgstr "" 3436 3444 3437 #: includes/functions.php:12 603445 #: includes/functions.php:1259 3438 3446 msgid "Address: %s" 3439 3447 msgstr "" 3440 3448 3441 #: includes/functions.php:126 43449 #: includes/functions.php:1263 3442 3450 msgid "Routing Number: %s" 3443 3451 msgstr "" 3444 3452 3445 #: includes/functions.php:126 83453 #: includes/functions.php:1267 3446 3454 msgid "IBAN: %s" 3447 3455 msgstr "" 3448 3456 3449 #: includes/functions.php:127 23457 #: includes/functions.php:1271 3450 3458 msgid "SWIFT: %s" 3451 3459 msgstr "" 3452 3460 3453 #: includes/functions.php:16 303461 #: includes/functions.php:1629 3454 3462 msgid "Date is not valid" 3455 3463 msgstr "" 3456 3464 3457 #: includes/functions.php:20 623465 #: includes/functions.php:2059 3458 3466 msgid "- Select a location -" 3459 3467 msgstr "" 3460 3468 3461 #: includes/functions.php:206 6 includes/functions.php:20893469 #: includes/functions.php:2063 includes/functions.php:2086 3462 3470 msgid "Everywhere Else" 3463 3471 msgstr "" 3464 3472 3465 #: includes/functions.php:208 53473 #: includes/functions.php:2082 3466 3474 msgid "- Select a State -" 3467 3475 msgstr "" 3468 3476 3477 #: includes/functions.php:2104 3478 msgid "Ready to ship in..." 3479 msgstr "" 3480 3481 #: includes/functions.php:2105 3482 msgid "1 business day" 3483 msgstr "" 3484 3485 #: includes/functions.php:2106 3486 msgid "1-2 business day" 3487 msgstr "" 3488 3469 3489 #: includes/functions.php:2107 3470 msgid " Ready to ship in..."3490 msgid "1-3 business day" 3471 3491 msgstr "" 3472 3492 3473 3493 #: includes/functions.php:2108 3474 msgid " 1business day"3494 msgid "3-5 business day" 3475 3495 msgstr "" 3476 3496 3477 3497 #: includes/functions.php:2109 3478 msgid "1-2 business day"3498 msgid "1-2 weeks" 3479 3499 msgstr "" 3480 3500 3481 3501 #: includes/functions.php:2110 3482 msgid " 1-3 business day"3502 msgid "2-3 weeks" 3483 3503 msgstr "" 3484 3504 3485 3505 #: includes/functions.php:2111 3486 msgid "3- 5 business day"3506 msgid "3-4 weeks" 3487 3507 msgstr "" 3488 3508 3489 3509 #: includes/functions.php:2112 3490 msgid " 1-2weeks"3510 msgid "4-6 weeks" 3491 3511 msgstr "" 3492 3512 3493 3513 #: includes/functions.php:2113 3494 msgid "2-3 weeks"3495 msgstr ""3496 3497 #: includes/functions.php:21143498 msgid "3-4 weeks"3499 msgstr ""3500 3501 #: includes/functions.php:21153502 msgid "4-6 weeks"3503 msgstr ""3504 3505 #: includes/functions.php:21163506 3514 msgid "6-8 weeks" 3507 3515 msgstr "" 3508 3516 3509 #: includes/functions.php:223 53517 #: includes/functions.php:2232 3510 3518 msgid "All dates" 3511 3519 msgstr "" 3512 3520 3513 #: includes/functions.php:22 503521 #: includes/functions.php:2247 3514 3522 #. translators: 1: month name, 2: 4-digit year 3515 3523 msgid "%1$s %2$d" 3516 3524 msgstr "" 3517 3525 3518 #: includes/functions.php:23 423526 #: includes/functions.php:2339 3519 3527 msgid "LinkedIn" 3520 3528 msgstr "" 3521 3529 3522 #: includes/functions.php:26 203530 #: includes/functions.php:2617 3523 3531 msgid "Dokan Store Sidebar" 3524 3532 msgstr "" 3525 3533 3526 #: includes/functions.php:288 13534 #: includes/functions.php:2883 3527 3535 msgid "View sales overview" 3528 3536 msgstr "" 3529 3537 3530 #: includes/functions.php:288 23538 #: includes/functions.php:2884 3531 3539 msgid "View sales report chart" 3532 3540 msgstr "" 3533 3541 3534 #: includes/functions.php:288 33542 #: includes/functions.php:2885 3535 3543 msgid "View announcement" 3536 3544 msgstr "" 3537 3545 3538 #: includes/functions.php:288 43546 #: includes/functions.php:2886 3539 3547 msgid "View order report" 3540 3548 msgstr "" 3541 3549 3542 #: includes/functions.php:288 53550 #: includes/functions.php:2887 3543 3551 msgid "View review report" 3544 3552 msgstr "" 3545 3553 3546 #: includes/functions.php:288 63554 #: includes/functions.php:2888 3547 3555 msgid "View product status report" 3548 3556 msgstr "" 3549 3557 3550 #: includes/functions.php:28 893558 #: includes/functions.php:2891 3551 3559 msgid "View overview report" 3552 3560 msgstr "" 3553 3561 3554 #: includes/functions.php:289 03562 #: includes/functions.php:2892 3555 3563 msgid "View daily sales report" 3556 3564 msgstr "" 3557 3565 3558 #: includes/functions.php:289 13566 #: includes/functions.php:2893 3559 3567 msgid "View top selling report" 3560 3568 msgstr "" 3561 3569 3562 #: includes/functions.php:289 23570 #: includes/functions.php:2894 3563 3571 msgid "View top earning report" 3564 3572 msgstr "" 3565 3573 3566 #: includes/functions.php:289 33574 #: includes/functions.php:2895 3567 3575 msgid "View statement report" 3568 3576 msgstr "" 3569 3577 3570 #: includes/functions.php:289 63578 #: includes/functions.php:2898 3571 3579 msgid "View order" 3572 3580 msgstr "" 3573 3581 3574 #: includes/functions.php:289 73582 #: includes/functions.php:2899 3575 3583 msgid "Manage order" 3576 3584 msgstr "" 3577 3585 3578 #: includes/functions.php:2 8983586 #: includes/functions.php:2900 3579 3587 msgid "Manage order note" 3580 3588 msgstr "" 3581 3589 3582 #: includes/functions.php:2 8993590 #: includes/functions.php:2901 3583 3591 msgid "Manage refund" 3584 3592 msgstr "" 3585 3593 3586 #: includes/functions.php:290 33594 #: includes/functions.php:2905 3587 3595 msgid "Add coupon" 3588 3596 msgstr "" 3589 3597 3590 #: includes/functions.php:290 43598 #: includes/functions.php:2906 3591 3599 msgid "Edit coupon" 3592 3600 msgstr "" 3593 3601 3594 #: includes/functions.php:290 53602 #: includes/functions.php:2907 3595 3603 msgid "Delete coupon" 3596 3604 msgstr "" 3597 3605 3598 #: includes/functions.php:29 083606 #: includes/functions.php:2910 3599 3607 msgid "View reviews" 3600 3608 msgstr "" 3601 3609 3602 #: includes/functions.php:29 093610 #: includes/functions.php:2911 3603 3611 msgid "Manage reviews" 3604 3612 msgstr "" 3605 3613 3606 #: includes/functions.php:291 33614 #: includes/functions.php:2915 3607 3615 msgid "Manage withdraw" 3608 3616 msgstr "" 3609 3617 3610 #: includes/functions.php:291 63618 #: includes/functions.php:2918 3611 3619 msgid "Add product" 3612 3620 msgstr "" 3613 3621 3614 #: includes/functions.php:291 73622 #: includes/functions.php:2919 3615 3623 msgid "Edit product" 3616 3624 msgstr "" 3617 3625 3618 #: includes/functions.php:29 183626 #: includes/functions.php:2920 3619 3627 msgid "Delete product" 3620 3628 msgstr "" 3621 3629 3622 #: includes/functions.php:29 193630 #: includes/functions.php:2921 3623 3631 msgid "View product" 3624 3632 msgstr "" 3625 3633 3626 #: includes/functions.php:292 03634 #: includes/functions.php:2922 3627 3635 msgid "Duplicate product" 3628 3636 msgstr "" 3629 3637 3630 #: includes/functions.php:292 13638 #: includes/functions.php:2923 3631 3639 msgid "Import product" 3632 3640 msgstr "" 3633 3641 3634 #: includes/functions.php:292 23642 #: includes/functions.php:2924 3635 3643 msgid "Export product" 3636 3644 msgstr "" 3637 3645 3638 #: includes/functions.php:292 53646 #: includes/functions.php:2927 3639 3647 msgid "View overview menu" 3640 3648 msgstr "" 3641 3649 3642 #: includes/functions.php:292 63650 #: includes/functions.php:2928 3643 3651 msgid "View product menu" 3644 3652 msgstr "" 3645 3653 3646 #: includes/functions.php:292 73654 #: includes/functions.php:2929 3647 3655 msgid "View order menu" 3648 3656 msgstr "" 3649 3657 3650 #: includes/functions.php:29 283658 #: includes/functions.php:2930 3651 3659 msgid "View coupon menu" 3652 3660 msgstr "" 3653 3661 3654 #: includes/functions.php:29 293662 #: includes/functions.php:2931 3655 3663 msgid "View report menu" 3656 3664 msgstr "" 3657 3665 3658 #: includes/functions.php:293 03666 #: includes/functions.php:2932 3659 3667 msgid "Vuew review menu" 3660 3668 msgstr "" 3661 3669 3662 #: includes/functions.php:293 13670 #: includes/functions.php:2933 3663 3671 msgid "View withdraw menu" 3664 3672 msgstr "" 3665 3673 3666 #: includes/functions.php:293 23674 #: includes/functions.php:2934 3667 3675 msgid "View store settings menu" 3668 3676 msgstr "" 3669 3677 3670 #: includes/functions.php:293 33678 #: includes/functions.php:2935 3671 3679 msgid "View payment settings menu" 3672 3680 msgstr "" 3673 3681 3674 #: includes/functions.php:293 43682 #: includes/functions.php:2936 3675 3683 msgid "View shipping settings menu" 3676 3684 msgstr "" 3677 3685 3678 #: includes/functions.php:293 53686 #: includes/functions.php:2937 3679 3687 msgid "View social settings menu" 3680 3688 msgstr "" 3681 3689 3682 #: includes/functions.php:293 63690 #: includes/functions.php:2938 3683 3691 msgid "View seo settings menu" 3684 3692 msgstr "" 3685 3693 3686 #: includes/functions.php:311 33694 #: includes/functions.php:3115 3687 3695 msgid "Saturday" 3688 3696 msgstr "" 3689 3697 3690 #: includes/functions.php:311 63698 #: includes/functions.php:3118 3691 3699 msgid "Sunday" 3692 3700 msgstr "" 3693 3701 3694 #: includes/functions.php:31 193702 #: includes/functions.php:3121 3695 3703 msgid "Monday" 3696 3704 msgstr "" 3697 3705 3698 #: includes/functions.php:312 23706 #: includes/functions.php:3124 3699 3707 msgid "Tuesday" 3700 3708 msgstr "" 3701 3709 3702 #: includes/functions.php:312 53710 #: includes/functions.php:3127 3703 3711 msgid "Wednesday" 3704 3712 msgstr "" 3705 3713 3706 #: includes/functions.php:31 283714 #: includes/functions.php:3130 3707 3715 msgid "Thursday" 3708 3716 msgstr "" 3709 3717 3710 #: includes/functions.php:313 13718 #: includes/functions.php:3133 3711 3719 msgid "Friday" 3712 3720 msgstr "" 3713 3721 3714 #: includes/functions.php:313 43722 #: includes/functions.php:3136 3715 3723 msgid "Off Day" 3716 3724 msgstr "" 3717 3725 3718 #: includes/functions.php:344 13726 #: includes/functions.php:3443 3719 3727 msgid "privacy policy" 3720 3728 msgstr "" 3721 3729 3722 #: includes/functions.php:348 13730 #: includes/functions.php:3483 3723 3731 msgid "Please Login to Continue" 3724 3732 msgstr "" 3725 3733 3726 #: includes/order-functions.php: 4873734 #: includes/order-functions.php:502 3727 3735 msgid "Pending Payment" 3728 3736 msgstr "" 3729 3737 3730 #: includes/order-functions.php:5 123738 #: includes/order-functions.php:527 3731 3739 msgid "Failed" 3732 3740 msgstr "" 3733 3741 3734 #: includes/order-functions.php:7 563742 #: includes/order-functions.php:771 3735 3743 msgid "Order No" 3736 3744 msgstr "" 3737 3745 3738 #: includes/order-functions.php:7 57templates/orders/details.php:213746 #: includes/order-functions.php:772 templates/orders/details.php:21 3739 3747 msgid "Order Items" 3740 3748 msgstr "" 3741 3749 3742 #: includes/order-functions.php:7 583750 #: includes/order-functions.php:773 3743 3751 msgid "Shipping method" 3744 3752 msgstr "" 3745 3753 3746 #: includes/order-functions.php:7 593754 #: includes/order-functions.php:774 3747 3755 msgid "Shipping Cost" 3748 3756 msgstr "" 3749 3757 3750 #: includes/order-functions.php:7 603758 #: includes/order-functions.php:775 3751 3759 msgid "Payment method" 3752 3760 msgstr "" 3753 3761 3754 #: includes/order-functions.php:7 61templates/orders/listing.php:483762 #: includes/order-functions.php:776 templates/orders/listing.php:48 3755 3763 #: templates/orders/listing.php:74 3756 3764 msgid "Order Total" 3757 3765 msgstr "" 3758 3766 3759 #: includes/order-functions.php:7 633767 #: includes/order-functions.php:778 3760 3768 msgid "Order Date" 3761 3769 msgstr "" 3762 3770 3763 #: includes/order-functions.php:7 653771 #: includes/order-functions.php:780 3764 3772 msgid "Billing Company" 3765 3773 msgstr "" 3766 3774 3767 #: includes/order-functions.php:7 663775 #: includes/order-functions.php:781 3768 3776 msgid "Billing First Name" 3769 3777 msgstr "" 3770 3778 3771 #: includes/order-functions.php:7 673779 #: includes/order-functions.php:782 3772 3780 msgid "Billing Last Name" 3773 3781 msgstr "" 3774 3782 3775 #: includes/order-functions.php:7 683783 #: includes/order-functions.php:783 3776 3784 msgid "Billing Full Name" 3777 3785 msgstr "" 3778 3786 3779 #: includes/order-functions.php:7 693787 #: includes/order-functions.php:784 3780 3788 msgid "Billing Email" 3781 3789 msgstr "" 3782 3790 3783 #: includes/order-functions.php:7 703791 #: includes/order-functions.php:785 3784 3792 msgid "Billing Phone" 3785 3793 msgstr "" 3786 3794 3787 #: includes/order-functions.php:7 713795 #: includes/order-functions.php:786 3788 3796 msgid "Billing Address 1" 3789 3797 msgstr "" 3790 3798 3791 #: includes/order-functions.php:7 723799 #: includes/order-functions.php:787 3792 3800 msgid "Billing Address 2" 3793 3801 msgstr "" 3794 3802 3795 #: includes/order-functions.php:7 733803 #: includes/order-functions.php:788 3796 3804 msgid "Billing City" 3797 3805 msgstr "" 3798 3806 3799 #: includes/order-functions.php:7 743807 #: includes/order-functions.php:789 3800 3808 msgid "Billing State" 3801 3809 msgstr "" 3802 3810 3803 #: includes/order-functions.php:7 753811 #: includes/order-functions.php:790 3804 3812 msgid "Billing Postcode" 3805 3813 msgstr "" 3806 3814 3807 #: includes/order-functions.php:7 763815 #: includes/order-functions.php:791 3808 3816 msgid "Billing Country" 3809 3817 msgstr "" 3810 3818 3811 #: includes/order-functions.php:7 783819 #: includes/order-functions.php:793 3812 3820 msgid "Shipping Company" 3813 3821 msgstr "" 3814 3822 3815 #: includes/order-functions.php:7 793823 #: includes/order-functions.php:794 3816 3824 msgid "Shipping First Name" 3817 3825 msgstr "" 3818 3826 3819 #: includes/order-functions.php:7 803827 #: includes/order-functions.php:795 3820 3828 msgid "Shipping Last Name" 3821 3829 msgstr "" 3822 3830 3823 #: includes/order-functions.php:7 813831 #: includes/order-functions.php:796 3824 3832 msgid "Shipping Full Name" 3825 3833 msgstr "" 3826 3834 3827 #: includes/order-functions.php:7 823835 #: includes/order-functions.php:797 3828 3836 msgid "Shipping Address 1" 3829 3837 msgstr "" 3830 3838 3831 #: includes/order-functions.php:7 833839 #: includes/order-functions.php:798 3832 3840 msgid "Shipping Address 2" 3833 3841 msgstr "" 3834 3842 3835 #: includes/order-functions.php:7 843843 #: includes/order-functions.php:799 3836 3844 msgid "Shipping City" 3837 3845 msgstr "" 3838 3846 3839 #: includes/order-functions.php: 7853847 #: includes/order-functions.php:800 3840 3848 msgid "Shipping State" 3841 3849 msgstr "" 3842 3850 3843 #: includes/order-functions.php: 7863851 #: includes/order-functions.php:801 3844 3852 msgid "Shipping Postcode" 3845 3853 msgstr "" 3846 3854 3847 #: includes/order-functions.php: 7873855 #: includes/order-functions.php:802 3848 3856 msgid "Shipping Country" 3849 3857 msgstr "" 3850 3858 3851 #: includes/order-functions.php: 7893859 #: includes/order-functions.php:804 3852 3860 msgid "Customer IP" 3853 3861 msgstr "" 3854 3862 3855 #: includes/order-functions.php: 7903863 #: includes/order-functions.php:805 3856 3864 msgid "Customer Note" 3857 3865 msgstr "" … … 4012 4020 4013 4021 #: includes/product-functions.php:328 src/admin/components/ColorPicker.vue:31 4014 #: templates/orders/details.php:348 templates/settings/store-form.php:26 44022 #: templates/orders/details.php:348 templates/settings/store-form.php:262 4015 4023 msgid "Close" 4016 4024 msgstr "" … … 4075 4083 4076 4084 #: includes/template-tags.php:105 includes/template-tags.php:109 4077 #: templates/store-lists-loop.php:9 34085 #: templates/store-lists-loop.php:94 4078 4086 msgid "← Previous" 4079 4087 msgstr "" 4080 4088 4081 #: includes/template-tags.php:120 templates/store-lists-loop.php:9 44089 #: includes/template-tags.php:120 templates/store-lists-loop.php:95 4082 4090 msgid "Next →" 4083 4091 msgstr "" … … 4087 4095 msgstr "" 4088 4096 4089 #: includes/template-tags.php:19 74097 #: includes/template-tags.php:198 4090 4098 #: templates/products/listing-status-filter.php:13 4091 4099 msgid "All (%d)" 4092 4100 msgstr "" 4093 4101 4094 #: includes/template-tags.php:21 14102 #: includes/template-tags.php:212 4095 4103 msgid "Completed (%d)" 4096 4104 msgstr "" 4097 4105 4098 #: includes/template-tags.php:22 54106 #: includes/template-tags.php:226 4099 4107 msgid "Processing (%d)" 4100 4108 msgstr "" 4101 4109 4102 #: includes/template-tags.php:2 394110 #: includes/template-tags.php:240 4103 4111 msgid "On-hold (%d)" 4104 4112 msgstr "" 4105 4113 4106 #: includes/template-tags.php:25 34114 #: includes/template-tags.php:254 4107 4115 msgid "Pending (%d)" 4108 4116 msgstr "" 4109 4117 4110 #: includes/template-tags.php:26 74118 #: includes/template-tags.php:268 4111 4119 msgid "Cancelled (%d)" 4112 4120 msgstr "" 4113 4121 4114 #: includes/template-tags.php:28 14122 #: includes/template-tags.php:282 4115 4123 msgid "Refunded (%d)" 4116 4124 msgstr "" 4117 4125 4118 #: includes/template-tags.php:346 4126 #: includes/template-tags.php:297 4127 msgid "Failed (%d)" 4128 msgstr "" 4129 4130 #: includes/template-tags.php:362 4119 4131 msgid "Back to Dashboard" 4120 4132 msgstr "" 4121 4133 4122 #: includes/template-tags.php:4 65templates/settings/header.php:134123 #: templates/store-lists-loop.php:7 04134 #: includes/template-tags.php:481 templates/settings/header.php:13 4135 #: templates/store-lists-loop.php:71 4124 4136 msgid "Visit Store" 4125 4137 msgstr "" 4126 4138 4127 #: includes/template-tags.php:4 66templates/global/header-menu.php:484139 #: includes/template-tags.php:482 templates/global/header-menu.php:48 4128 4140 msgid "Edit Account" 4129 4141 msgstr "" 4130 4142 4131 #: includes/template-tags.php:4 674143 #: includes/template-tags.php:483 4132 4144 msgid "Log out" 4133 4145 msgstr "" … … 4212 4224 msgstr "" 4213 4225 4214 #: includes/wc-template.php:2 494226 #: includes/wc-template.php:253 4215 4227 msgid "Go to Vendor Dashboard" 4216 4228 msgstr "" … … 4600 4612 msgstr "" 4601 4613 4602 #: templates/account/vendor-registration.php: 704603 #: templates/global/seller-registration-form.php: 524614 #: templates/account/vendor-registration.php:67 4615 #: templates/global/seller-registration-form.php:49 4604 4616 msgid "" 4605 4617 "I have read and agree to the <a target=\"_blank\" href=\"%s\">Terms & " … … 4607 4619 msgstr "" 4608 4620 4609 #: templates/account/vendor-registration.php: 804621 #: templates/account/vendor-registration.php:77 4610 4622 msgid "Register" 4611 4623 msgstr "" … … 4913 4925 msgstr "" 4914 4926 4915 #: templates/global/seller-registration-form.php:6 54927 #: templates/global/seller-registration-form.php:62 4916 4928 msgid "I am a customer" 4917 4929 msgstr "" 4918 4930 4919 #: templates/global/seller-registration-form.php: 704931 #: templates/global/seller-registration-form.php:67 4920 4932 msgid "I am a vendor" 4921 4933 msgstr "" … … 5217 5229 msgstr "" 5218 5230 5219 #: templates/orders/order-tax-html.php:8 templates/store-lists-loop.php:105231 #: templates/orders/order-tax-html.php:8 5220 5232 msgid "N/A" 5221 5233 msgstr "" … … 5714 5726 msgstr "" 5715 5727 5716 #: templates/settings/payment.php:39 templates/settings/store-form.php:30 95728 #: templates/settings/payment.php:39 templates/settings/store-form.php:307 5717 5729 msgid "Update Settings" 5718 5730 msgstr "" 5719 5731 5720 #: templates/settings/store-form.php: 915732 #: templates/settings/store-form.php:89 5721 5733 msgid "Upload a banner for your store. Banner size is (%sx%s) pixels." 5722 5734 msgstr "" 5723 5735 5724 #: templates/settings/store-form.php:10 45736 #: templates/settings/store-form.php:102 5725 5737 msgid "Profile Picture" 5726 5738 msgstr "" 5727 5739 5728 #: templates/settings/store-form.php:11 45740 #: templates/settings/store-form.php:112 5729 5741 msgid "Upload Photo" 5730 5742 msgstr "" 5731 5743 5732 #: templates/settings/store-form.php:12 35744 #: templates/settings/store-form.php:121 5733 5745 msgid "store name" 5734 5746 msgstr "" 5735 5747 5748 #: templates/settings/store-form.php:151 5749 msgid "Phone No" 5750 msgstr "" 5751 5736 5752 #: templates/settings/store-form.php:153 5737 msgid "Phone No"5738 msgstr ""5739 5740 #: templates/settings/store-form.php:1555741 5753 msgid "+123456.." 5742 5754 msgstr "" 5743 5755 5744 #: templates/settings/store-form.php:17 25756 #: templates/settings/store-form.php:170 5745 5757 msgid "More products" 5746 5758 msgstr "" 5747 5759 5748 #: templates/settings/store-form.php:17 75760 #: templates/settings/store-form.php:175 5749 5761 msgid "Enable tab on product single page view" 5750 5762 msgstr "" 5751 5763 5752 #: templates/settings/store-form.php:18 55764 #: templates/settings/store-form.php:183 5753 5765 msgid "Map" 5754 5766 msgstr "" 5755 5767 5756 #: templates/settings/store-form.php:19 25768 #: templates/settings/store-form.php:190 5757 5769 msgid "Type an address to find" 5758 5770 msgstr "" 5759 5771 5760 #: templates/settings/store-form.php:19 35772 #: templates/settings/store-form.php:191 5761 5773 msgid "Find Address" 5762 5774 msgstr "" 5763 5775 5764 #: templates/settings/store-form.php:2 115776 #: templates/settings/store-form.php:209 5765 5777 msgid "Show terms and conditions in store page" 5766 5778 msgstr "" 5767 5779 5768 #: templates/settings/store-form.php:21 75780 #: templates/settings/store-form.php:215 5769 5781 msgid "TOC Details" 5770 5782 msgstr "" 5771 5783 5772 #: templates/settings/store-form.php:23 65784 #: templates/settings/store-form.php:234 5773 5785 msgid "Store Opening Closing Time" 5774 5786 msgstr "" 5775 5787 5776 #: templates/settings/store-form.php:24 35788 #: templates/settings/store-form.php:241 5777 5789 msgid "Show store opening closing time widget in store page" 5778 5790 msgstr "" 5779 5791 5780 #: templates/settings/store-form.php:26 75792 #: templates/settings/store-form.php:265 5781 5793 msgid "Open" 5782 5794 msgstr "" 5783 5795 5784 #: templates/settings/store-form.php:28 45796 #: templates/settings/store-form.php:282 5785 5797 msgid "Store Open Notice" 5786 5798 msgstr "" 5787 5799 5788 #: templates/settings/store-form.php:288 5789 msgid "Store is open" 5790 msgstr "" 5791 5792 #: templates/settings/store-form.php:294 5800 #: templates/settings/store-form.php:292 5793 5801 msgid "Store Close Notice" 5794 msgstr ""5795 5796 #: templates/settings/store-form.php:2985797 msgid "Store is closed"5798 5802 msgstr "" 5799 5803 … … 5806 5810 msgstr "" 5807 5811 5808 #: templates/store-lists-loop.php:2 55812 #: templates/store-lists-loop.php:26 5809 5813 msgid "Featured" 5810 5814 msgstr "" 5811 5815 5812 #: templates/store-lists-loop.php:3 55816 #: templates/store-lists-loop.php:36 5813 5817 msgid "Rated %s out of 5" 5814 5818 msgstr "" 5815 5819 5816 #: templates/store-lists-loop.php:120 5820 #: templates/store-lists-loop.php:38 5821 msgid "out of 5" 5822 msgstr "" 5823 5824 #: templates/store-lists-loop.php:121 5817 5825 msgid "No vendor found!" 5818 5826 msgstr "" -
dokan-lite/trunk/readme.txt
r2083300 r2103681 4 4 Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, product vendors, woocommerce vendor, commission rate, e-commerce, ebay, ecommerce, yith, yithemes 5 5 Requires at least: 4.4 6 Tested up to: 5. 1.16 Tested up to: 5.2.1 7 7 WC requires at least: 3.0 8 WC tested up to: 3.6. 28 WC tested up to: 3.6.4 9 9 Requires PHP: 5.6 10 10 Stable tag: trunk … … 275 275 == Changelog == 276 276 277 v2.9.16 -> June 11, 2019 278 ------------------------------------ 279 - **Fix*** Hide hidden and out of stock products in vendor store page 280 - **Fix*** A non-numeric value encountered warning in vendor product listing page, if product price is not given 281 - **Fix*** Add failed order in vendor order listing page 282 - **Fix*** Creating product from admin backend returns 2 instance of the product author 283 - **Tweak*** Ensure dokan_get_seller_id_by_order filter is always taking effect 284 - **Tweak*** Make dokan vendor dashboard responsive 285 - **Tweak*** Show admin notice stating WooCommerce is required if not found on dokan installation 286 - **Tweak*** Add hook after creating and updating object via dokan REST API 287 - **Tweak*** Add dokan_ensure_vendor_coupon filter while ensuring vendor coupon restriction 288 - **Tweak*** Add updater class to fix banner issue where store settings and listing template was overridden 289 - **Tweak*** Add filter hook while fetching vendor products 290 - **Tweak*** Add define method to define plugin constants 291 277 292 v2.9.15 -> May 08, 2019 278 293 ------------------------------------ -
dokan-lite/trunk/templates/account/vendor-registration.php
r2073700 r2103681 59 59 60 60 <?php 61 $show_toc = dokan_get_option( 'enable_tc_on_reg', 'dokan_general' ); 61 $show_terms_condition = dokan_get_option( 'enable_tc_on_reg', 'dokan_general' ); 62 $terms_condition_url = dokan_get_terms_condition_url(); 62 63 63 if ( $show_toc == 'on' ) { 64 $toc_page_id = dokan_get_option( 'reg_tc_page', 'dokan_pages' ); 64 if ( 'on' === $show_terms_condition && $terms_condition_url ) { ?> 65 <p class="form-row form-group form-row-wide"> 66 <input class="tc_check_box" type="checkbox" id="tc_agree" name="tc_agree" required="required"> 67 <label style="display: inline" for="tc_agree"><?php echo sprintf( __( 'I have read and agree to the <a target="_blank" href="%s">Terms & Conditions</a>.', 'dokan-lite' ), esc_url( $terms_condition_url ) ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?></label> 68 </p> 69 <?php } 65 70 66 if ( $toc_page_id != -1 ) { 67 $toc_page_url = get_permalink( $toc_page_id ); ?> 68 <p class="form-row form-group form-row-wide"> 69 <input class="tc_check_box" type="checkbox" id="tc_agree" name="tc_agree" required="required"> 70 <label style="display: inline" for="tc_agree"><?php echo sprintf( __( 'I have read and agree to the <a target="_blank" href="%s">Terms & Conditions</a>.', 'dokan-lite' ), $toc_page_url ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?></label> 71 </p> 72 <?php } ?> 73 <?php } ?> 74 75 <?php do_action( 'dokan_seller_registration_field_after' ); ?> 71 do_action( 'dokan_seller_registration_field_after' ); 72 ?> 76 73 77 74 <p class="form-row"> -
dokan-lite/trunk/templates/global/dashboard-nav.php
r1210842 r2103681 5 5 6 6 <div class="dokan-dash-sidebar"> 7 <?php echo dokan_dashboard_nav( $active_menu ); ?> 7 <nav id="dokan-navigation" area-label="Menu"> 8 <label for="toggle-mobile-menu" aria-label="Menu">☰</label> 9 <input id="toggle-mobile-menu" type="checkbox" /> 10 11 <?php echo dokan_dashboard_nav( $active_menu ); ?> 12 </nav> 8 13 </div> -
dokan-lite/trunk/templates/global/seller-registration-form.php
r1997957 r2103681 39 39 <input type="text" class="input-text form-control" name="phone" id="shop-phone" value="<?php if ( ! empty( $postdata['phone'] ) ) echo esc_attr($postdata['phone']); ?>" required="required" /> 40 40 </p> 41 41 42 <?php 43 $show_terms_condition = dokan_get_option( 'enable_tc_on_reg', 'dokan_general' ); 44 $terms_condition_url = dokan_get_terms_condition_url(); 42 45 43 $show_toc = dokan_get_option( 'enable_tc_on_reg', 'dokan_general' ); 46 if ( 'on' === $show_terms_condition && $terms_condition_url ) { ?> 47 <p class="form-row form-group form-row-wide"> 48 <input class="tc_check_box" type="checkbox" id="tc_agree" name="tc_agree" required="required"> 49 <label style="display: inline" for="tc_agree"><?php echo sprintf( __( 'I have read and agree to the <a target="_blank" href="%s">Terms & Conditions</a>.', 'dokan-lite' ), esc_url( $terms_condition_url ) ); ?></label> 50 </p> 51 <?php } 44 52 45 if ( $show_toc == 'on' ) { 46 $toc_page_id = dokan_get_option( 'reg_tc_page', 'dokan_pages' ); 47 if ( $toc_page_id != -1 ) { 48 $toc_page_url = get_permalink( $toc_page_id ); 53 do_action( 'dokan_seller_registration_field_after' ); 49 54 ?> 50 <p class="form-row form-group form-row-wide">51 <input class="tc_check_box" type="checkbox" id="tc_agree" name="tc_agree" required="required">52 <label style="display: inline" for="tc_agree"><?php echo sprintf( __( 'I have read and agree to the <a target="_blank" href="%s">Terms & Conditions</a>.', 'dokan-lite' ), esc_url( $toc_page_url ) ); ?></label>53 </p>54 <?php } ?>55 <?php } ?>56 <?php do_action( 'dokan_seller_registration_field_after' ); ?>57 58 55 </div> 59 56 -
dokan-lite/trunk/templates/settings/store-form.php
r2075290 r2103681 7 7 ?> 8 8 <?php 9 $gravatar_id = ! empty( $profile_info['gravatar_id'] ) ? $profile_info['gravatar_id'] : 0; 10 $gravatar_id = ! empty( $profile_info['gravatar'] ) ? $profile_info['gravatar'] : $gravatar_id; 11 $banner_id = ! empty( $profile_info['banner_id'] ) ? $profile_info['banner_id'] : 0; 12 $banner_id = ! empty( $profile_info['banner'] ) ? $profile_info['banner'] : $banner_id; 9 $gravatar_id = ! empty( $profile_info['gravatar'] ) ? $profile_info['gravatar'] : 0; 10 $banner_id = ! empty( $profile_info['banner'] ) ? $profile_info['banner'] : 0; 13 11 $storename = isset( $profile_info['store_name'] ) ? $profile_info['store_name'] : ''; 14 12 $store_ppp = isset( $profile_info['store_ppp'] ) ? $profile_info['store_ppp'] : ''; … … 339 337 width: auto; 340 338 } 341 @media only screen and ( max-width: 4 00px ) {339 @media only screen and ( max-width: 415px ) { 342 340 .store-open-close label:first-child { 343 341 width: 100%; -
dokan-lite/trunk/templates/store-lists-loop.php
r2075290 r2103681 5 5 <?php 6 6 foreach ( $sellers['users'] as $seller ) { 7 $store_info = dokan_get_store_info( $seller->ID ); 8 $banner_id = ! empty( $store_info['banner_id'] ) ? $store_info['banner_id'] : 0; 9 $banner_id = ! empty( $store_info['banner'] ) ? $store_info['banner'] : $banner_id; 10 $store_name = isset( $store_info['store_name'] ) ? esc_html( $store_info['store_name'] ) : __( 'N/A', 'dokan-lite' ); 11 $store_url = dokan_get_store_url( $seller->ID ); 12 $store_address = dokan_get_seller_short_address( $seller->ID ); 13 $seller_rating = dokan_get_seller_rating( $seller->ID ); 14 $banner_url = ( $banner_id ) ? wp_get_attachment_image_src( $banner_id, $image_size ) : DOKAN_PLUGIN_ASSEST . '/images/default-store-banner.png'; 15 $featured_seller = get_user_meta( $seller->ID, 'dokan_feature_seller', true ); 7 $vendor = dokan()->vendor->get( $seller->ID ); 8 $store_banner_id = $vendor->get_banner_id(); 9 $store_name = $vendor->get_shop_name(); 10 $store_url = $vendor->get_shop_url(); 11 $store_rating = $vendor->get_rating(); 12 $is_store_featured = $vendor->is_featured(); 13 $store_phone = $vendor->get_phone(); 14 $store_info = dokan_get_store_info( $seller->ID ); 15 $store_address = dokan_get_seller_short_address( $seller->ID ); 16 $store_banner_url = $store_banner_id ? wp_get_attachment_image_src( $store_banner_id, $image_size ) : DOKAN_PLUGIN_ASSEST . '/images/default-store-banner.png'; 16 17 ?> 17 18 18 <li class="dokan-single-seller woocommerce coloum-<?php echo esc_attr( $per_row ); ?> <?php echo ( ! $ banner_id ) ? 'no-banner-img' : ''; ?>">19 <li class="dokan-single-seller woocommerce coloum-<?php echo esc_attr( $per_row ); ?> <?php echo ( ! $store_banner_id ) ? 'no-banner-img' : ''; ?>"> 19 20 <div class="store-wrapper"> 20 21 <div class="store-content"> 21 <div class="store-info" style="background-image: url( '<?php echo is_array( $ banner_url ) ? esc_attr( $banner_url[0] ) : esc_attr( $banner_url ); ?>');">22 <div class="store-info" style="background-image: url( '<?php echo is_array( $store_banner_url ) ? esc_attr( $store_banner_url[0] ) : esc_attr( $store_banner_url ); ?>');"> 22 23 <div class="store-data-container"> 23 24 <div class="featured-favourite"> 24 <?php if ( ! empty( $featured_seller ) && 'yes' == $featured_seller ): ?>25 <?php if ( $is_store_featured ) : ?> 25 26 <div class="featured-label"><?php esc_html_e( 'Featured', 'dokan-lite' ); ?></div> 26 27 <?php endif ?> … … 30 31 31 32 <div class="store-data"> 32 <h2><a href="<?php echo esc_attr( $store_url); ?>"><?php echo esc_html($store_name); ?></a></h2>33 <h2><a href="<?php echo esc_attr( $store_url ); ?>"><?php echo esc_html( $store_name ); ?></a></h2> 33 34 34 <?php if ( !empty( $s eller_rating['count'] ) ): ?>35 <div class="star-rating dokan-seller-rating" title="<?php echo sprintf( esc_attr__( 'Rated %s out of 5', 'dokan-lite' ), esc_attr( $s eller_rating['rating'] ) ) ?>">36 <span style="width: <?php echo ( esc_attr( ( $seller_rating['rating']/5) ) * 100 - 1 ); ?>%">37 <strong class="rating"><?php echo esc_html( $s eller_rating['rating'] ); ?></strong> out of 535 <?php if ( !empty( $store_rating['count'] ) ): ?> 36 <div class="star-rating dokan-seller-rating" title="<?php echo sprintf( esc_attr__( 'Rated %s out of 5', 'dokan-lite' ), esc_attr( $store_rating['rating'] ) ) ?>"> 37 <span style="width: <?php echo ( esc_attr( ( $store_rating['rating'] / 5 ) ) * 100 - 1 ); ?>%"> 38 <strong class="rating"><?php echo esc_html( $store_rating['rating'] ); ?></strong> <?php _e( 'out of 5', 'dokan-lite' ); ?> 38 39 </span> 39 40 </div> … … 52 53 <?php endif ?> 53 54 54 <?php if ( !empty( $store_info['phone'] )) { ?>55 <?php if ( $store_phone ) { ?> 55 56 <p class="store-phone"> 56 <i class="fa fa-phone" aria-hidden="true"></i> <?php echo esc_html( $store_ info['phone']); ?>57 <i class="fa fa-phone" aria-hidden="true"></i> <?php echo esc_html( $store_phone ); ?> 57 58 </p> 58 59 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.