• Hello, I am using the “OceanWP” e-commerce woocommerce theme. I installed the comments plugin for “Jugde.me”. However, the reviews star logo is displayed above the title. I have contacted the technical support department of judge.me. They entered the background of my website and tried to modify it, but without success, I received the following reply from them:
    But we can’t find the right hook to place the badge under the title on the product pages. Please ask your theme developers about the visual hook that we can use to place the badge there. Also on the collection list pages, if you want It under the title and above the price.
    Please help.
    I will attach pictures for your reference.

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Install the reviews plugin, but the star location is incorrect and needs help.’ is closed to new replies.