a498cc8280
* Add initial product form action buttons to form * Add new edit page and allow for updating and creating products * Move crud functions to helper hook to keep things seperated better * Add changelog * ADd package changelogs * Add isPending selector to products store * Fix trash screen showing up when deleting product and add loading indicators * Add extra types to Product type * Update track names and add product data to tracks * Update track logic when product is published * Remove the Image section for now, to prevent confusion as it is not ready yet * Add tests for the product form actions * Update copy for publish & duplicate * Remove unused code * Set window.location correctly with href * Reset changes in pnpm lock * Moved pending action variables to product helper and updated buttons to reflect new suggestions * Fix backwards compabitibility issue with Form changes * Add switch to draft button |
||
---|---|---|
.. | ||
add-term-tracking | ||
attributes-tracking | ||
beta-features-tracking-modal | ||
category-tracking | ||
marketing-coupons | ||
navigation-opt-out | ||
onboarding-homepage-notice | ||
onboarding-load-sample-products-notice | ||
onboarding-product-import-notice | ||
onboarding-product-notice | ||
onboarding-tax-notice | ||
payment-method-promotions | ||
print-shipping-label-banner | ||
product-tour | ||
product-tracking | ||
tags-tracking | ||
README.md |
README.md
Scripts located in this directory are meant to be loaded on wp-admin pages outside the context of WooCommerce Admin, such as the post editor. Adding the script name to wpAdminScripts
in the Webpack config will automatically build these scripts.
Scripts must be manually enqueued with any neccessary dependencies. For example, onboarding-homepage-notice
uses the WooCommerce navigation package:
wp_enqueue_script( 'onboarding-homepage-notice', Loader::get_url( 'wp-scripts/onboarding-homepage-notice.js' ), array( 'wc-navigation' ) );