30 lines
1.5 KiB
PHP
30 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* The marketplace suggestions tab HTML in the product tabs
|
|
*
|
|
* @package WooCommerce\Classes
|
|
* @since 3.6.0
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
?>
|
|
<div id="marketplace_suggestions" class="panel woocommerce_options_panel hidden">
|
|
<?php
|
|
WC_Marketplace_Suggestions::render_suggestions_container( 'product-edit-meta-tab-header' );
|
|
WC_Marketplace_Suggestions::render_suggestions_container( 'product-edit-meta-tab-body' );
|
|
WC_Marketplace_Suggestions::render_suggestions_container( 'product-edit-meta-tab-footer' );
|
|
?>
|
|
<div class="marketplace-suggestions-metabox-nosuggestions-placeholder hidden">
|
|
<img src="https://woocommerce.com/wp-content/plugins/wccom-plugins/marketplace-suggestions/icons/get_more_options.svg" class="marketplace-suggestion-icon">
|
|
<div class="marketplace-suggestion-placeholder-content">
|
|
<h4><?php esc_html_e( 'Enhance your products', 'woocommerce' ); ?></h4>
|
|
<p><?php esc_html_e( 'Extensions can add new functionality to your product pages that make your store stand out', 'woocommerce' ); ?></p>
|
|
</div>
|
|
<a href="https://woocommerce.com/product-category/woocommerce-extensions/?utm_source=editproduct&utm_campaign=marketplacesuggestions&utm_medium=product" target="blank" class="button"><?php esc_html_e( 'Browse the Marketplace', 'woocommerce' ); ?></a><br />
|
|
<a class="marketplace-suggestion-manage-link" href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=advanced§ion=woocommerce_com' ) ); ?>"><?php esc_html_e( 'Manage suggestions', 'woocommerce' ); ?></a>
|
|
</div>
|
|
</div>
|