magento2 – Magento 2 visibility “catalog” not saving in default store view

Magento 2 visibility “catalog” not saving in “default store view” but when store is “All store view” it is saving “catalog” but in default store view when visibility set “catalog” after save it is showing “catalog,search”

Using Magento 2.3.5p1

enter image description here
Anyone how to solve this?

macos – URL Link to always open in the default browser

My default browser is Brave and whenever I click on a link in any of the mac apps it opens in brave which is the expected behaviour but for some reason it doesn’t when Ungoogled Chromium is open in parallel. Then all the links goes to Ungoogled Chromium even though in the setting Brave is the default browser. Doesn’t happen when other browsers are open in parallel. I have tested it with Google Chrome, Firefox, Safari and Tor.

I am on Big Sur 11.2.2 and Brave Version 1.21.73

default email for guest checkout drupal8 commerce2

if guest checkout option is selected in drupal8 commerce2 checkout default email for guest is: demo+1614916499@commercekickstart.com . is there a way to change what’s displayed as default contact email for guest??
i am using ecommerce demo from centarro https://www.centarro.io/drupal-commerce/commerce-kickstart-2-x-demo.

any suggestion or thoughts?

php – Missing post when i switch language from default english to japan

I am using polylang. The default language is english then it displays the news section, but when I switch to JP (japan), the news section is missing.

$news = new WP_Query(‘category_name=news’);
while ( $news->have_posts() ) : $news->the_post();

if (in_category('news-lpga-jlpga')) {   
    $all .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat01', 'LPGA/JLPGA', get_the_title() );
    $cat01 .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat01', 'LPGA/JLPGA', get_the_title() );
} elseif (in_category('news-planning'))  { 
    $all .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat02', '企画', get_the_title() );
    $cat02 .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat02', '企画', get_the_title() );
} elseif (in_category('news-goods')) { 
    $all .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat03', '>グッズ', get_the_title() );
    $cat03 .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat03', '>グッズ', get_the_title() );
} elseif (in_category('new-fun-club'))  {
    $all .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat04', '>ファンクラブ', get_the_title() );
    $cat04 .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), 'cat04', '>ファンクラブ', get_the_title() );
} else {
    $all .= news_item(get_permalink(), get_the_date( 'Y.m.d' ), "http://wordpress.stackexchange.com/", "http://wordpress.stackexchange.com/", get_the_title() );
}

if(in_category('news-featured')){
    $featured_news .=
    '<a href="http://wordpress.stackexchange.com/" . get_permalink() ."http://wordpress.stackexchange.com/" style ="text-decoration: none;">
        <div class="news_card slide-item-h">
            <img  src="https://wordpress.stackexchange.com/" .  catch_that_image() ."http://wordpress.stackexchange.com/" style="width: 100%; height: auto" alt="http://wordpress.stackexchange.com/" />
            <div class="caption mt-4">
            <p class="news_caption text-muted" style = "font-size: 12px; font-family: Georgia;">' .  get_the_date( 'Y/m/d' ) .'</p>
            <h5 class="news_title " style = "font-size: 16px; font-style: normal; font-family: Cursive; color: #333333;">' .  get_the_title() .'</h5>
            </div>
        </div>
        </a>
    ';
}

endwhile;

theme – Magento 2 Default Meta description has no effect

I try to add meta description to my Magento 2 theme under Content -> Design -> configuration -> Edit -> HTML Head -> default meta description

but the text I add has no effect, when I look at the source code,
<meta name="description" content=""> just show something completely different, which I have no idea where the text come from.

Am I misunderstanding how Magento 2 meta description works?

magento2.3 – Attribute taking 0 as default value

I have a strange issue and not sure what is wrong, I have identical attributes (see image below), but the strange part is when I keep Metal 02 Weight blank and save the product its taking 0 value automatically, while this is not happening with Metal 01 Weight, can anyone help me how to find out the reason, I have cleared / flushed all caches, all indexes are reindexed, completely removed generated , static folders and recompiled everything, still no effect.Database Screenshot of both attributes

How to restrict the view selection on the default list page SharePoint Online?

I have a SharePoint Online intranet portal where everyone is having Read access. However I have few lists where certain records should be viewed by admins only.
Is there a way to restrict a view to certain Group on SP Online. or any other approach? Ido not want to create folders inside list and break role inheritance.

WooCommerce – Echo ID of Variable Product Default Attribute

I am trying to dynamically echo out the ID of the default attribute for variable WooCommerce products.

Using $default_variation = $product->get_default_attributes(); so far I am only able to echo out an array of attributes for each variable product.

Is there a WooCommerce method available, as opposed to get_default_attributes, that will simply echo out the ID of the one default attribute?

Alternatively is there a method I can use in my function, included below, to cycle through the array and echo out only the default attribute ID?

function add_new_add_to_cart_button() {
    global $product;
    if( $product->is_type( 'variable' ) ){
        $product_id = $product->get_id();
        $default_variation = $product->get_default_attributes();

        echo '<form class="cart">
        <input type="hidden" name="product_id" value="'.$product_id.'">
        <input type="hidden" name="variation_id" value="'.$default_variation.'">
        <input type="hidden" name="qty" value="1">
        <button class="button product_type_variable add_to_cart_button" style="float:none;" type="submit" name="add-to-cart" value="'.$product_id.'">Buy Now</button>
        </form>';
    }
}
add_action( 'woocommerce_after_shop_loop_item', 'add_new_add_to_cart_button', 15 );

Will nodes configured with a larger-than-default mempool automatically retransmit transactions that have been dropped from the default mempool?

If a transaction is sent and droppped from the default mempool before it is included in a block, but nodes with a larger-than-default mempool size exist that still have the transaction, will those nodes retransmit that transaction eventually?

This is a matter of policy, so different Bitcoin implementations may have different behaviors. I’m most curious about Bitcoin Core, since it’s very common, but if other node implementations differ, I’m curious about them too.

If such transactions aren’t retransmitted, I’m also curious why not, since it seems like such behavior might be useful.