dim.kes
Forum Replies Created
-
An error of type E_ERROR was detected at line 416 of the file /public_html/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php. Κωδικ?? σφ?λματο?: Uncaught ValueError: Unknown format specifier " " in /public_html/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php:416 Stack trace: #0 /public_html/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php(416): sprintf('\xCE\x91\xCF\x85\xCF\x84\xCE\xAE \xCE\xB7 \xCE\xB5\xCE...', 'https://www....', 'https://www....', 'https://www....', '_blank', '') #1 /public_html/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php(126): WCDN_Settings->get_template_description() #2 /public_html/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-settings.php(99): WCDN_Settings->get_settings('') #3 /public_html/wp-includes/class-wp-hook.php(310): WCDN_Settings->output('') #4 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #5 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action('woocommerce_set...') #7 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(153): include('/...') #8 /public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(291): WC_Admin_Settings::output() #9 /public_html/wp-includes/class-wp-hook.php(310): WC_Admin_Menus->settings_page('') #10 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #11 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...') #13 {main} ? thrown
`function example_atum_location( $product ) {
if( isset( $product->id ) && has_post_terms( $product->id ) ) {
echo get_the_post_terms( $product->id, ‘atum_location’ );
}
}
add_action( ‘wcdn_order_item_before’, ‘example_atum_location’ );Is this correct?
Thank you for your reply.
I am not so familiar with coding. Can you send me the full function code?In the backend order page it looks like in the screenshot
Atum item locationYes.
I want to print the atum product location to print delivery notesForum: Plugins
In reply to: [WooCommerce] Display duplicate productsI tried disabling the yith and all other plugins but the problem remains.
If you go down, and the last product of the 1st page has the same price with the 1st product of the second page it duplicates and disappear another one.
You have to look it very carefully. it happens randomly.
They are duplicated over some other products…