magento2 – Set up a shopping cart price rule in which when you buy 11 of a selection of article numbers, one is discounted from the price

try to achieve the above. My setup is currently as follows:

Enter image description here

But at least I only get a discount one SKU has a total amount higher than I specified. And then the discount will only be applied to this item. For example:


Enter image description here

(No discount)

Enter image description here

I'm looking for a technique that can apply this rule to the entire item selection, not to each item individually. Any thoughts?

How do I do what and how many numbers are repeated in C #

well I wanted to know how I can get my program to do how many numbers are repeated and which ones I tried, but I did not state that this is my code. Thank you very much

 int num;
            int entrada = Convert.ToInt16(Interaction.InputBox("┬┐Cuantos numeros vas a ingresar?", "Numeros"));
            for (int t = 0; t < entrada; t++)
                num = Convert.ToInt16(Interaction.InputBox("Ingrese el numero" + (t + 1)));
               int() lista = new int(num);

                for (int i = 0; i < lista.Length; i++)
                    lista(i) += 1;
                for (int j = 0; j < lista.Length; j++)
                    listBox2.Items.Add("Se repite el numero" + j + ":" + lista(j));



Focus – Are internal focusing prime numbers really non-compensated zoom lenses?

If I shorten the focal length of a lens without taking any other action, the flange distance required for infinity focus is reduced. So if the actual flange distance is not changed, the focus is closer than infinity.

Is this effect used to focus internally on premium lenses, and does it explain that the effective focal length tends to decrease rather than increase with closer focus?

In other words, do such lenses breathe because you focus them, or do they breathe to focus?

DO NOT ask for real cine lenses or floating element ultrawides.

(Note: While this appears to be a purely optical design question that is not photography related, it can become relevant when assessing how best to choose or change lens adapters.)

Java – Reduce double numbers to two decimal places with DecimalFormat: Use of the API documented as @since 1.6+ error

I am trying to use this code to get the number 2.90:

double number = 2.90689;
DecimalFormat df = new DecimalFormat("#.##");
df.setRoundingMode(RoundingMode.FLOOR);  //error

However, I get that Usage of API documented as @since 1.6+ error when trying to set the rounding mode. How do I solve this in a modern way? All the answers I've found use this seemingly outdated code.

php – Determines the X numbers of products in a Woocommerce category with Wp_Query

Use this query to view the product recommended by woocommerce and replace it with your product

$meta_query   = WC()->query->get_meta_query();
$meta_query() = array(
    'key'   => '_featured',
    'value' => 'yes'
$featured = array(
    'post_type'   =>  'product',
    'stock'       =>  1,
    'showposts'   =>  6,
    'orderby'     =>  'date',
    'order'       =>  'DESC',
    'meta_query'  =>  $meta_query

Then run your HTML code for the slider action in the loop.

have_posts() ): while( $featured->have_posts() ): $featured->the_post(); ?>



Microsoft Office – MS Word: Mentioning picture numbers in a text leads to an increase in the wrong number for picture numbering

In Microsoft Office Word 2016, I map an image under a paragraph and then I give an image with the image number. I wanted to mention the picture as "picture 1", but Word knows that picture 1 is used, so picture 2 must be used beforehand (however Word cannot understand that this was just a mention in the text and no real picture is available) , so Word makes picture 1 should be picture 2 because picture 1 is used. How can we correct the order of the picture numbers?


... , and some good flowers are can be seen on Image 1 below.

*Imagine there is an image on here*

Image 2: A flower picture with a vase

Actually it must be Image 1, but Word knows that Image 1 will be used beforehand.

Number theory – quadratic reciprocity for three prime numbers?

The quadratic reciprocity law states that e.g. $ p_1 ne p_2 $ Prime, the product $ left ( frac {p_1} {p_2} right) left ( frac {p_2} {p_1} right) $ takes values $ 1 $ or $ -1 $ it depends on $ p_1 $ and $ p_2 $ some restrictions meet mod $ 4 $,

Is there a "quadratic reciprocity law for three prime numbers"? I suspect the answer is negative.

Is it true that for all integers $ M> 0 $. $ varepsilon in {- 1,1 } $, and $ r_1, r_2, r_3 $ too much with $ M $there are prime numbers $ p_1 equiv r_1 pmod M $. $ p_2 equiv r_2 pmod M $, and $ p_3 equiv r_3 pmod M $ so that
$$ left ( frac {p_1} {p_2} right) left ( frac {p_2} {p_3} right) left ( frac {p_3} {p_1} right) = varepsilon? $$

What about five prime numbers?

real numbers – does anyone have a ladder in the form of learning material that I can use?

I want to learn math this year
I can do simple multiplications, additions, subtractions, and divisions, but I struggle with larger numbers.

But generally I have no math skills, all I know is that I want to start with the basics and work my way up. I am already an adult and I feel like someone who loves programming and is interested in electronics. I really need a strong foundation and understanding of math.

Can someone help me with some learning books to learn? I am not really embarrassed to start over as long as there is a ladder that I can climb on with the learning material.

I started with a book called "The Joy of X: A Tour of Mathematics" and although it is interesting, I assume that I already understand certain things.

I am excited to see that there is a 1000-page book that includes lessons and exercises, and good material that can be used to introduce and produce an expert from the perspective of an individual who has never done math before.

Thank you for any help.