Gravuj Miklos Henrich
Forum Replies Created
-
Forum: Plugins
In reply to: [Flamingo] Catch mail from wp_mailProbably you should use the wp_mail filter ( https://codex.www.ads-software.com/Plugin_API/Filter_Reference/wp_mail ) or just simply use the wp_mail function ( https://codex.www.ads-software.com/Function_Reference/wp_mail ) to send the email after a specific action.
Then you can store it like:
$status = wp_mail( $email_address, $subject, 'Your Password: ' . $password . ' - ' . $user_id );
If you have a $status then you can insert the email into a post or custom post type with wp_insert_post()
Forum: Plugins
In reply to: [Frontend Uploader] Create WooCommerce order (shop_order) instead of postIt seems the ‘fu_after_upload’ filter is not working. I have tried a very simple test and it has been failed.
add_action( 'fu_after_upload', 'my_fu_after_upload', 10, 3 ); function my_fu_after_upload( $attachment_ids, $success, $post_id ) { // do something with freshly uploaded files // This happens on POST request, so $_POST will also be available for you wp_redirect('https://www.ads-software.com/plugins/frontend-uploader/faq/'); }
Forum: Plugins
In reply to: [Cache Manifest] 3.9.2Greetings,
Thank you for your feedback!
This support forum is related of the Cache Manifest plugin, not WordPress tutorials.
Thank you.
Forum: Plugins
In reply to: [Cache Manifest] Not caching the PhotosGreetings,
Thank you for your feedback!
Forum: Plugins
In reply to: [Plugin: Woocommerce] Add free product if cart has 3 itemsI am facing the same situation.
Forum: Plugins
In reply to: [WooCommerce] Woo-Commerce Update broke my checkoutI am facing the same “admin-ajax.php?action=woocommerce_checkout&key=wc_order_53bbad790baa9&order=3537” error when I click on the “Place Order” button. Having tried all above mentioned ways, no change yet.
I thought I did some programming mistakes. The EPDQ gateway payment worked on Sunday night. This issue I’ve observed on Tuesday. So I rolled back everything to Sunday morning, in terms of backup.
Forum: Plugins
In reply to: [WooCommerce] Show the order's total weight on the admin edit/view order pageIt did the following code:
add_action( 'woocommerce_checkout_update_order_meta', 'add_cart_weight' ); function order_custom_field_function_name( $order ) { $order_id = $order->id; $order = new WC_Order( $order_id ); $items = $order->get_items(); $total_weight = 0; foreach( $items as $item ) { /*echo '<pre>'; print_r($item); echo '</pre>';*/ $item_metas = get_post_meta( $item['product_id'] ); $weight = $item_metas['_weight']['0']; $quantity = $item['qty']; $item_weight = ( $weight * $quantity ); $total_weight += $item_weight; } echo "<p><strong>Total Weight: <span style='color:green;'>" . $total_weight . "</span></strong> kg</p>"; } add_action( 'woocommerce_admin_order_data_after_billing_address', 'order_custom_field_function_name', 10, 1 );
Forum: Plugins
In reply to: [WooCommerce] Add quantity choice to variations?Hi Gianpiero,
When adding a new products, at “Product Data” please select “Variable product” https://i.imgur.com/ZtmnN0t.png
So you will have the possibility to add different attributes to the product. The attributes must be created first on the “Attributes” tab. https://i.imgur.com/orqisiU.png
You can add as attributes colour, size, etc.
Then, because you have selected “Variable product”, when adding the new product at the “Product Data” box you will have a tab called “Variations”. And there you can add as many variations as you want.
For example:
BAG (SKU: 123bag) > green > small > 10 qty
BAG (SKU: 123bag) > green > large > 15 qty
BAG (SKU: 123bag) > violet > small > 50 qtyYou can have even different SKU’s for each every variation.
Links to read:
https://docs.woothemes.com/document/managing-products/
https://docs.woothemes.com/document/product-variations/#section-2
https://docs.woothemes.com/document/managing-products/Hope this helps you.
Regards,
MiklósForum: Plugins
In reply to: [WooCommerce] Add quantity choice to variations?Hello,
Same question from here.Forum: Reviews
In reply to: [Delete All Pending Comments] It could come handyThank you.
Forum: Reviews
In reply to: [Delete All Pending Comments] Fantastic! Huge Time saver!Hello,
Thank you for the short review. After all this time, I was wondering if do you think this plugin should have improvements and if you have such ideas?
Thank you,
MiklósForum: Plugins
In reply to: [The Events Calendar] Events HooksI have some troubles.
https://i.imgur.com/cNM6dAI.png
It seems that parsing the template by url is not working on some servers where URL file-access is disabled in the server configuration.
On the snapshot you’l see the part where I’m treating the cases of the shortcode, what template should generate the shortcode.
I don’t know how else could I use the Events Calendar templates. Can I get any small direction regarding this, please?
Forum: Plugins
In reply to: [Network User Management] Options to control the user synchronization ?Hi,
Yes, it is possible but only with some little customisations inside the plugin’s code. Currently this is not implemented.
Forum: Plugins
In reply to: [The Events Calendar] Events HooksHi Barry,
Thank you for the answer. This is the direction I am starting on it: https://screencast.com/t/QT65pnv0X0g
As for the single event shortcode, like [event id=”xxx”]
Yes, please feel free to modify anything you need/want. Also I can include your changes if necessary in following versions of this plugin ??