To find the purchase price before shipping was added, we can set up the equation based on the information given. The shipping fee is 7% of the purchase cost \( p \), and we know that the shipping fee amounts to $30.25.
We can express this as:
\[ 0.07p = 30.25 \]
To find \( p \), we need to isolate it. We can do this by dividing both sides of the equation by 0.07:
\[ p = \frac{30.25}{0.07} \]
Calculating the right side:
\[ p = \frac{30.25}{0.07} \approx 432.14 \]
Thus, the purchase price before shipping was added is approximately:
\[ \boxed{432.14} \]