PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / trunk
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel vtrunk
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / export / google.php
wp-all-export / views / admin / export Last commit date
blocks 2 months ago options 2 months ago template 2 months ago google.php 2 months ago index.php 2 months ago options.php 2 months ago process.php 2 months ago success_page.php 2 months ago template.php 2 months ago variation_options.php 2 months ago variation_options_common.php 3 years ago
google.php
41 lines
1 <?php
2 if(!defined('ABSPATH')) {
3 die();
4 }
5 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- variables in template files inherited from controller render() scope
6 wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/dist/app.min.js', array('jquery'), PMXE_VERSION);
7 wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/dist/styles.css', array(), PMXE_VERSION);
8
9 $productAttributesJson = empty(XmlExportEngine::$globalAvailableSections['product_data']['additional']['attributes']['meta']) ? '' : json_encode(XmlExportEngine::$globalAvailableSections['product_data']['additional']['attributes']['meta']);
10
11 if(getenv('WPAE_DEV')) {
12 wp_enqueue_script('pmxe-livereload', '//localhost:35729/livereload.js', array(), '3', true);
13 }
14 ?>
15 <script type="text/javascript">
16 var wpae_product_attributes = <?php echo empty($productAttributesJson) ? '""' : wp_json_encode( json_decode( $productAttributesJson ) ); ?>;
17 </script>
18
19 <div ng-app="GoogleMerchants"
20 ng-controller="mainController"
21 ng-init="init('<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency_symbol()); ?>',
22 '<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency());?>',
23 <?php $is_template_loaded = esc_js(PMXE_Plugin::$session->get('is_loaded_template')); if(!empty($is_template_loaded)) { echo esc_attr(PMXE_Plugin::$session->get('is_loaded_template')); } else { echo "false"; } ?>)"
24 class="googleMerchants" id="googleMerchants">
25 <?php
26 if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS && $post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) {
27 ?>
28 <span ng-init="selectGoogleMerchantsInitially()"></span>
29 <?php
30 }
31 ?>
32 <div ng-slide-down="isGoogleMerchantExport" duration="0.5">
33 <basic-information information="merchantsFeedData.basicInformation"></basic-information>
34 <availability-price information="merchantsFeedData.availabilityPrice"></availability-price>
35 <product-categories information="merchantsFeedData.productCategories"></product-categories>
36 <unique-identifiers information="merchantsFeedData.uniqueIdentifiers"></unique-identifiers>
37 <detailed-information information="merchantsFeedData.detailedInformation"></detailed-information>
38 <shipping information="merchantsFeedData.shipping"></shipping>
39 <advanced-attributes information="merchantsFeedData.advancedAttributes"></advanced-attributes>
40 </div>
41 </div>