<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Template
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<div class="pdapp-cart-qty border-top w-100 d-flex gap-2 flex-column p-1 mt-2">
    <div class="d-flex justify-content-between align-items-center w-100 gap-2">
        <template v-if="1 < cartQty">
            <h5 class="header-title fs-6 m-0 p-0">{{ langs.topbar.quantity }}</h5>
            <h5 class="header-title fs-6 m-0 p-0">{{ cartQty }} {{ langs.topbar.items }}</h5>
        </template>
        <template v-else>
            <h5 class="header-title fs-6 m-0 p-0">{{ langs.topbar.quantity }}</h5>
            <h5 class="header-title fs-6 m-0 p-0">{{ cartQty }} {{ langs.topbar.item }}</h5>
        </template>
    </div>
    <div class="d-flex flex-column w-100 gap-1" v-if="productCart.error != ''">
        <mark class="d-flex align-items-center gap-1 text-white bg-warning py-0"><i class="material-icons material-symbols-outlined fs-5">warning</i> <span>{{ productCart.error }}</span></mark>
    </div>
</div>