So, basically, I have products array, and prices array, which has a product_id array inside (and inside that array I have the price and priceAfterDiscount data). The problem is that I am not able to pass this data using v-bind. (See :price="prices.product_${product.id}.price") This renders f.e. prices.product_8.price string instead of getting into array.
Thanks in advance. The code is below
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire