• Resolved élisson Costa

    (@nossileee)


    Hello!

    The freight simulation is also appearing throughout the site’s theme, where it has a buy button.

    Would it be possible to tweak this to only appear on the single product page?

    I tested it in Porto theme and in Woodmart, both this happens, if you have the buy button:

    Look: https://imgur.com/ih7mUjp

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Add this code to your theme functions.php file

    add_filter('pi_ppscw_hide_calculator_on_single_product_page', function($ret){
    	if(!is_product()) return true;
    });
    Thread Starter élisson Costa

    (@nossileee)

    My friend, it worked perfectly!

    Thank you very much. ??

    Thread Starter élisson Costa

    (@nossileee)

    Hello Rajesh!

    This code is now no longer accurate, because installing it using the shotcode you made available now, it will only show where we want it.

    Congratulations!! ??</img>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘simulator appears all products on the shop page’ is closed to new replies.