How to use the custom content below any custom plugin?
-
I am learning WooCommerce development. I installed the pin checker plugin (https://www.ads-software.com/plugins/check-pincodezipcode-for-shipping-woocommerce/) and that displays above the add to cart button. Screenshot here https://prnt.sc/xftmpn
Now I have displayed the paragraph below of the pin checker and I used the below code but it’s displaying above the pin checker.
function action_woocommerce_single_product_pinchecker_content() {
echo “<span>Please enter PIN code to check delivery time & other more</span>”;
}
add_action( ‘woocommerce_single_product_summary’, ‘action_woocommerce_single_product_pinchecker_content’, 28, 0 );I can do it with jQuery and it’s working but I don’t want to do it with jQuery.
$(‘.pin_div’).append(“<span>Please enter PIN code to check delivery time & other more</span>”);
- The topic ‘How to use the custom content below any custom plugin?’ is closed to new replies.