diff --git a/src/pages/catalog/pdp.jsx b/src/pages/catalog/pdp.jsx index 86b6ef1e..db555a0b 100644 --- a/src/pages/catalog/pdp.jsx +++ b/src/pages/catalog/pdp.jsx @@ -167,7 +167,7 @@ class Pdp extends Component { } const quantity = this.state.quantity; - const skuId = this.firstSku.code; + const skuId = _.get(this.firstSku, 'attributes.code.v', ''); actions.addLineItem(skuId, quantity) .then(() => { actions.toggleCart();