• Resolved coriassphenix

    (@coriassphenix)


    hello

    do you have a short code. I want to change t the Position of the calculator on product page.. Thank you

    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)

    Sorry we do not have the short code for this

    it is applied on this hook ‘woocommerce_after_add_to_cart_form’

    we do have a filter function to change the position hook where it is applied

    
    add_filter('pi_ppscw_cal_position_filter', function($hook){
    return 'woocommerce_after_add_to_cart_form';
    });
    
    Thread Starter coriassphenix

    (@coriassphenix)

    thanks for getting back to me. but I want to the button with the following hook woocommerce_product_meta_start.
    I tried and it is not working.

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    that filter function is not working from the theme as due to difference in the execution sequence

    add that code in the form of a plugin

    here is the sample plugin we have made for you that will change its position to woocommerce_product_meta_start

    https://piwebsolution.com/client/pi-custom-postion.zip

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘shortcode’ is closed to new replies.