This commit is contained in:
@@ -28,6 +28,8 @@ export const useProduct = (variantId) => {
|
||||
const material = computed(() => getAttribute(productsData?.value?.attributes, 'material')?.option)
|
||||
const size = computed(() => getAttribute(productsData?.value?.attributes, 'size')?.option)
|
||||
|
||||
const photoModel = computed(() => productsData?.value?.meta_data?.find(meta => meta?.key === 'photoModel').value?.split(','))
|
||||
|
||||
function getIdentifier(productVariant) {
|
||||
const color = getAttribute(productVariant?.attributes, 'color')?.option
|
||||
const material = getAttribute(productVariant?.attributes, 'material')?.option
|
||||
@@ -68,6 +70,8 @@ export const useProduct = (variantId) => {
|
||||
material,
|
||||
size,
|
||||
|
||||
photoModel,
|
||||
|
||||
variations,
|
||||
|
||||
getAttribute,
|
||||
|
||||
Reference in New Issue
Block a user