A change in price of inputs will directly influence the equilibrium price and quantity of the commodity.
An increase in price of inputs will raise the production cost and it will lead to decrease in supply of the commodity. It will lead to excess demand.
On the other hand, a decrease in price of inputs will increase the supply due to fall in cost of production and rise in profit margin. It will lead to excess supply.