File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ public function __construct(
98
98
}
99
99
100
100
/**
101
+ * Return currency symbol.
102
+ *
101
103
* @return string
102
104
*/
103
105
public function getCurrencySymbol ()
@@ -274,6 +276,8 @@ public function getImageUploadUrl()
274
276
}
275
277
276
278
/**
279
+ * Return product qty.
280
+ *
277
281
* @param Product $product
278
282
* @return float
279
283
*/
@@ -283,6 +287,8 @@ public function getProductStockQty(Product $product)
283
287
}
284
288
285
289
/**
290
+ * Return variation wizard.
291
+ *
286
292
* @param array $initData
287
293
* @return string
288
294
*/
@@ -298,6 +304,8 @@ public function getVariationWizard($initData)
298
304
}
299
305
300
306
/**
307
+ * Return product configuration matrix.
308
+ *
301
309
* @return array|null
302
310
*/
303
311
public function getProductMatrix ()
@@ -309,17 +317,22 @@ public function getProductMatrix()
309
317
}
310
318
311
319
/**
320
+ * Return product attributes.
321
+ *
312
322
* @return array|null
313
323
*/
314
324
public function getProductAttributes ()
315
325
{
316
326
if ($ this ->productAttributes === null ) {
317
327
$ this ->prepareVariations ();
318
328
}
329
+
319
330
return $ this ->productAttributes ;
320
331
}
321
332
322
333
/**
334
+ * Prepare product variations.
335
+ *
323
336
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
324
337
* @return void
325
338
* TODO: move to class
You can’t perform that action at this time.
0 commit comments