newshop
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Show product excerpt/ short description in cart & checkoutThanks but that causes:
Fatal error: Call to a member function get_short_description() on null in …/childtheme/woocommerce/cart/cart.php on line 65
What should I do now?
- This reply was modified 9 years, 1 month ago by newshop.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Konflikt mit Easy Social Share ButtonsOk, ich hab ne Lösung gefunden, auch wenn das wahrscheinlich nicht optimal ist: Bei Plugin Organizer kann man einstellen dass URL Arguments ignoriert werden. Wenn ich jetzt also das Share Plugin für die Kundenkontoseite deaktiviert habe, ist es auch für kundenkonto/?account=activate deaktiviert. So umgehe ich den Konflikt, aber wenn es da vielleicht eine Lösung gäbe die den Konflikt gar nicht erst entstehen lässt wär das natürlich toll 🙂
Viele Grüße!Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide taxSure, it’s Germanized. It uses hooks and filters to hide the standard woocommerce tax information and add its own. Thats why I had the tax information on the pdfs generated with your plugin twice.
- This reply was modified 9 years, 3 months ago by newshop.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide taxI’ve already fixed it with css. It was a bit complicated because of the leak of classes but I found a way. Thank you.
- This reply was modified 9 years, 3 months ago by newshop.
Forum: Plugins
In reply to: [WooCommerce] Exclude specific shipping options for specific Zip codesStill looking for a solution, so I have to push this 🙂
- This reply was modified 9 years, 3 months ago by newshop.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Lieferzeit abhängig von LieferlandMittlerweile sind seit meinem ursprünglichen Post 11 Monate vergagen und ich wollte mal nachfragen ob es schon irgendwelche Fortschritte hierzu gibt?
Forum: Plugins
In reply to: [Germanized for WooCommerce] Paketdienstleister Checkbox erscheint nirgendsHi,
danke, das funktioniert. Wofür steht denn die 20?
Da ich einige solche Positions-Änderungen (und noch ein paar andere Änderungen) gemacht hab, hab ich eigenes Plugin geschrieben wo ich die alle reingepackt hab..Da hab ich dann die Funktion:function change_gzd_hooks_init() { .... } add_action( 'init', 'change_gzd_hooks_init' );Und da drin alle remove und add actions. Das hat bisher auch geklappt, nur war da eben keine 20 hintendran. Könnte ich die 20 da auch einfach reinpacken damit ich den Code für den Paketdienstleister da mit reinpacken kann oder hätte das irgendwelche Probleme? Habs grad mal ausprobiert und soweit sieht alles so aus wie ich es haben will…
Forum: Plugins
In reply to: [Germanized for WooCommerce] Paketdienstleister Checkbox erscheint nirgendsIch hab das ganze jetzt an eine andere stelle verschoben, bekomme aber den hinweis nicht von der eigentlichen psoition entfernt.
remove_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_parcel_delivery_checkbox', wc_gzd_get_hook_priority( 'checkout_parcel_delivery_checkbox' ) );
scheint nicht zu greifen. Was muss ich denn ändern?
Vielen Dank!Forum: Plugins
In reply to: [Germanized for WooCommerce] Paketdienstleister Checkbox erscheint nirgendsOk, das ist jetzt peinlich – ich hab das Versandarten Dropdown gar nicht gesehen bzw nicht realisiert dass es mit dem Paketdienstleider zusammenhängt. Jetzt funktioniert es. Sorry 😀
I’ve already given the 5 stars 😉
Thanks and have a nice day too!That did the trick, thank you very much!
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Stock availability for each variationHello, I wanted to include the code you gave me in a shortcode and then I wanted to include that shortcode in a form that I created with contact form 7 and contact form 7 dynamic text extension. But it didnt work. The author of contact form 7 dynamic text extension gave me the following advice, but I dont know how to edit the code correctly. Could you please help me with that? Many thanks in advance!
Your shortcode is not coded correctly and you need to fix it. You are echoing your output, not returning it.
All shortcodes must return, not echo.
Your $output variable that you are returning isn’t even defined, so you’re returning null. You need to define it at the beginning of your function, append your strings to that variable, and then return it. Don’t echo anything.
Here is the code I used:
function availability_info() { global $product; if( $product->is_type( 'variable' ) ){ $variations = $product->get_available_variations(); if( ! empty( $variations ) ){ foreach ( $variations as $variation ){ $variation = $product->get_child( $variation['variation_id'] ); echo $variation->get_formatted_variation_attributes() . (":") .(" "); echo $variation->is_in_stock() ? ("<span style=color:#00b805;>") . __( 'In Stock', 'yith-woocommerce-wishlist' ). ("</span>") . ("<br />") : ("<span style=color:#cb0000;>") . __( 'Out of Stock', 'yith-woocommerce-wishlist' ). ("</span>") . ("<br />"); } } } elseif( $stock_status == 'out-of-stock' ) { $stock_status = "Out"; echo __( 'Out of Stock', 'yith-woocommerce-wishlist' ); } else { $stock_status = "In"; echo __( 'In Stock', 'yith-woocommerce-wishlist' ); } return $output; } add_shortcode( 'instock', 'availability_info' );- This reply was modified 9 years, 4 months ago by newshop.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] Add Variation SKUThank you, I got the code from the YITH team and thought its correct because it outputs what I want when I paste it somewhere in my site, only the contact form 7 email doesnt contain it. So I will ask the YITH team to correct it and then try it again.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] Add Variation SKUNo idea how to include the shortcode’s output to the email? :/
Forum: Plugins
In reply to: [Germanized for WooCommerce] [gzd_complaints] in AGB entfernenAch sorry ich weiß woran das liegt. Ich habe das Plugin “Plugin Organizer” im Einsatz mit dem man bestimmte Plugins seitenweise de- oder aktivieren kann. Da im Germanized unter anderem auf der AGB- und Impressumseite deaktiviert habe, werden auch die Shortcodes nicht ausgelesen. Also alles gut 🙂