Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

1.8 KB
Raw Blame
<template v-if="PopupQuickViewVueModal.ProductBundleModels.length > 0">
    <div class="product-bundle my-3">
        <template v-for="item in PopupQuickViewVueModal.ProductBundleModels">
            <div class="card mb-2">
                <div class="row">
                    <div class="col-md-3 col-4 d-flex justify-content-center align-items-start pe-0">
                        <div class="img-fluid text-center">
                            <img class="img-fluid" :alt="item.DefaultPictureModel.AlternateText" :src="item.DefaultPictureModel.ImageUrl" :title="item.DefaultPictureModel.Title"/>
                        </div>
                    </div>
                    <div class="col-md-9 col-8">
                        <div class="py-3">
                            <h6 class="card-title">{{item.Quantity}} x <a :href="'/' + item.SeName"> {{item.Name}} </a>({{item.Price}})</h6>
                            <p class="card-text small" v-html="item.ShortDescription"></p>
                        </div>
                    </div>
                </div>
                <template v-if="item.ProductAttributes.length > 0">
                    <div class="col-12">
                        <template v-if="item.ProductAttributes.length > 0">
                            <div class="attributes">
                                <table class="table">
                                    <template v-for="(attribute, index) in item.ProductAttributes">
                                        <product-attribute-quickview :attribute="attribute"></product-attribute-quickview>
                                    </template>
                                </table>
                            </div>
                        </template>
                    </div>
                </template>
            </div>
        </template>
    </div>
</template>