Meta data now bene shown
-
Hi,
We have some meta data added by other plugin your plugin feature of meta data is not working for us in the free version
[yaymail_order_meta:meta_key] when we add this shortcode it comes out as it is without the value
we even tried your hook [woocommerce_email_after_order_table] it also does not get replaced
apart from that we are getting buch of warnign related to your plugin below is the error
can you please let us know if Shortcode are for free version or not and if yes then why those shortcode are not working for the meta data (we can see those meta data in the backend from custom field viewer of wordpress)
[28-Feb-2021 02:06:26 UTC] PHP Warning: Use of undefined constant account_details - assumed 'account_details' (this will throw an Error in a future version of PHP) in F:\xampp\htdocs\landing\wp-content\plugins\yaymail\views\templates\emails\email-order-details.php on line 38 [28-Feb-2021 02:06:26 UTC] PHP Stack trace: [28-Feb-2021 02:06:26 UTC] PHP 1. {main}() F:\xampp\htdocs\landing\index.php:0 [28-Feb-2021 02:06:26 UTC] PHP 2. require() F:\xampp\htdocs\landing\index.php:17 [28-Feb-2021 02:06:26 UTC] PHP 3. require_once() F:\xampp\htdocs\landing\wp-blog-header.php:19 [28-Feb-2021 02:06:26 UTC] PHP 4. do_action() F:\xampp\htdocs\landing\wp-includes\template-loader.php:13 [28-Feb-2021 02:06:26 UTC] PHP 5. WP_Hook->do_action() F:\xampp\htdocs\landing\wp-includes\plugin.php:484 [28-Feb-2021 02:06:26 UTC] PHP 6. WP_Hook->apply_filters() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:311 [28-Feb-2021 02:06:26 UTC] PHP 7. WC_AJAX::do_wc_ajax() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:287 [28-Feb-2021 02:06:26 UTC] PHP 8. do_action() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-ajax.php:90 [28-Feb-2021 02:06:26 UTC] PHP 9. WP_Hook->do_action() F:\xampp\htdocs\landing\wp-includes\plugin.php:484 [28-Feb-2021 02:06:26 UTC] PHP 10. WP_Hook->apply_filters() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:311 [28-Feb-2021 02:06:26 UTC] PHP 11. WC_AJAX::checkout() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:287 [28-Feb-2021 02:06:26 UTC] PHP 12. WC_Checkout->process_checkout() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-ajax.php:465 [28-Feb-2021 02:06:26 UTC] PHP 13. WC_Checkout->process_order_payment() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-checkout.php:1171 [28-Feb-2021 02:06:26 UTC] PHP 14. WC_Gateway_COD->process_payment() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-checkout.php:959 [28-Feb-2021 02:06:26 UTC] PHP 15. Automattic\WooCommerce\Admin\Overrides\Order->update_status() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\gateways\cod\class-wc-gateway-cod.php:326 [28-Feb-2021 02:06:26 UTC] PHP 16. Automattic\WooCommerce\Admin\Overrides\Order->save() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-order.php:333 [28-Feb-2021 02:06:26 UTC] PHP 17. Automattic\WooCommerce\Admin\Overrides\Order->status_transition() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-order.php:221 [28-Feb-2021 02:06:26 UTC] PHP 18. do_action() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-order.php:372 [28-Feb-2021 02:06:26 UTC] PHP 19. WP_Hook->do_action() F:\xampp\htdocs\landing\wp-includes\plugin.php:484 [28-Feb-2021 02:06:26 UTC] PHP 20. WP_Hook->apply_filters() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:311 [28-Feb-2021 02:06:26 UTC] PHP 21. WC_Emails::send_transactional_email() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:287 [28-Feb-2021 02:06:26 UTC] PHP 22. do_action_ref_array() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\class-wc-emails.php:170 [28-Feb-2021 02:06:26 UTC] PHP 23. WP_Hook->do_action() F:\xampp\htdocs\landing\wp-includes\plugin.php:551 [28-Feb-2021 02:06:26 UTC] PHP 24. WP_Hook->apply_filters() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:311 [28-Feb-2021 02:06:26 UTC] PHP 25. WC_Email_New_Order->trigger() F:\xampp\htdocs\landing\wp-includes\class-wp-hook.php:287 [28-Feb-2021 02:06:26 UTC] PHP 26. WC_Email_New_Order->get_content() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\emails\class-wc-email-new-order.php:110 [28-Feb-2021 02:06:26 UTC] PHP 27. WC_Email_New_Order->get_content_html() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\emails\class-wc-email.php:541 [28-Feb-2021 02:06:26 UTC] PHP 28. wc_get_template_html() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\emails\class-wc-email-new-order.php:133 [28-Feb-2021 02:06:26 UTC] PHP 29. wc_get_template() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\wc-core-functions.php:364 [28-Feb-2021 02:06:26 UTC] PHP 30. include() F:\xampp\htdocs\landing\wp-content\plugins\woocommerce\includes\wc-core-functions.php:345 [28-Feb-2021 02:06:26 UTC] PHP 31. YayMail\MailBuilder\Shortcodes->shortCodesOrderDefined() F:\xampp\htdocs\landing\wp-content\plugins\yaymail\views\templates\single-mail-template.php:21 [28-Feb-2021 02:06:26 UTC] PHP 32. YayMail\MailBuilder\Shortcodes->collectOrderData() F:\xampp\htdocs\landing\wp-content\plugins\yaymail\includes\MailBuilder\Shortcodes.php:206 [28-Feb-2021 02:06:26 UTC] PHP 33. YayMail\MailBuilder\Shortcodes->orderItems() F:\xampp\htdocs\landing\wp-content\plugins\yaymail\includes\MailBuilder\Shortcodes.php:559 [28-Feb-2021 02:06:26 UTC] PHP 34. include() F:\xampp\htdocs\landing\wp-content\plugins\yaymail\includes\MailBuilder\Shortcodes.php:1435
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Meta data now bene shown’ is closed to new replies.