Magento 1.9 change custom option value depending on stock number
问题 I have custom code that determines if a custom code value exists and if it does to select this option over the default sort order option in the product config. What I am wanting to do is further add logic that if the product sku starts with "F" then it will show the default sort order value for that product. The custom code is in this file.. app\code\local\Mage\Catalog\Block\Product\View\Options\Type\Select.php Here is the code in question // Set Default for the following cases: // Ring Size