Hello,
Can you share the site link so that I can check it? Try to use ocean_after_archive_product_title
hook and check it works or not.
Thread Starter
arvoss
(@arvoss)
Thank you for your help, here is the link address Please click on the words “Product collection page location error” and “Single product position display error” and provide help.
Product collection page location error
Single product position display error
Have you used the above hook for the product collection page? Just use two hooks –
For product collection page – ocean_after_archive_product_title
For Single Poduct page – woocommerce_single_product_summary
with priority 10.
Thread Starter
arvoss
(@arvoss)
Thank you for your help. I will forward the following information to the comment plugin technician. Once there is news we update here. Thank you
Thread Starter
arvoss
(@arvoss)
Hello there! I received a reply to the technical support of reviews. Here are their responses:
Hello and thank you again for this info.
ocean_after_archive_product_title works in your collection pages perfectly
but woocommerce_single_product_summary (priority 10) does not, the star appears as you can see, under the paypal buttons and tags on your product pages
Please help.
Can you share the code for the single product page so that I can check it? Also, mention the steps to replicate it.
Thread Starter
arvoss
(@arvoss)
add_action( 'init', function () {
//* Remove the site title
remove_action( 'woocommerce_single_product_summary', array( 'JGM_Widget', 'judgeme_preview_badge' ), 9 );
add_action( 'woocommerce_single_product_summary', array( 'JGM_Widget', 'judgeme_preview_badge' ), 10 );
} );
-
This reply was modified 4 years, 11 months ago by arvoss.
Try to use add_action( 'woocommerce_single_product_summary', array( 'JGM_Widget', 'judgeme_preview_badge' ), 10, 0 );
Can you please tell me exact steps to replicate the issue?