I’m looking for a way to display a message using shortcode (on any page) that is attached to a product and only show the message if the user has previously purchased the product. SO if there is a new version of the product they own, a message can be set to say something like “You can get the latest version of your product Here”
Is that possible with this plugin?
]]>Hello,
Once it is activated, it will prevent Woocommerce Action Scheduler.
Could you please fix it?
Thanks
]]>2024-03-29T01:42:19+00:00 Critical Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "crwcpn_product_notice_display" not found or invalid function name in /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php:324
Additional context
{
"error": {
"type": 1,
"file": "\/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php",
"line": 324
},
"backtrace": [
"",
"#0 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#1 \/var\/www\/mysite.com\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#2 \/var\/www\/mysite.com\/htdocs\/wp-content\/themes\/savoy\/woocommerce\/single-product\/add-to-cart\/variation-add-to-cart-button.php(33): do_action()",
"#3 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-core-functions.php(345): include('...')",
"#4 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-template-functions.php(3155): wc_get_template()",
"#5 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(324): woocommerce_single_variation_add_to_cart_button()",
"#6 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#7 \/var\/www\/mysite.com\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#8 \/var\/www\/mysite.com\/htdocs\/wp-content\/themes\/savoy\/woocommerce\/single-product\/add-to-cart\/variable.php(84): do_action()",
"#9 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-core-functions.php(345): include('...')",
"#10 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-template-functions.php(1762): wc_get_template()",
"#11 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(324): woocommerce_variable_add_to_cart()",
"#12 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#13 \/var\/www\/mysite.com\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#14 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-template-functions.php(1708): do_action()",
"#15 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(324): woocommerce_template_single_add_to_cart()",
"#16 \/var\/www\/mysite.com\/htdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#17 \/var\/www\/mysite.com\/htdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#18 \/var\/www\/mysite.com\/htdocs\/wp-content\/themes\/savoy\/woocommerce\/content-single-product.php(147): do_action()",
"#19 \/var\/www\/mysite.com\/htdocs\/wp-includes\/template.php(792): require('...')",
"#20 \/var\/www\/mysite.com\/htdocs\/wp-content\/plugins\/woocommerce\/includes\/wc-core-functions.php(284): load_template()",
"#21 \/var\/www\/mysite.com\/htdocs\/wp-content\/themes\/savoy\/woocommerce\/single-product.php(40): wc_get_template_part()",
"#22 \/var\/www\/mysite.com\/htdocs\/wp-includes\/template-loader.php(106): include('...')",
"#23 \/var\/www\/mysite.com\/htdocs\/wp-blog-header.php(19): require_once('...')",
"#24 \/var\/www\/mysite.com\/htdocs\/index.php(17): require('...')",
"#25 {main}",
"thrown"
]
}
?
Upload new animation
Drop .OAM file or click here to upload
(Maximum upload size 100MB)
×
Drag and Drop
The image will be downloaded
Hello,
When I tried to decativate and then activate it, it trigger error.
Thanks
]]>I set up this plugin to show a notice on several product categories and am not seeing anything on the front end. I’ve cleared cache and tried it with and without the [crwcpn-notice]
?short code. I also tried setting up the same notice at WooCommerce > Settings and Product Notices in the left nav but saw no difference.
I’m using Beaver Themer. Is the plugin compatible with Beaver Themer? Is there another step I need to take?
Hello,
I use the following code to move notice below the button of ” Add to Cart”:
remove_action( 'woocommerce_single_product_summary', 'crwcpn_product_notice_display', 12 );
add_action( 'woocommerce_after_add_to_cart_button', 'crwcpn_product_notice_display' );
But, everytime to activate it, and refresh the page, it still show not activated:
https://prnt.sc/G3XxfWWNDRRg
There are several code snippets running properly, but I only can not activated that one.
Could you please check if there is anything wrong with the code lines?
Or, any suggestion to fix the issue?
Thanks
]]>Hi, can you check please that this option is still functioning? When I recently tried it, the notice was still displaying.
Thanks
]]>Hi guys, I’m having an issue with the background conflicting with another plugin called Product Sales Count for WooCommerce.
Anything I can do to fix it?
]]>Hi, can help how to hide the Notice on product page if the customer is logged in as we intend to use the notice for guests whom yet to buy any products. The notice will be irrelevant to existing customers. Thanks.
]]>Hello,
By default, it seems that all of notices is showing up above attributes, is there an code snippet to enable show up below the “Add to cart” button?
Thanks
]]>Hello,
If we Click on Add new notice getting error like ” There has been a critical error on this website. Please check your site admin email inbox for instructions. ” No email regarding this. Please check and resolve it
with regards
]]>Hello,
We set multiple global notices, but how to reorder them?
Thanks
]]>Good Morning,
is it possible to show notes on categories? Since I have almost 20,000 products, I would like to only show the notes on certain categories. Is that possible? Or is there perhaps a premium plugin?
Best regards
Carsten
Hi,
If I want to place the notice before add to cart button, is this possible?
Hello,
Im trying to use the plugin with elementor but it doesnt work.
Is there any possibility to make any shortcode once you have installed the plugin? Since I am using elementor for the product page, and this causes it to not display directly on the product page. I guess I will have to add a shortcode in the product tab of elementor to show that part.
Thanks in advance
]]>