hardyzbest
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Link to specific language does not workGot it! Atleast for me, try using /?main-lang=fr
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Link to specific language does not workStruggeling with the exact same problem.
Tbh I just had luck having a plan B with the invoices. For the dhl plugin I can only suggest that you might replace the order number with your number be writing your own hook in the functions.php . This shouldn’t be a big Problem but I’m not good enough to write a proper hook with such a wide range of actions….I don’t want to be responsible for any problems ??
Got it on my own. I also use the webtoffee plugin “packing list, shipping labels, invoice,…” and I just added a custom field using the functions.php .
NOT THE ADVANCED META KEYS ! They don’t work, when you just need the original order id!
add_filter('wf_pklist_alter_find_replace','wf_pklist_add_values_for_custom_placeholders',10,5); function wf_pklist_add_values_for_custom_placeholders($find_replace,$template_type,$order,$box_packing,$order_package) { if($template_type=='invoice') { $wc_version=(WC()->version<'2.7.0') ? 0 : 1; $order_id = ($wc_version==0 ? $order->id : $order->get_id()); $find_replace['[wfte_custommeta1]']=get_post_meta($order_id,'_post_title',true); } return $find_replace; }
This is the original code where you could create as many meta_keys as you want by simply duplicating the line “$find_replace….” . But in my case I needed this:
add_filter('wf_pklist_alter_find_replace','wf_pklist_add_values_for_custom_placeholders',10,5); function wf_pklist_add_values_for_custom_placeholders($find_replace,$template_type,$order,$box_packing,$order_package) { if($template_type=='invoice') { $wc_version=(WC()->version<'2.7.0') ? 0 : 1; $order_id = ($wc_version==0 ? $order->id : $order->get_id()); $find_replace['[wfte_custommeta_b]']=$order_id; } return $find_replace; }
That’s it. Just this line:
$find_replace[‘[wfte_custommeta_b]’]=$order_id;
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Bulk Edit does nothingThe error has gone and the bulk-creating is working fine (except for international but that’s a DHL-problem).
tbh honest I didn’t change anything and it’s working, so I’m sorry that I can’t give any more information about it.
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Bulk Edit does nothingThese are the two errors now after deinstalling and reinstalling the plugin:
https://www.classicbodynutrition.com/wp-content/uploads/2023/09/Unbenannt.png
Forum: Plugins
In reply to: [Quick Page/Post Redirect Plugin] Redirects not open in new tabDidn’t work. Followed @mapsmarketing ‘s instructions but it broke my website. The plugin version is correct.
[EDIT]
It was the settings “use JQUERY” I didn’t activated. This setting is neccessary to use _blank and nofollow !- This reply was modified 1 year, 8 months ago by hardyzbest. Reason: problem solved for me
Yeah, already noticed that it’s not your plugin…we used yours in the past for other things. Tried your plugin and it works like a charm, thanks!
There isn’t any comment date at all:
And that’s where the problem goes…there isn’t any type of “comment date” or something similar to this. So I have to use the attribute “publishing date” because your google reviews template hasn’t the review_timestamp included.
Which attribute should I use now?
Forum: Plugins
In reply to: [WPC Product Bundles for WooCommerce] progress bar für minimum priceMy bundle has five products, each with 5 EUR per item.
The customer can choose between a minimum range of 40 EUR but not more then 50 EUR.
When the customer adds products for 20 EUR, he has 50% of the minimum price. When he has 30 EUR in total, he has 75% and so on.
All I need now is a graphical solution like a progress bar to show the customer how much he can still add.
Thanks for your effort but I guess what I want isn’t even possible without some dirty Javascript hacking, because the price field isn’t linked to the add-to-cart-button or the variation-selection.
It works now in a way I’m almost happy with, so case closed as it’s not a problem YOU should fix as a third-party-developer. It’s more a WooCommerce-thing.
So, right now I made a quicky-and-dirty solution to atleast show the current price on every product using CSS. But the price is defined 2-3 times per product page. It would be awesome, if it’s somehow possible to replace woocommerce-variation-price with b2bking_tiered_active_price?to see the selected tiered price.
But the main problem is still the missing price I now called “Aktueller Staffel-Preis” in the other screenshots. The whole b2bking_tiered_active_price class is missing when using variable products. It’s always the woocommerce-variation-price class . I know I hide the woocommerce-variation-price class but only as long as it doesn’t work.
Deactivated everything related to this but it doesn’t work like it should. It doesn’t switch back to the main price. I could live with this solution on simple products but it has to be put back to the normal price, when there’s no tiered price.