How to have PRICE field print? I have the option checked under preferences and yet PRICE does not appear on output? All prices are visible on Woocommerce and product page. Can you help?
]]>Hi, today I start to receive a Failed security check message in several pages, but not in all browsers.
I checked the code and I see that in the file productprint.php method productprint_button at line 462, the url is created with wp_nonce_url that could to have problems with the char & present on $link var.
I changed that line and now all is working fine.
I’ll copy here the previous code commented and the new code:
$link = home_url('/index.php?task=productprint&pid='.$product->get_id()); //sets the URL for the post page
//$nonced_url = wp_nonce_url($link, $product->get_id()); // adds a nonce to the URL
$nonced_url = $link . '&_wpnonce=' . wp_create_nonce( $product->get_id() ); // Carlos Longarela, 2022/07/25. Fix the problem with bad nonce in print page.
Kindly regards.
]]>I have some tabs generated by shortcode, and the shortcode is printing. How can I stop the shortcode from printing?
]]>Hello!
Whether it is possible to build in by means of a shortcode this plug-in a widget?
The plug-in doesn’t work with my theme of WordPress, but there is an opportunity to build in it a widget.
Hi,
I added a custom tab visible just for admins and I need to print it too
add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
// function woo_new_product_tab( $tabs ) {
// // Adds the new tab
// if (current_user_can('administrator')):
// $tabs['test_tab'] = array(
// 'title' => __( 'New Product Tab', 'woocommerce' ),
// 'priority' => 50,
// 'callback' => 'woo_new_product_tab_content'
// );
// endif;
// //var_dump(current_user_can('administrator'));
// return $tabs;
// }
// function woo_new_product_tab_content() {
// // The new tab content
// echo '<h2>New Product Tab</h2>';
// echo '<p>Here\'s your new product tab.</p>';
// }
how can I do that?
thanks
Wondering if this is you or the theme. When I click Print a new tab/page opens, but when I close it the product page acts as if it’s still grayed out.
]]>Hi,
when print option tabs shortcode is coming, but we don’t want to come in print.
Print the Product button is coming below the short description but i need a Print the Product button to be below the product image i.e left side of product and also when i am taking the print of the product then custom tabs are not coming into the print.
]]>Hi,
great plugin, thank you very much for this!
When clicking on the new print button, there is a new window opening (Firefox/Windows). Then the print dialogue pops up, and after printing I stay on an empty white page.
Would it be possible that the print dialogue appears in the actual product view, so that after printing everything loos like before clicking?
Or that the new window closes again?
Thanks!
]]>Hi, could you see here please…
your plugin works well in my main language : FRENCH
https://www.sunset-fishing.com/produits-sunset/surf-casting/wave-fighter-s2-competition-2/
But not in the other languages
ENGLISH
https://www.sunset-fishing.com/en/produits-sunset/surf-casting-en/wave-fighter-s2-competition/
SPANISH
https://www.sunset-fishing.com/es/produits-sunset/surf-casting-es/wave-fighter-s2-competition/
Could you help me please ?
]]>Hello there,
I would like to move the print button from above the product summary to below it. I adjusted the switch cases from before to after:
switch($options['button_position']) {
case 1:
add_action('woocommerce_after_single_product', array($this, 'productprint_button')); break;
case 2:
add_action('woocommerce_after_single_product_summary', array($this, 'productprint_button')); break;
case 3:
add_action('woocommerce_single_product_summary', array($this, 'productprint_button'), 7); break;
case 4:
add_action('woocommerce_single_product_summary', array($this, 'productprint_button'), 12); break;
case 5:
add_action('woocommerce_single_product_summary', array($this, 'productprint_button'), 25); break;
case 6:
add_action('woocommerce_single_product_summary', array($this, 'productprint_button'), 35); break;
case 7:
add_action('woocommerce_after_single_product', array($this, 'productprint_button')); break;
}; // end Switch statement
}
And that didn’t move it so I’m stuck. Is it possible to move the button? Thank you for your help in advance!
]]>Hi,
I have too many plugins, can’t find your settings page.
What is the URL, please?
it might be an idea to add a “manage” link (and the a.m. URL) in your plugin description to help with such a situation.
Tx,
Frank
Hi All!
Q1) Is it possible to hide the Print button unless you’re logged in?
Q2) Can the print out sheet be customised so it outputs 3 separate labels on an A4 sheet?
Reasons: We would like to use this for internal use in our shop. We sell one off individual products kept in stock. We display the products in our shop window on rotation.
Currently we have to type and print out 3 separate lables:
1) Support Sheet, given to customers when they buy.
2) Window Display card.
3) Box label.
Can you please help?
]]>