OwlCyberSecurity - MANAGER
Edit File: html-product-variation-download.php
<?php /** * Template used to form individual rows within the downloadable files table for variables. * * @package WooCommerce\Admin\Views * * @var bool $disabled_download Indicates if the current downloadable file is disabled. * @var array $file Product download data. * @var string $key Product download key. * @var int $variation_id Variation ID. */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <tr> <td class="file_name"> <input type="text" class="input_text" placeholder="<?php esc_attr_e( 'File name', 'woocommerce' ); ?>" name="_wc_variation_file_names[<?php echo esc_attr( $variation_id ); ?>][]" value="<?php echo esc_attr( $file['name'] ); ?>" /> <input type="hidden" name="_wc_variation_file_hashes[<?php echo esc_attr( $variation_id ); ?>][]" value="<?php echo esc_attr( $key ); ?>" /> </td> <td class="file_url"> <input type="text" class="input_text" placeholder="<?php esc_attr_e( 'http://', 'woocommerce' ); ?>" name="_wc_variation_file_urls[<?php echo esc_attr( $variation_id ); ?>][]" value="<?php echo esc_attr( $file['file'] ); ?>" /> <?php if ( $disabled_download ) : ?> <span class="disabled">*</span> <?php endif; ?> </td> <td class="file_url_choose" width="1%"><a href="#" class="button upload_file_button" data-choose="<?php esc_attr_e( 'Choose file', 'woocommerce' ); ?>" data-update="<?php esc_attr_e( 'Insert file URL', 'woocommerce' ); ?>"><?php esc_html_e( 'Choose file', 'woocommerce' ); ?></a></td> <td width="1%"><a href="#" class="delete"><?php esc_html_e( 'Delete', 'woocommerce' ); ?></a></td> </tr>