pierre
Forum Replies Created
-
Forum: Plugins
In reply to: [Masonry Layout ( Post Grid Layout )] hide image of out of stock productHello,
I want to hide the (out of stock) product as whole from being listed in the layout. I only want to see it in the back-end.
Thanks
It doesn’t work … Nothing changes when I make the change.
I don’t need to display the 2 fields, only “label”.
So, how do I make the 2 fields appear?
Forum: Plugins
In reply to: [Gmedia Photo Gallery] Does the search include the tags?OK, thanks you for you reply.
Forum: Plugins
In reply to: [Modula Image Gallery] Search fieldI would like to have a photo gallery with a built-in search field. So that visitors can search for a photo by typing in terms contained in the title and/or description of the photo, but also in tags (keywords) that I could assign to each photo.
I don’t want a filter system, but a search system.
In order to have a photo library.
Is it possible ?Forum: Plugins
In reply to: [WooCommerce] notification if a product is ordered in large quantitiesHello,
Thank you for your reply. Unfortunately I’m not a developer … I don’t think I can do this. I thought it was possible just with a bit of php code.Hello,
Thank you for your reply. It’s a too bad because it is precisely the interest of tags …
I sent my proposal to the link sent.Thank you for your answer !
But I’m not a developer … there wouldn’t be a php code that I could add in my child theme to have automatic information?Each media has an ID (as with posts and pages).
On the following link, an example of a photo with the ID n ° 3091.
ScreenshotForum: Plugins
In reply to: [WooCommerce] new order notification only if there is a specific productThanks everyone. I finally found the solution with the php code
`add_filter( ‘woocommerce_email_recipient_new_order’, ‘conditional_recipient_new_email_notification’, 15, 2 );
function conditional_recipient_new_email_notification( $recipient, $order ) {
if( is_admin() ) return $recipient; // (Mandatory to avoid backend errors)## — YOUR SETTINGS (below) — ##
$targeted_ids = array(1, 2, 3); // products ids
$addr_email = ‘[email protected]’; // email// Loop through orders items
foreach ($order->get_items() as $item_id => $item ) {
if ( in_array($item->get_variation_id(), $targeted_ids) || in_array($item->get_product_id(), $targeted_ids) ) {
$recipient .= ‘, ‘ . $addr_email;
break; // Found and added – We stop the loop
}
}return $recipient;
}Forum: Plugins
In reply to: [WooCommerce] new order notification only if there is a specific productThank you for your reply.
I want to receive a notification as an administrator (or at another address, possibly) if in the order placed by a customer, there is a specific product (which I will identify by its ID for example).Forum: Plugins
In reply to: [WooCommerce] variation display problemHello,
Thank you so much. It works !
Thank you for your time.
Regards,
PierreIt works perfectly ! ??
Thanks a lot for your help. It’s nice to meet people who are as helpful as you are.
Have a good day
PierreHey !
Thank you for your reply ! It seems to work!
On the other hand I tried to add CSS code to this function to customize the formatting of the text..wpo_wcpdf_customer_first_order_message { font-size: 36px!important; color:#0CB243!important; font-weight: bold!important; }
But it does not work. Do you know how to do it ?
Thanks again.