diff --git a/src/admin/components/StoreCategory.vue b/src/admin/components/StoreCategory.vue new file mode 100644 index 0000000000..d7cb7d6ce3 --- /dev/null +++ b/src/admin/components/StoreCategory.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/src/admin/pages/VendorAccountFields.vue b/src/admin/pages/VendorAccountFields.vue index 363f9fbc81..78713d3f63 100644 --- a/src/admin/pages/VendorAccountFields.vue +++ b/src/admin/pages/VendorAccountFields.vue @@ -49,7 +49,13 @@ :class="{'dokan-form-input': true, 'has-error': getError('store_name')}" :placeholder="getError( 'store_name' ) ? __( 'Store Name is required', 'dokan-lite' ) : __( 'Store Name', 'dokan-lite' )"> - +
+ + +
@@ -139,14 +145,16 @@ import { debounce } from "debounce"; import Switches from "admin/components/Switches.vue"; import UploadImage from "admin/components/UploadImage.vue"; import PasswordGenerator from "admin/components/PasswordGenerator.vue"; +import StoreCategory from 'admin/components/StoreCategory.vue'; export default { name: 'VendorAccountFields', components: { + StoreCategory, Switches, UploadImage, - PasswordGenerator + PasswordGenerator, }, props: { diff --git a/src/utils/Bootstrap.js b/src/utils/Bootstrap.js index 5a5c20dc95..d1ad7e55d7 100644 --- a/src/utils/Bootstrap.js +++ b/src/utils/Bootstrap.js @@ -51,6 +51,7 @@ import VendorSocialFields from "admin/pages/VendorSocialFields.vue"; import VendorPaymentFields from "admin/pages/VendorPaymentFields.vue"; import AdminNotice from "../admin/components/AdminNotice.vue"; import CardFunFact from "../admin/components/CardFunFact.vue"; +import StoreCategory from 'admin/components/StoreCategory.vue'; import "vue-multiselect/dist/vue-multiselect.min.css" import Vuedraggable from "vuedraggable/src/vuedraggable"; @@ -121,6 +122,7 @@ window.dokan.libs['VendorPaymentFields'] = VendorPaymentFields; window.dokan.libs['RefreshSettingOptions'] = RefreshSettingOptions; window.dokan.libs['AdminNotice'] = AdminNotice; window.dokan.libs['CardFunFact'] = CardFunFact; +window.dokan.libs['StoreCategory'] = StoreCategory; window.dokan.libs['papaparse'] = parse; window.dokan.libs['Vuedraggable'] = Vuedraggable;