https://www.laraship.com/question/how-can-i-implement-the-attribute-price-dependency/