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