show tooltip for max cost margin #83
Reference in New Issue
Block a user
Delete Branch "max-cost-margin-tooltip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SMOKE TEST :
verify that info icon is shown next to "Max cost margin" label in package price editor screen and it displays "Product deactivation limit (total cost)"
added 10 commits
developmentCompare with previous version
Please use https://developer.wordpress.org/resource/dashicons/#editor-help icon for consistency
Using 'title' attribute gives tooltip that is not consistent with the rest of the interface.
Here we could use filter
woocommerce_screen_idsto add current screen idproduct_page_wiaas-package_price_editorto recognized woocommerce pages so woocommerce scripts and styles will be loaded. Thenwc_help_tipfunction could be used to render tooltip that is the sameas that on other woocommerce pages.
changed this line in version 3 of the diff
added 4 commits
developmentCompare with previous version
added 1 commit
Compare with previous version
added 6 commits
developmentbb9dc470- show tooltip for max cost margin4aed08a9- use wordpress icons for consistencye4da6c7d- use woocommerce help tipCompare with previous version
merged
mentioned in commit
a3761f3c71