Мы продаем образцы продуктов на нашем сайте Woocommerce, который является всего лишь переменным продуктом. Товар имеет уникальный класс доставки, который позволяет его доставить за 1,99.
Фактически эта стоимость всегда устанавливается, если товар принадлежит этому уникальному классу доставки, даже если есть другие товары.
Я хотел бы, если возможно, включить эту стоимость доставки только в том случае, если этот конкретный товар (из этого уникального класса доставки) находится один в корзине.
Любая помощь приветствуется.