dailce
Forum Replies Created
-
Forum: Plugins
In reply to: [WPS Hide Login] Bug with WoocommerceAny idea when this will be fixed. Basically when a user logs out of woocommerce the cart contents do not get cleared. After numerous testing I think it is your plugin causing the issue. Any idea how to fix it?
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Compliance State? Can’t re-subscribe?Thanks for the help. I guess then since “MailChimp does not allow emails to re-subscribe over the API once they have been deleted or unsubscribed.” is the real reason this is happening, kind of limits the APi. I’ll probably use a workaround and return a “Click Here to Try Again” link that will redirect to mailchimps form on their end – that way the user can resubscribe.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Compliance State? Can’t re-subscribe?I notice on mine the params being sent are:
_mc4wp_form_element_id mc4wp-form-1
_mc4wp_form_id 24199
_mc4wp_honeypot
_mc4wp_timestamp 1536755321
action mailchimp_ajax
EMAIL [email protected]
INTERESTS[e13a8db7a3][] a7735bb2e8The honeypot field is blank? Maybe this has something to do with it?
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Compliance State? Can’t re-subscribe?I did get in contact with Moneris, seems like they don’t know what to say, their response:
This is a quick update to our earlier chat conversation regarding your signup forms. The form was being added in through MC4WP. Here’s a quick screenshot of the form – https://XXXXX . You’ll need to contact WordPress to ensure the signup form was up to date, for example if you needed to update permissions, or if there was any setting that needed to be changed. To clarify a bit more on what I mean- since the signup form was provided by WordPress, not by MailChimp, the settings will need to update within WordPress.
====
I’m not totally sure. So on our wordpress site I get the error using the email when I try to resubscribe. The email hasn’t been used multiple times, just unsubscribed once.
Now if I go to mailchimp > formbuilder > and use the link they give for the same form/list then signing up works >>> step one enter email, click sign up, and they then provide a recaptcha to confirm. Maybe your plugin needs a time stamp of recapthca of some kind?
EDIT: I disabled the recpatcha setting in mailchimp list, and tried testing the embedded form from within mailchimp, and it seems to resubscribe with no issues. I still can’t resubscribe with your plugin though… hopefully there is a fix laying around.
- This reply was modified 6 years, 2 months ago by dailce.
Forum: Plugins
In reply to: [AdRotate Banner Manager - The only ad manager you'll need] wpml compatible?Example
<a href="mypage/"><img src="%asset%" alt="" /></a> for the different language I need <a href="mypage/?lang=es"><img src="%asset%" alt="" /></a>
- This reply was modified 6 years, 2 months ago by dailce.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Compliance State? Can’t re-subscribe?Example of an error from the log
[2018-09-11 09:52:33] ERROR: Form 24199 > MailChimp API error: 400 Bad Request. Member In Compliance State. i********@gm***.com is in a compliance state due to unsubscribe, bounce, or compliance review and cannot be subscribed. Request: PUT https://us1.api.mailchimp.com/3.0/lists/02***517/members/4be38fc***4fff4e3c1298 - {"email_address":"i********@gm***.com","interests":{"a77***2e8":true},"merge_fields":{},"status":"subscribed","email_type":"html","ip_signup":"69.***.50.***"} Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Member In Compliance State","status":400,"detail":"i********@gm***.com is in a compliance state due to unsubscribe, bounce, or compliance review and cannot be subscribed.","instance":"df1d347c-baf8-***-***-b58cc7b0ce74"}
- This reply was modified 6 years, 2 months ago by dailce.
Forum: Plugins
In reply to: [Checkout Address Autocomplete for WooCommerce] Canada Postal CodeI think for the invalid part can be fixed. Once your script add the values to the input fields is there a way to trigger say a change event to the input fields? I think my issue is that the validation isn’t detecting the pasting of your values into the fields.
edit: I tried
document.getElementById((f)).value = autoc_value;
var eventy = new Event(‘change’);
document.getElementById((f)).dispatchEvent(eventx);seems to work but if the fields are invalid and then the address fields get populated then woo still doesn’t reevaluate until you submit. I guess that could be how it’s setup?
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Cart Won’t Clear After CheckoutBug still exists. Same issue needs to be fixed. We use mailchimp and pay a huge monthly fee because our email list is large. Seems like it should be a simple fix for the mailchimp team.
Forum: Plugins
In reply to: [WPS Hide Login] Bug with WoocommerceAgain default install.
Woocommerce plugin only.
Theme = storefront by woocommerceWhen a user completes an order they are brought to the thank you page.
The cart should get cleared at this point, but with your plugin active it does not.Forum: Plugins
In reply to: [WPS Hide Login] Bug with WoocommerceYes I still got the same issue. If you have time to try to replicate it and fix, that would be great.
Forum: Plugins
In reply to: [WPS Hide Login] Bug with WoocommerceNo addons, just default woocommerce and WP, the theme I used is woocommerce’s storefront theme.
Forum: Plugins
In reply to: [WooCommerce] Change order of billing fields on checkout pageI’ve added custom fields to the billing area.
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { //unset($fields['billing']['billing_company']); unset($fields['shipping']['shipping_company']); unset($fields['shipping']['shipping_email']); $fields['billing']['billing_attention'] = array( 'label' => __('Attention:', 'woocommerce'), 'placeholder' => _x('Attention', 'placeholder', 'woocommerce'), 'required' => false, 'class' => array('form-row-wide'), 'clear' => true ); $fields['billing']['billing_s2_email'] = array( 'label' => __('Secondary Email:', 'woocommerce'), 'placeholder' => _x('Secondary Email', 'placeholder', 'woocommerce'), 'required' => false, 'class' => array('form-row-wide'), 'clear' => true ); $fields['billing']['billing_customer_po'] = array( 'label' => __('Customer PO#:', 'woocommerce'), 'placeholder' => _x('Customer PO#', 'placeholder', 'woocommerce'), 'required' => false, 'class' => array('form-row-wide'), 'clear' => true ); return $fields; }
How can I include these as part of the ordering? I tried your method adding to the $fields_order = array( ‘company’, …..
But it doesn’t seem to work.Yes I too have the same issue, will try the fix above. Thanks @sartais
Forum: Plugins
In reply to: [WooCommerce] Zero $0 Coupon?We want to be able to tag the orders with the coupon, so we can include a special items for instance. So customer get special promo code, say “team-x-2016”, enters it, then we know the ordered items will be going to team-x. So it’s just a simple way we can keep track of these. I just want to be able to display the $0 amount.
Kind of on the same topic
I can get this code to work only when I refresh the page, and it works as needed:function my_hide_shipping_when_free_is_available( $rates ) { $free = array(); if ( isset( $_POST['post_data'] ) ) { parse_str( $_POST['post_data'], $post_data ); } else { $post_data = $_POST; // fallback for final checkout (non-ajax) } foreach ( $rates as $rate_id => $rate ) { if ( 'free_shipping' === $rate->method_id && isset($post_data['customorderfield']) && $post_data['customorderfield'] == 1) { $free[ $rate_id ] = $rate; break; } } if ( isset( $rates['free_shipping:10'] ) ) { unset( $rates['free_shipping:10'] ); } return ! empty( $free ) ? $free : $rates; } add_filter( 'woocommerce_package_rates', 'my_hide_shipping_when_free_is_available' );
However, what I’m trying to do is have shipping update via ajax.
So I have added this js to trigger a cart update it does work and send the post fieldadd_action( 'wp_footer', 'woocommerce_sendthis_js' ); function woocommerce_sendthis_js() { if (is_checkout()) { ?> <script type="text/javascript"> jQuery( document ).ready(function( $ ) { jQuery('#mycheckbox').on( 'change', function () { jQuery('body').trigger('update_checkout', { update_shipping_method: true } ); }); }); </script> <?php } }
I added this snippet of code to my woocommerce fields:
<input id="mycheckbox" class="input-checkbox update_totals_on_change" type="checkbox" name="customorderfield" value="1" />
Again, the shipping updates properly when I refresh the page, but won’t update upon triggering update_checkout, and I’m not sure why. Any ideas?
- This reply was modified 8 years ago by dailce.