PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
woocommerce
/
includes
/
admin
/
meta-boxes
/
views
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <div id="product_attributes" class="panel wc-metaboxes-wrapper hidden"> <div class="toolbar toolbar-top"> <span class="expand-close"> <a href="#" class="expand_all"><?php esc_html_e( 'Expand', 'woocommerce' ); ?></a> / <a href="#" class="close_all"><?php esc_html_e( 'Close', 'woocommerce' ); ?></a> </span> <select name="attribute_taxonomy" class="attribute_taxonomy"> <option value=""><?php esc_html_e( 'Custom product attribute', 'woocommerce' ); ?></option> <?php global $wc_product_attributes; // Array of defined attribute taxonomies. $attribute_taxonomies = wc_get_attribute_taxonomies(); if ( ! empty( $attribute_taxonomies ) ) { foreach ( $attribute_taxonomies as $tax ) { $attribute_taxonomy_name = wc_attribute_taxonomy_name( $tax->attribute_name ); $label = $tax->attribute_label ? $tax->attribute_label : $tax->attribute_name; echo '<option value="' . esc_attr( $attribute_taxonomy_name ) . '">' . esc_html( $label ) . '</option>'; } } ?> </select> <button type="button" class="button add_attribute"><?php esc_html_e( 'Add', 'woocommerce' ); ?></button> </div> <div class="product_attributes wc-metaboxes"> <?php // Product attributes - taxonomies and custom, ordered, with visibility and variation attributes set. $attributes = $product_object->get_attributes( 'edit' ); $i = -1; foreach ( $attributes as $attribute ) { $i++; $metabox_class = array(); if ( $attribute->is_taxonomy() ) { $metabox_class[] = 'taxonomy'; $metabox_class[] = $attribute->get_name(); } include __DIR__ . '/html-product-attribute.php'; } ?> </div> <div class="toolbar"> <span class="expand-close"> <a href="#" class="expand_all"><?php esc_html_e( 'Expand', 'woocommerce' ); ?></a> / <a href="#" class="close_all"><?php esc_html_e( 'Close', 'woocommerce' ); ?></a> </span> <button type="button" class="button save_attributes button-primary"><?php esc_html_e( 'Save attributes', 'woocommerce' ); ?></button> </div> <?php do_action( 'woocommerce_product_options_attributes' ); ?> </div>
[-] html-product-attribute.php
[edit]
[-] html-product-data-attributes.php
[edit]
[-] html-order-item-meta.php
[edit]
[+]
..
[-] html-order-notes.php
[edit]
[-] html-product-data-linked-products.php
[edit]
[-] html-order-fee.php
[edit]
[-] html-product-data-advanced.php
[edit]
[-] html-product-data-variations.php
[edit]
[-] html-variation-admin.php
[edit]
[-] html-product-data-panel.php
[edit]
[-] html-product-download.php
[edit]
[-] html-product-variation-download.php
[edit]
[-] html-order-download-permission.php
[edit]
[-] html-product-data-inventory.php
[edit]
[-] html-product-data-general.php
[edit]
[-] html-order-refund.php
[edit]
[-] html-order-item.php
[edit]
[-] html-order-items.php
[edit]
[-] html-order-shipping.php
[edit]
[-] html-product-data-shipping.php
[edit]