crossroast
Forum Replies Created
-
Forum: Plugins
In reply to: [Zorem Local Pickup] Attempt to read property “id”Great, thanks Kuldip.
Forum: Plugins
In reply to: [WooCommerce] Free delivery is offered without the condition being metHi Manja,
Did you by any chance use a snippet for that? We have some sort of similar problem.
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Php error on creditcard orderI have a similar problem: Warning: Undefined property: stdClass::$cardHolder in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/InstructionStrategies/CreditcardInstructionStrategy.php on line 20.
Downgrading the PHP version isn’t really an option. For other plugins, I need the PHP 8.3 version.
Forum: Plugins
In reply to: [Code Snippets] Warning: Attempt to read property “id” on null (582)Sure, thanks
Forum: Plugins
In reply to: [Code Snippets] Warning: Attempt to read property “id” on null (582)It seems I only got this error with PHP 8.
I think I solved it. With the information from the topic you shared it helped to find a solution.Thanks for the help and info!
Forum: Plugins
In reply to: [Code Snippets] Warning: Attempt to read property “id” on null (582)That topic you shared, was a help to find the snippet with the error.
Seems to be this one:
add_action( ‘woocommerce_cart_totals_after_shipping’, ‘shipping_zone_targeted_postcodes_custom_notice’ );
add_action( ‘woocommerce_review_order_after_shipping’, ‘shipping_zone_targeted_postcodes_custom_notice’ );function shipping_zone_targeted_postcodes_custom_notice() {
// HERE DEFINE YOUR SHIPPING ZONE ID(S)
$targeted_zones_ids = array( 0 );// Get the customer shipping zone ID $chosen_methods = WC()->session->get( 'chosen_shipping_methods' ); // The chosen shipping method $chosen_method = explode( ':', reset( $chosen_methods ) ); $shipping_zone = WC_Shipping_Zones::get_zone_by( 'instance_id', $chosen_method[1] ); $current_zone_id = $shipping_zone->get_id(); // Check if the current shipping method is "shipping_method_0_local_pickup80" $current_shipping_method = $shipping_zone->get_shipping_methods()[0]->id; if ( $current_shipping_method !== 'shipping_method_0_local_pickup80' ) { return; // Do not display the notice } if ( in_array( $current_zone_id, $targeted_zones_ids ) ) { echo '<tr class="shipping"> <td colspan="2" style="text-align:center">' . __( '<strong>Once we receive your order and payment, we will work to find the most cost-effective shipping option for you and provide you with a quotation for the shipment. If you are not satisfied with the quoted shipping costs, we offer a full refund of your payment.</strong>', "woocommerce" ) . '</td> </tr>'; }}
If I look at the topic you shared I think it has something to do with the $current_shipping_method = $shipping_zone->get_shipping_methods()[0]->id;
Send
With the Flatsome theme if I use the ux_product_add_to_cart it doesn’t show. If I use the ux_product_hook it shows. But now it doesn’t work that way. With all my products I have the keep me informed option.
I have products and subscriptions with Allow backorders-> Allow I don’t need a stock alert for those. Same for products with Allow backorders -> Allow, but notify customer also not needed. This should only show when the stock is 0 and the Allow backorders is Do not allow. Since the last update Stock alert is useless. It was working great, but now
Don’t realy have screenshot to show. I can try to create it on my staging site with version 1.7 and show you the difference.
Als ik het zo op het eerste zicht zie, dan lijkt het erop dat de migratie van versie 5 naar 6 op beide sites iets anders gegaan. Voor koor is het de lay-out van EM6 na de migratie voor tranen-met lijkt het me nog je eigen lay-out, of de basis tabel van EM5 dat jaren dienst deed. Ik zou checken bij Event Manager Options ->General -> Styling Options (Advanced) om te zien of het bij beide hetzelfde staat. Dat is met de EM6 update bij vele misgelopen, spreek uit ervaring. We hebben het op de Pro support het er uitvoerig over gehad. Ze hebben het opgelost, maar er komt nu iets meer bij kijken om alles terug aan te passen. Met CSS en PHP kan je alles aanpassen naar je eigen stijl, al moet je dan de EM settings volledig uit zetten.
Als je meer info zoekt, zou ik opteren om in het Engels verder te doen. Dat is de taal die hier gebruikt moet worden, zodat iedereen input kan geven.
–
For our English speaking friends, a summary of the dutch part:
It seems on https://tranen-met-tuiten-hoogvliet.nl/ you didn’t do the migration for the version 6.0 Styling Options. Or you or someone else switched them off in the EM settings (Event Manager Options ->General -> Styling Options (Advanced)). On https://koorhappydays.nl/agenda/ it’s the default lay-out from EM 6 after migration and you didn’t change anything in the settings. The EM6 update was a big change and most of the customization we did got lost. They fixed it ASAP. But it’s still a big change and you have to read the documentation. In most cases you can make profound changes with a few line of CSS or PHP.I suggest you continu in English so that more people can help. I’m guessing that Marcus can tell you in a second what’s going on.
I changed the #_CATEGORYCOLOR in the default event list format to
style="--default-border:#d9ebdf;">to overrule it all. Not sure what happend so that it won’t update.Met Google moet je dacht ik die API hebben voor front end.
Heb je al met het alternatief geprobeerd? Stonehenge Creations heeft een OpenStreetMAps add-on.
For our English speaking friends:
I think his question related to to Google map icon on the event calendar has something to do with the Google API in the Benelux. I suggested to try with the OpenStreetMaps Add-on from Stonehenge Creations.Happy to help!
As of version 6.0 you need to disable all the styles and you can brand it yourself. You can test this out with the free version.
It’s the biggest problem with the EM 6 update.
But they added a fix because most people aren’t happy with it. Not to mention some are furious.You can disable the new class em and pixelbones under Settings –> General –> Styling Options (Advanced).
I understand the reason behind 6.0.
But the power of EM was that there was little to none styling and we could use EM as we wanted and style it ourself quite easy if I may add. In my opinion that’s what made EM so strong. I doubt you could have know how many of your users/pro clients used this as a tool to make EM there own. That’s what made the big change to EM 6 for so many of us a terrible and horrible experience.I can understand that some users have issues with that. Sometimes people just want to install a plug-in hit activate and be done with it. With EM after it was activated the fun began with customizing it to your site/theme our even company housestyle. That’s something that got lost with the 6.0 update. You solved it with the dev version 6.0.0.1.
This update was way too big and should have been beta tested by the pro users.