Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2468516
Compare button appearing on Search Page
Closed

Comments

  • Matt started the conversation

    Hello, I am trying to figure out how to get the compare button to show up on the Search page when people search for a category, make or model number on our website. 


    Thank you for your help!

    -Mat

  •  767
    Janilyn replied

    Hi Matt,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our devs.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,222
    Dustin replied

    Hi Matt,

    By default, the compare button will appear on the shop/archive/search page. You can try on our demo page https://demo.wpclever.net/woosc/?post_type=product&s=woo (search page with keyword "woo").

    You can show the compare button where you want by using one of below methods:

    #1. Shortcode:

    [wooscp id="99"] to show compare button for the product ID 99

    or

    [wooscp] to show the compare button for current product on the archive or single product page

    #2. PHP code:

    echo do_shortcode('[wooscp id="99"]');

    or

    echo do_shortcode('[wooscp]');

    Best regards,
    Dustin