Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it required for a discerning child to make the intention at night if they wish to fast?
If a discerning child wishes to fast during Ramadan, they must make the intention at night because intention is one of the pillars of fasting, even though fasting is not obligatory for them.
Is it a condition that one should offer two sacrifices for a male newborn?
It is desirable to offer two sheep for a male newborn, and one for a female newborn. Offering one sheep for the male newborn is also permissible as it observes the Prophet`s Sunnah in this regard.
Some online stores offer a discount on a customer's first purchase — what is the ruling on creating a new account each time a customer makes a purchase in order to obtain that discount?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is obligatory upon a Muslim to uphold honesty in both his words and his actions. Allah the Almighty says {what means}: "O you who have believed, do not betray Allah and the Messenger or betray your trusts while you know." [Al-Anfāl/ 27] And He says {what means}: "O you who have believed, fear Allah and be with the truthful." [Al-Tawbah/ 119]. And the Messenger of Allah ﷺ said: "Whoever deceives us is not of us." (Reported by al-Bukhārī.)
As for creating a new account for the same buyer, the terms and conditions of the website must be observed and respected. If doing so violates those terms, it is not permissible. And Allah the Almighty knows best.