@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | $fields = parent::getCMSFields(); |
206 | 206 | |
207 | 207 | // Cateogry Dropdown field w/ add new |
208 | - $source = function () { |
|
208 | + $source = function() { |
|
209 | 209 | return ProductCategory::get()->map()->toArray(); |
210 | 210 | }; |
211 | 211 | $catField = DropdownField::create('CategoryID', _t('ProductPage.Category', 'FoxyCart Category'), $source()) |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | $product = self::get()->byID($this->ID); |
343 | 343 | if (isset($product->ParentID)) { |
344 | 344 | $origParent = $product->ParentID; |
345 | - } else { |
|
345 | + }else { |
|
346 | 346 | $origParent = null; |
347 | 347 | } |
348 | 348 | $currentParent = $this->ParentID; |
@@ -429,8 +429,7 @@ discard block |
||
429 | 429 | $optionName = ($optionName !== null) ? preg_replace('/\s/', '_', $optionName) : $optionName; |
430 | 430 | |
431 | 431 | return (FoxyStripeSetting::current_foxystripe_setting()->CartValidation) |
432 | - ? \FoxyCart_Helper::fc_hash_value($productCode, $optionName, $optionValue, $method, $output, $urlEncode) : |
|
433 | - $optionValue; |
|
432 | + ? \FoxyCart_Helper::fc_hash_value($productCode, $optionName, $optionValue, $method, $output, $urlEncode) : $optionValue; |
|
434 | 433 | } |
435 | 434 | |
436 | 435 | /** |