What happens if the stock price changes in SIP?

In amount-based SIP, the number of shares bought will change with the stock price. In quantity-based SIP, the investment amount will change with the price.