MarrsAttax
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Customise Add Meta function when adding an orderHi maykato.
Thanks for replying. I tried do as you suggested but it still uses the template from the plugin itself. I think this may be because it isn’t one of the overridable templates under the templates directory but is more fundamental to the plugin.
I’m thinking it may not be possible to do what I want to do 🙁 Thank you for your help though.
Forum: Plugins
In reply to: [WooCommerce] Customise Add Meta function when adding an orderI found the code that I would need to change. It’s in woocommerce/includes/admin/meta-boxes/views/html-order-items.php. There is a template defined called tmpl-wc-modal-add-products which creates the Add product modal dialog.
Obviously I don’t want to change this code directly. Is there a way I can override this template in my custom theme?
- This reply was modified 4 years, 6 months ago by MarrsAttax.
Forum: Plugins
In reply to: [Simple Contact Info] php warnings after activationI got a similar error and am using the same latest versions like you (3.6.1 & 1.1.3)
Strict Standards: Declaration of SCI_Social_Widget::update() should be compatible with WP_Widget::update($new_instance, $old_instance) in /var/www/bdstadia.co.uk/htdocs/europe/wp-content/plugins/simple-contact-info/inc/widgets/contact-social-widget.php on line 172
I got the message to go away by by adding an extra input parameter to the update function
I changed line 172 from
public function update($instance) {to
public function update($instance, $oldinstance) {in accordance with the class definition at http://codex.wordpress.org/Widgets_API
Hope this helps. Great plug-in by the way!