PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.3.6
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.3.6
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 4 years ago options 4 years ago template 4 years ago google.php 4 years ago index.php 4 years ago options.php 4 years ago process.php 4 years ago success_page.php 4 years ago template.php 4 years ago variation_options.php 4 years ago variation_options_common.php 4 years ago
google.php
40 lines
1 <?php
2 if(!defined('ABSPATH')) {
3 die();
4 }
5 wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/dist/app.min.js', array('jquery'), PMXE_VERSION);
6 wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/dist/styles.css', array(), PMXE_VERSION);
7
8 $productAttributesJson = empty(XmlExportEngine::$globalAvailableSections['product_data']['additional']['attributes']['meta']) ? '' : json_encode(XmlExportEngine::$globalAvailableSections['product_data']['additional']['attributes']['meta']);
9
10 if(getenv('WPAE_DEV')) {
11 wp_enqueue_script('pmxe-livereload', '//localhost:35729/livereload.js', array(), '3', true);
12 }
13 ?>
14 <script type="text/javascript">
15 var wpae_product_attributes = <?php echo empty($productAttributesJson) ? '""' : $productAttributesJson; ?>;
16 </script>
17
18 <div ng-app="GoogleMerchants"
19 ng-controller="mainController"
20 ng-init="init('<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency_symbol()); ?>',
21 '<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency());?>',
22 <?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"; } ?>)"
23 class="googleMerchants" id="googleMerchants">
24 <?php
25 if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS && $post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) {
26 ?>
27 <span ng-init="selectGoogleMerchantsInitially()"></span>
28 <?php
29 }
30 ?>
31 <div ng-slide-down="isGoogleMerchantExport" duration="0.5">
32 <basic-information information="merchantsFeedData.basicInformation"></basic-information>
33 <availability-price information="merchantsFeedData.availabilityPrice"></availability-price>
34 <product-categories information="merchantsFeedData.productCategories"></product-categories>
35 <unique-identifiers information="merchantsFeedData.uniqueIdentifiers"></unique-identifiers>
36 <detailed-information information="merchantsFeedData.detailedInformation"></detailed-information>
37 <shipping information="merchantsFeedData.shipping"></shipping>
38 <advanced-attributes information="merchantsFeedData.advancedAttributes"></advanced-attributes>
39 </div>
40 </div>