Unverified Commit 97414173 authored by alexandrebrubeyonds's avatar alexandrebrubeyonds Committed by GitHub
Browse files

Remove filter combinationName

parent 58ebf035
......@@ -35,17 +35,6 @@ export default {
return null;
},
combinationName() {
const combinations = this.product.combination_name.split(',');
const attributes = this.product.attribute_name.split(',');
const separator = ' - ';
let attr = '';
combinations.forEach((attribute, index) => {
const value = attribute.trim().slice(attributes[index].trim().length + separator.length);
attr += attr.length ? ` - ${value}` : value;
});
return attr;
},
hasCombination() {
return !!this.product.combination_id;
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment