Where does the plugin check if fixed price is activated?
-
Hello!
I am trying to modify the plugin to allow me to control the prices for all products in the store using only one private product. I have been able to show the same dropdown on all products based on one product-ID by changing this:
$productId = 428; $data = WoofixUtility::isFixedQtyPrice($productId);
The problem now is that fixed price options needs to be activated on the products if this is going to work. If fixed price is not activated, the dropdown disappears.
Also, the given quantity allowed apparently needs to be set on all products. I want a way to change fixed quantity for all products using the product with ID “428”.
The prices are calculated using functions.php, so I don’t actually need that function. I just need the dropdown to be brought in from product ID “428”.
Could you please assist as to where the plugin checks if fixed price is activated so I can override it?
Thank you!
- The topic ‘Where does the plugin check if fixed price is activated?’ is closed to new replies.