radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic

If FPD product add_action

i need to be able to tap into the FPD class so if product is an FPD product it will use:

 

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );  

add_action( 'woocommerce_before_add_to_cart_button', 'woocommerce_template_single_excerpt', 5 );


due to us using the text layer short code in the short description the variable choice will be after the text entry which is terrible UI because as soon as variation choice is made the text layers will need rewriting. i can use: 


remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );  

add_action( 'woocommerce_before_add_to_cart_button', 'woocommerce_template_single_excerpt', 5 );


across all products but this moves my short desc text with is not great so if anyone knows an if statement for FPD products would be greatly appreciated 

Login or Signup to post a comment