studiokb
Forum Replies Created
-
Great, thanks
Ok, thanks
Yes it is a multisite network. Ok I Network activated the plugin and that seems to work now.
ThanksJust to add to that when I go to ‘Test communications’ under tools, I get the error:
Communications failure: Invalid domain key for https://asentiv.com/: but should be d3654a etc…
Does it have something to do with the site being on a sub-domain? Does it need to be active on the main site?Hi,
Thanks, but it is still giving me the same error when I click ‘Refresh your account data’.
The website isForum: Plugins
In reply to: [Drag and Drop Multiple File Upload for Contact Form 7] Max file size queryCool, thanks.
Forum: Plugins
In reply to: [Drag and Drop Multiple File Upload for Contact Form 7] Attachment issuesHi Thanks for the response. I didn’t realise it needed to be in the body as well.
Forum: Plugins
In reply to: [WC Custom Emails Per Product] Cannot activate WooCommerce requiredHi,
I think a work-around to activate the plugin may have worked, you de-activate WC from Netowrk, activate it from the individual site, re-activate WC from Network, BUT now there is a fatal error. It may be a conflict with another plugin. The error is:
Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in /wp-content/plugins/wpfront-user-role-editor-business-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:86 Stack trace: #0 /wp-includes/class-wp-hook.php(288): WPFront_User_Role_Editor_Custom_Post_Types->registered_post_type('woocustomemails', Object(WP_Post_Type)) #1 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #2 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /wp-includes/post.php(1439): do_action('registered_post...', 'woocustomemails', Object(WP_Post_Type)) #4 /wp-content/plugins/woo-custom-emails-per-product/admin/class-woo-custom-emails-per-product-admin-settings.php(86): register_post_type('woocustomemails', Array) #5 /wp-content/pl in /wp-content/plugins/wpfront-user-role-editor-business-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php on line 86Forum: Plugins
In reply to: [WC Custom Emails Per Product] Cannot activate WooCommerce requiredIt could be because of how the plugin looks to see if WooCommerce is active. Seems like network activated is different. See – https://wp-buddy.com/blog/check-wordpress-plugin-sitewide-active-network-active/
- This reply was modified 6 years, 3 months ago by studiokb. Reason: typo
Hi Dirk,
I never got WooCommerce to obey the ‘required’ attribute so had to custom do it with jQuery. It was basically prevent the Place Order button action if a ‘date field’ was empty, and give an alert. Something like://prevent place order button submitting $('#place_order').bind('click.orderclick', function (event) { // Check DATE input value var dateInput = $('#order_wcj_checkout_field_7').val().length; console.log('date input:' + dateInput); if (dateInput == 0) { alert("Please select a pickup date."); event.preventDefault(); $('#order_wcj_checkout_field_7').css({ 'border': 'solid 1px red' }); $('html, body').animate({ scrollTop: $("#order_wcj_checkout_field_7").offset().top - 130 }, 1000); } else { // remove click preventDefault $('#place_order').unbind('.orderclick'); $('#order_wcj_checkout_field_7').css({ 'border': 'none' }); $('#order_wcj_checkout_field_7_field > label > .required').remove(); }Good question. Another plugin does this and they told me that it has an option to disable Delivery Date and Time Field for product categories. Let’s consider a case of multiple products in the cart with different categories where the delivery date is enabled for one and disabled for another category. In that scenario, the Delivery Date fields will appear on the checkout page.
Hi,
Thanks. Interesting article but the the HTML5 ‘required’ attribute does not do anything when added to the field. It still gets submitted. I imagine that WooCommerce submits the order by AJAX and validation takes place server side.Hi,
I just saw the subject of this thread and reminded me that I had asked the same thing a while back. It sounds like the same Pickup plugin for which I got a solution. See https://wordpress.org/support/topic/get-custom-field-from-wp_woocommerce_order_itemmeta-table/Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Adding barcode to packing slipHi,
Thanks for the infoForum: Plugins
In reply to: [Easy Social Icons] Accessible iconsJust an addition or alternative to that, aria-label could be added to the parent link. Example see this page – https://fontawesome.com/v4.7.0/accessibility/ and the section “If an icon represents an interactive element”