woocommerce-admin | This plugin | Content Management System library

 by   woocommerce PHP Version: v3.3.2 License: Non-SPDX

kandi X-RAY | woocommerce-admin Summary

kandi X-RAY | woocommerce-admin Summary

woocommerce-admin is a PHP library typically used in Web Site, Content Management System, Webpack, Wordpress applications. woocommerce-admin has no bugs, it has no vulnerabilities and it has low support. However woocommerce-admin has a Non-SPDX License. You can download it from GitHub.

This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              woocommerce-admin has a low active ecosystem.
              It has 354 star(s) with 150 fork(s). There are 124 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 3441 have been closed. On average issues are closed in 91 days. There are 13 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of woocommerce-admin is v3.3.2

            kandi-Quality Quality

              woocommerce-admin has 0 bugs and 0 code smells.

            kandi-Security Security

              woocommerce-admin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              woocommerce-admin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              woocommerce-admin has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              woocommerce-admin releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed woocommerce-admin and discovered the below as its top functions. This is intended to give you an instant insight into woocommerce-admin implemented functionality, and help decide if they suit your requirements.
            • Get plugin plugin .
            • Get profile properties
            • Filters the SQL query .
            • Return a list of report pages .
            • Get the database schema .
            • Get formatted item data .
            • Sets all available segments .
            • Register custom scripts .
            • Install plugins .
            • Get the current screen ID .
            Get all kandi verified functions for this library.

            woocommerce-admin Key Features

            No Key Features are available at this moment for woocommerce-admin.

            woocommerce-admin Examples and Code Snippets

            No Code Snippets are available at this moment for woocommerce-admin.

            Community Discussions

            QUESTION

            Display last WooCommerce note to customer in My Account Order Page
            Asked 2021-Jun-22 at 07:22

            This is my current recent order

            I wish to add another column "Tracking Number" and it will show woocommerce "note to customer" inside.

            result is like : Display last WooCommerce admin order note in customers order history

            The difference is without clicking view order and my customer can get to known their tracking number.

            But I totally no idea how this work because not familiar with php..

            hope to make this done and learn something. Thanks!

            the result will

            ...

            ANSWER

            Answered 2021-Jun-22 at 07:22

            You Need to create a new column in My order page first

            Source https://stackoverflow.com/questions/68078563

            QUESTION

            Add Admin order notes sent to customer in WooCommerce My Account Orders list
            Asked 2021-Apr-27 at 05:27

            Based on WooCommerce admin orders list custom column with order notes sent to customer answer code, I have tried unsuccessfully to add the following code to make a new column in the WooCommerce My Account Orders list where I've changed manage_edit-shop_order_columns to woocommerce_my_account_my_orders_columns hook like:

            ...

            ANSWER

            Answered 2021-Apr-26 at 19:03

            There are many mistakes in your code… To display the customer order notes sent by admin in My account orders as a new column, use the following instead:

            Source https://stackoverflow.com/questions/67269652

            QUESTION

            Get only admin manual order notes (not "system") in WooCommerce
            Asked 2021-Apr-02 at 17:51

            I want only to take manual order notes. I read about them and saw they are "internal" & "customer".

            Based on Display last WooCommerce admin order note in customers order history answer code, here is my attempt:

            ...

            ANSWER

            Answered 2021-Apr-02 at 17:51

            One of the parameters from wc_get_order_notes is type

            • internal is used for admin and system notes
            • customer is used for customer notes
            • leave empty for all

            However, adding this param solves only part of your problem. So I believe you can use added_by and if it is not equal to system, continue

            Note: in this example I used a static $order_id, replace with $order->get_id() if desired

            So you get:

            Source https://stackoverflow.com/questions/66921770

            QUESTION

            Display Dokan custom order meta data in WooCommerce order list
            Asked 2021-Mar-13 at 11:06

            With WooCommerce, I use Dokan Multivendor and want to display the vendor store name of the order in a column. By default Dokan displays the author name of the order instead the store name.

            Based on Display vendor store-name (Dokan) on WooCommerce admin order preview, I created this code snippet to do that:

            ...

            ANSWER

            Answered 2021-Mar-13 at 11:06

            There are some mistakes in your code. It can be simplified and optimized as follows:

            Source https://stackoverflow.com/questions/66607612

            QUESTION

            Disable Payment Gateway For Specific Shipping Method
            Asked 2021-Mar-10 at 04:43

            Following Disable Payment Gateway For Specific Shipping Method On Checkout Only answer to my previous question, which:

            Disables Payment Gateways ('cardgatecreditcard', 'cardgategiropay', 'cardgateideal', 'cardgatesofortbanking') When Specific Shipping Methods are Selected ('flat_rate', 'request_shipping_quote')

            However, it seems that the last part is causing a conflict with the WooCommerce Home page:

            ...

            ANSWER

            Answered 2021-Mar-10 at 04:43

            You need to restrict your code to only checkout page:

            Source https://stackoverflow.com/questions/66556570

            QUESTION

            Display vendor store-name (Dokan) on WooCommerce admin order preview
            Asked 2021-Feb-01 at 10:44

            We add vendor information in the admin order details for each order via:

            Now I also want to add this information also in the order preview. I found this answer

            We change the hook to woocommerce_admin_order_preview_end but now when we want to open the preview nothing happend.

            Do we have to adjust the whole code in order that it works for the order preview or why is our approach not working?

            ...

            ANSWER

            Answered 2021-Feb-01 at 10:41

            As already explained in the link you referred to (By LoicTheAztec). You can't get the order object as it's a template that loads specific data via Ajax and there is no arguments for woocommerce_admin_order_preview_start action hook

            Instead the filter hook woocommerce_admin_order_preview_get_order_details will allow you first to add some custom data that you will be able to call and display it via woocommerce_admin_order_preview_start or woocommerce_admin_order_preview_end action hook

            So you get:

            Source https://stackoverflow.com/questions/65981873

            QUESTION

            Get order items stock status when order was created in WooCommerce
            Asked 2021-Jan-26 at 09:33

            There is an issue when including "stock status" of the purchased items on the client email.

            If the client orders the last unit of an item, even though when he ordered it was clearly instock (available for immediate shipping), then the stock status turns to outofstock/onbackorder and the email that is sent to the client (which I assume is sent/generated a few seconds after the stock value is updated from the clients own order) shows this status updated to outofstock/onbackorder, so after completing the purchase now the client thinks the product is out of stock when in fact it was not.

            I'm using this code hooked onto my emails:

            ...

            ANSWER

            Answered 2021-Jan-25 at 13:22

            You can use the following that will save the product stock status as custom order item meta data when customer place an order (so you will always get the stock status when the order was placed):

            Source https://stackoverflow.com/questions/65885251

            QUESTION

            Change order item displayed meta key label in WooCommerce admin order pages
            Asked 2021-Jan-26 at 00:10

            Following Display a product custom field only in WooCommerce Admin single orders answer to my previous question, which:

            1. Adds a Custom SKU Field (ArticleID)
            2. Saves the Custom SKU (ArticleID) as Hidden Order Item Meta Data
            3. Saves the Custom SKU (ArticleID) as Hidden Order Item Meta Data for Manual Orders

            How can I change the displayed meta key label _articleid on order line items section of the admin single order pages?

            Right now it shows the "SKU", the "Variation ID" (for product variations) and the "_articleid".

            I'd like to replace displayed "_articleid" with "Article ID" instead.

            Any help?

            ...

            ANSWER

            Answered 2021-Jan-26 at 00:10

            You will use the following to replace displayed key label _articleid with for example 'Article ID' in order items on WooCommerce admin single orders:

            Source https://stackoverflow.com/questions/65893733

            QUESTION

            Display a product custom field only in WooCommerce Admin single orders for Manual Orders
            Asked 2021-Jan-25 at 23:57

            Following Display a product custom field only in WooCommerce Admin single orders answer to my previous question, which:

            1. Adds a Custom SKU Field (ArticleID)
            2. Saves the Custom SKU (ArticleID) as Hidden Order Item Meta Data
            3. Saves the Custom SKU (ArticleID) as Hidden Order Item Meta Data for Manual Orders

            However, it seems that the last part (for Manual Orders) is causing a conflict with this following other custom code I added for Gateway Fees:

            ...

            ANSWER

            Answered 2021-Jan-25 at 23:57

            You need to target only line items on the last function, this way:

            Source https://stackoverflow.com/questions/65892831

            QUESTION

            Add "created by" for every product and coupon etc, in "post_submitbox_misc_actions" box
            Asked 2021-Jan-10 at 19:29

            I was able to write a code which is working fine! I just had some question if this code has a good quality or if I can do it better.

            We want to display "Created by" on every product edit page and coupon etc. in admin backend. For that, I wrote the code below. The basics are from How to add a field in edit post page inside Publish box in Wordpress? and Add a new column with author name to WooCommerce admin coupon list

            This code is fully working!

            But I'm not sure if it is clean code and want to learn.

            ...

            ANSWER

            Answered 2021-Jan-10 at 19:29

            The variable $post_id is not defined and should be replaced by '$post->ID'. Also replace old html tag and "Created by:" label should be translatable.

            So in your code:

            Source https://stackoverflow.com/questions/65656912

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install woocommerce-admin

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            There is documentation in 2 forms available in the repo. A static set of documentation supported by docsify and also a Storybook containing component documentation for @woocommerce/components.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/woocommerce/woocommerce-admin.git

          • CLI

            gh repo clone woocommerce/woocommerce-admin

          • sshUrl

            git@github.com:woocommerce/woocommerce-admin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Content Management System Libraries

            Try Top Libraries by woocommerce

            woocommerce

            by woocommercePHP

            FlexSlider

            by woocommerceJavaScript

            storefront

            by woocommercePHP

            action-scheduler

            by woocommercePHP

            wc-api-php

            by woocommercePHP