Skip to content
Advertisement

Tag: wordpress

HTML form rendering with weird hidden input fields

I have a new ecommerce site, which uses lead forms to collect customer info. On our live production site, there are hidden input fields with encrypted looking name and value attributes. Here is an example: These fields are not present in the template code, so I don’t know why or how they are getting added to the live pages. I

use custome zone in woocommerce in wordpress plugin development

so this is my code and add_filter( ‘woocommerce_states’, ‘woo_custom_shipping_zones’ ); its not working inside in my function but if i put it outside and reactivate my plugin its working how can use this filter inside the function? Answer You could use Wordpress options to solve the problem: The code should work. Add it to your active theme’s functions.php.

woocommerce order notes in order preview

I am trying to add all manual admin notes from order on order preview. I want to make it with their date & time bellow, with small text and sort by same way as backend. Code i writed is: But seems this method for data {{ data.data.field_id }} it’s not working for it. If i try global post or $order

Advertisement