We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a6024 commit ec4f583Copy full SHA for ec4f583
components/Products/ProductPrice.vue
@@ -26,6 +26,14 @@
26
</template>
27
28
<script setup>
29
+/**
30
+ * Displays the price of a product, with support for sale prices and variations.
31
+ *
32
+ * @param {Object} props - The component props.
33
+ * @param {Object} props.product - The product to display the price for.
34
+ * @param {string} [props.priceFontSize="normal"] - The font size for the price display.
35
+ * @param {boolean} [props.shouldCenterPrice=false] - Whether to center the price display.
36
+ */
37
import { computed } from "vue";
38
import {
39
formatPrice,
0 commit comments