checkout.component.html 37.7 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995
<app-page-header
  title="Checkout"
  title1="Checkout"
  activeitem="Pages"
></app-page-header>

<!-- Start::row-1 -->
<div class="grid grid-cols-12 gap-x-6">
  <div class="col-span-12 xxl:col-span-9">
    <div class="box shadow-none border-0 !bg-transparent">
      <div class="box-body space-y-2 p-0">
        <div class="sm:flex justify-between space-y-2 sm:space-y-0">
          <h3
            class="text-xl my-auto font-semibold text-gray-800 dark:text-white"
          >
            Billing Address
          </h3>
          <button
            type="button"
            data-hs-overlay="#addadress"
            class="hs-dropdown-toggle ti-btn ti-btn-primary m-0"
          >
            <i class="ri-map-pin-add-line"></i>Add New Address
          </button>
        </div>
        <div class="sm:grid grid-cols-12 gap-6 space-y-4 sm:space-y-0">
          <div class="col-span-12 lg:col-span-6">
            <label
              class="flex p-3 w-full bg-white border border-gray-200 rounded-sm text-sm focus:border-primary focus:ring-primary dark:bg-bgdark dark:border-white/10 dark:text-white/70"
            >
              <input
                type="radio"
                name="address"
                class="ti-form-radio"
                id="address1"
                checked
              />
              <span
                class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70 w-full"
              >
                <span class="sm:flex">
                  <span>
                    <span class="text-base font-semibold text-primary block">
                      Address 1</span
                    >
                    <span>
                      Json Taylor ,Sed rebum., RD. 12,NW, Dolor et., Gubergren
                    </span>
                    <span
                      ><i class="ri-smartphone-line"></i> +(773)-1614311</span
                    >
                  </span>
                  <span class="ltr:ml-auto rtl:mr-auto my-auto flex">
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-secondary"
                    >
                      <i class="ti ti-pencil"></i>
                    </a>
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-danger"
                    >
                      <i class="ti ti-trash"></i>
                    </a>
                  </span>
                </span>
              </span>
            </label>
          </div>
          <div class="col-span-12 lg:col-span-6">
            <label
              class="flex p-3 w-full bg-white border border-gray-200 rounded-sm text-sm focus:border-primary focus:ring-primary dark:bg-bgdark dark:border-white/10 dark:text-white/70"
            >
              <input
                type="radio"
                name="address"
                class="ti-form-radio"
                id="address2"
              />
              <span
                class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70 w-full"
              >
                <span class="sm:flex">
                  <span>
                    <span class="text-base font-semibold text-primary block">
                      Address 2
                    </span>
                    <span>
                      Json Taylor ,Sed rebum., RD. 12,NW, Dolor et., Gubergren
                    </span>
                    <span
                      ><i class="ri-smartphone-line"></i> +(773)-1614311</span
                    >
                  </span>
                  <span class="ltr:ml-auto rtl:mr-auto my-auto flex">
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-secondary"
                    >
                      <i class="ti ti-pencil"></i>
                    </a>
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-danger"
                    >
                      <i class="ti ti-trash"></i>
                    </a>
                  </span>
                </span>
              </span>
            </label>
          </div>
        </div>
      </div>
    </div>
    <div class="box shadow-none border-0 !bg-transparent">
      <div class="box-body space-y-2 p-0">
        <h3 class="text-xl my-auto font-semibold text-gray-800 dark:text-white">
          Shipping Address
        </h3>
        <div class="sm:grid grid-cols-12 gap-6 space-y-4 sm:space-y-0">
          <div class="col-span-12 lg:col-span-6">
            <label
              class="flex p-3 w-full bg-white border border-gray-200 rounded-sm text-sm focus:border-primary focus:ring-primary dark:bg-bgdark dark:border-white/10 dark:text-white/70"
            >
              <input
                type="radio"
                name="address2"
                class="ti-form-radio"
                id="address3"
              />
              <span
                class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70 w-full"
              >
                <span class="sm:flex">
                  <span>
                    <span class="text-base font-semibold text-primary block">
                      Address 1</span
                    >
                    <span>
                      Json Taylor ,Sed rebum., RD. 12,NW, Dolor et., Gubergren
                    </span>
                    <span
                      ><i class="ri-smartphone-line"></i> +(773)-1614311</span
                    >
                  </span>
                  <span class="ltr:ml-auto rtl:mr-auto my-auto flex">
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-secondary"
                    >
                      <i class="ti ti-pencil"></i>
                    </a>
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-danger"
                    >
                      <i class="ti ti-trash"></i>
                    </a>
                  </span>
                </span>
              </span>
            </label>
          </div>
          <div class="col-span-12 lg:col-span-6">
            <label
              class="flex p-3 w-full bg-white border border-gray-200 rounded-sm text-sm focus:border-primary focus:ring-primary dark:bg-bgdark dark:border-white/10 dark:text-white/70"
            >
              <input
                type="radio"
                name="address2"
                class="ti-form-radio"
                id="address4"
                checked
              />

              <span
                class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70 w-full"
              >
                <span class="sm:flex">
                  <span>
                    <span class="text-base font-semibold text-primary block">
                      Address 2
                    </span>
                    <span>
                      Json Taylor ,Sed rebum., RD. 12,NW, Dolor et., Gubergren
                    </span>
                    <span
                      ><i class="ri-smartphone-line"></i> +(773)-1614311</span
                    >
                  </span>
                  <span class="ltr:ml-auto rtl:mr-auto my-auto flex">
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-secondary"
                    >
                      <i class="ti ti-pencil"></i>
                    </a>
                    <a
                      aria-label="anchor"
                      href="javascript:void(0);"
                      class="ti-btn text-xs font-medium rounded-sm transition-none focus:outline-none ti-btn-soft-danger"
                    >
                      <i class="ti ti-trash"></i>
                    </a>
                  </span>
                </span>
              </span>
            </label>
          </div>
        </div>
      </div>
    </div>
    <div class="box shadow-none border-0 !bg-transparent">
      <div class="box-body space-y-2 p-0">
        <h3 class="text-xl my-auto font-semibold text-gray-800 dark:text-white">
          Delivery Method
        </h3>
        <div class="sm:grid grid-cols-12 gap-6 space-y-4 sm:space-y-0">
          <div class="col-span-12 lg:col-span-6">
            <div class="box mb-0">
              <div class="box-body">
                <div class="flex flex-col">
                  <label
                    class="flex rounded-sm text-base font-semibold focus:ring-primary dark:bg-bgdark dark:text-white/70"
                  >
                    <input
                      type="radio"
                      name="delivery"
                      class="ti-form-radio"
                      id="delivery-1"
                    />
                    <span class="sm:flex w-full ltr:ml-3 rtl:mr-3">
                      <span class="block">
                        <span
                          class="text-base dark:text-white leading-none block"
                          >Free Delivery</span
                        >
                        <span
                          class="text-sm text-gray-500 dark:text-white/70 font-normal"
                        >
                          Expected Deilivery on 20 Nov</span
                        >
                      </span>
                      <span class="ltr:ml-auto rtl:mr-auto my-auto">
                        <span class="text-xl font-semibold">$0</span>
                      </span>
                    </span>
                  </label>
                </div>
              </div>
            </div>
          </div>
          <div class="col-span-12 lg:col-span-6">
            <div class="box mb-0">
              <div class="box-body">
                <div class="flex flex-col">
                  <label
                    class="flex rounded-sm text-base font-semibold focus:ring-primary dark:bg-bgdark dark:text-white/70"
                  >
                    <input
                      type="radio"
                      name="delivery"
                      class="ti-form-radio"
                      id="delivery-2"
                    />
                    <span class="sm:flex w-full ltr:ml-3 rtl:mr-3">
                      <span class="block">
                        <span
                          class="text-base dark:text-white leading-none block"
                          >Standard Delivery</span
                        >
                        <span
                          class="text-sm text-gray-500 dark:text-white/70 font-normal"
                        >
                          Expected Deilivery on 15 Nov</span
                        >
                      </span>
                      <span class="ltr:ml-auto rtl:mr-auto my-auto">
                        <span class="text-xl font-semibold">$3.99</span>
                      </span>
                    </span>
                  </label>
                </div>
              </div>
            </div>
          </div>
          <div class="col-span-12 lg:col-span-6">
            <div class="box mb-0">
              <div class="box-body">
                <div class="flex flex-col">
                  <label
                    class="flex rounded-sm text-base font-semibold focus:ring-primary dark:bg-bgdark dark:text-white/70"
                  >
                    <input
                      type="radio"
                      name="delivery"
                      class="ti-form-radio"
                      id="delivery-3"
                    />
                    <span class="sm:flex w-full ltr:ml-3 rtl:mr-3">
                      <span class="block">
                        <span
                          class="text-base dark:text-white leading-none block"
                          >Courier Delivery</span
                        >
                        <span
                          class="text-sm text-gray-500 dark:text-white/70 font-normal"
                        >
                          Expected Deilivery on 10 Nov</span
                        >
                      </span>
                      <span class="ltr:ml-auto rtl:mr-auto my-auto">
                        <span class="text-xl font-semibold">$5.99</span>
                      </span>
                    </span>
                  </label>
                </div>
              </div>
            </div>
          </div>
          <div class="col-span-12 lg:col-span-6">
            <div class="box mb-0">
              <div class="box-body">
                <div class="flex flex-col">
                  <label
                    class="flex rounded-sm text-base font-semibold focus:ring-primary dark:bg-bgdark dark:text-white/70"
                  >
                    <input
                      type="radio"
                      name="delivery"
                      class="ti-form-radio"
                      id="delivery-4"
                    />
                    <span class="sm:flex w-full ltr:ml-3 rtl:mr-3">
                      <span class="block">
                        <span
                          class="text-base dark:text-white leading-none block"
                          >Express Delivery</span
                        >
                        <span
                          class="text-sm text-gray-500 dark:text-white/70 font-normal"
                        >
                          Expected Deilivery Tommorrow</span
                        >
                      </span>
                      <span class="ltr:ml-auto rtl:mr-auto my-auto">
                        <span class="text-xl font-semibold">$10.99</span>
                      </span>
                    </span>
                  </label>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="box shadow-none border-0 !bg-transparent">
      <div class="box-body space-y-2 p-0">
        <h3 class="text-xl my-auto font-semibold text-gray-800 dark:text-white">
          Payment Method
        </h3>
        <div
          class="sm:grid grid-cols-12 gap-6 text-center space-y-4 sm:space-y-0"
        >
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment1"
                checked
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/1.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Amazon Pay</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment2"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/2.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold">PayPal</span>
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment3"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/3.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold">Rupay</span>
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment4"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/4.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Mastero card</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment5"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/5.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Master card</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment6"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/6.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold">Visa card</span>
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment7"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/7.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Cash On Delivery</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment8"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/8.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Net Banking</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment9"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/9.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold">Bitcoin</span>
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment10"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/10.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >American Express</span
                >
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment11"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/11.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold">Wallet</span>
              </span>
            </label>
          </div>
          <div class="col-span-12 md:col-span-2">
            <label class="payment-box">
              <input
                type="radio"
                name="payment"
                class="ti-form-radio"
                id="payment12"
              />
              <span class="payment-sec">
                <span class="block">
                  <img
                    src="./assets/img/payment-cards/12.png"
                    alt="payment-img"
                    class="avatar avatar-lg shadow-none !ring-transparent rounded-sm mx-auto"
                  />
                </span>
                <span class="text-sm text-center font-semibold"
                  >Bank Transfer</span
                >
              </span>
            </label>
          </div>
        </div>
      </div>
    </div>
    <div class="flex justify-between mb-6">
      <a routerLink="/ecommerce/cart" class="ti-btn ti-btn-secondary m-0"
        ><i class="ri-arrow-left-line"></i> Back to cart</a
      >
      <a
        href="javascript:void(0);"
        data-hs-overlay="#payment-success"
        class="ti-btn ti-btn-primary hs-dropdown-toggle m-0"
        >Place Order<i class="ri-arrow-right-line"></i
      ></a>
    </div>
  </div>
  <div class="col-span-12 xxl:col-span-3">
    <div class="box">
      <div class="box-header">
        <h5 class="box-titile">Order Summary</h5>
      </div>
      <div class="box-body px-0 space-y-5">
        <div
          class="flex flex-row justify-between border-b pb-5 px-6 border-gray-200 dark:border-white/10"
        >
          <div class="flex items-center">
            <img
              class="inline-block flex-shrink-0 h-[3.875rem] w-[3.875rem] rounded-sm p-2 border dark:border-white/10 bg-gray-100 dark:bg-black/20"
              src="./assets/img/ecommerce/products/1.png"
              alt="Image Description"
            />
            <div class="ltr:ml-4 rtl:mr-4 space-y-1">
              <h5 class="font-semibold text-gray-800 dark:text-white">
                Black Heals For Women
              </h5>
              <p class="text-xs tetext-gray-400 dark:text-white/70">
                Quantity : 2 ,Discount : 20%
              </p>
              <div class="">
                <span class="font-semibold text-base">$699</span>
                <span
                  class="text-sm font-normal text-gray-500 dark:text-white/70 line-through m-2"
                  >$999</span
                >
              </div>
            </div>
          </div>
          <div class="">
            <a
              aria-label="anchor"
              href="javascript:void(0);"
              class="ti-btn text-xs font-medium rounded-sm p-1 transition-none focus:outline-none ti-btn-soft-danger"
            >
              <i class="ti ti-trash"></i>
            </a>
          </div>
        </div>
        <div
          class="flex flex-row justify-between border-b pb-5 px-6 border-gray-200 dark:border-white/10"
        >
          <div class="flex items-center">
            <img
              class="inline-block flex-shrink-0 h-[3.875rem] w-[3.875rem] rounded-sm p-2 border dark:border-white/10 bg-gray-100 dark:bg-black/20"
              src="./assets/img/ecommerce/products/7.png"
              alt="Image Description"
            />
            <div class="ltr:ml-4 rtl:mr-4 space-y-1">
              <h5 class="font-semibold text-gray-800 dark:text-white">
                Sun Glasses
              </h5>
              <p class="text-xs tetext-gray-400 dark:text-white/70">
                Quantity : 2 ,Discount : 10%
              </p>
              <div class="">
                <span class="font-semibold text-base">$599</span>
                <span
                  class="text-sm font-normal text-gray-500 dark:text-white/70 line-through m-2"
                  >$699</span
                >
              </div>
            </div>
          </div>
          <div class="">
            <a
              aria-label="anchor"
              href="javascript:void(0);"
              class="ti-btn text-xs font-medium rounded-sm p-1 transition-none focus:outline-none ti-btn-soft-danger"
            >
              <i class="ti ti-trash"></i>
            </a>
          </div>
        </div>
        <div
          class="flex flex-row justify-between border-b pb-5 px-6 border-gray-200 dark:border-white/10"
        >
          <div class="flex items-center">
            <img
              class="inline-block flex-shrink-0 h-[3.875rem] w-[3.875rem] rounded-sm p-2 border dark:border-white/10 bg-gray-100 dark:bg-black/20"
              src="./assets/img/ecommerce/products/10.png"
              alt="Image Description"
            />
            <div class="ltr:ml-4 rtl:mr-4 space-y-1">
              <h5 class="font-semibold text-gray-800 dark:text-white">
                Leather Wallet For Grils
              </h5>
              <p class="text-xs tetext-gray-400 dark:text-white/70">
                Quantity : 1 ,Discount : 10%
              </p>
              <div class="">
                <span class="font-semibold text-base">$100</span>
                <span
                  class="text-sm font-normal text-gray-500 dark:text-white/70 line-through m-2"
                  >$150</span
                >
              </div>
            </div>
          </div>
          <div class="">
            <a
              aria-label="anchor"
              href="javascript:void(0);"
              class="ti-btn text-xs font-medium rounded-sm p-1 transition-none focus:outline-none ti-btn-soft-danger"
            >
              <i class="ti ti-trash"></i>
            </a>
          </div>
        </div>
        <ul class="flex flex-col px-6">
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              Total Items
              <span class="">4</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              SubTotal
              <span class="">$1100</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              Other Charges
              <span class="">$200</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              Delivery Charges
              <span class="text-success">-0% (Free)</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              Coupon Discount
              <span class="text-success">-5%</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full">
              Over all Discount
              <span class="text-success">-10%</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-white text-gray-800 dark:bg-bgdark dark:border-white/10 dark:text-white"
          >
            <div class="flex justify-between w-full text-xl font-semibold">
              Total
              <span class="">$1500</span>
            </div>
          </li>
          <li
            class="ti-list-group bg-success/30 text-success border-success/30"
          >
            <div class="flex justify-between w-full">
              Your Total Savings On this Order
              <span class="">$500</span>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</div>
<!-- End::row-1 -->

<!-- Start::Modal -->
<div id="addadress" class="hs-overlay ti-modal hidden">
  <div
    class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out flex items-center !max-w-2xl"
  >
    <div class="ti-modal-content w-full">
      <div class="ti-modal-header">
        <h3 class="ti-modal-title">Add Address</h3>
        <button
          type="button"
          class="hs-dropdown-toggle ti-modal-clode-btn"
          data-hs-overlay="#addadress"
        >
          <span class="sr-only">Close</span>
          <svg
            class="w-3.5 h-3.5"
            width="8"
            height="8"
            viewBox="0 0 8 8"
            fill="none"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="M0.258206 1.00652C0.351976 0.912791 0.479126 0.860131 0.611706 0.860131C0.744296 0.860131 0.871447 0.912791 0.965207 1.00652L3.61171 3.65302L6.25822 1.00652C6.30432 0.958771 6.35952 0.920671 6.42052 0.894471C6.48152 0.868271 6.54712 0.854471 6.61352 0.853901C6.67992 0.853321 6.74572 0.865971 6.80722 0.891111C6.86862 0.916251 6.92442 0.953381 6.97142 1.00032C7.01832 1.04727 7.05552 1.1031 7.08062 1.16454C7.10572 1.22599 7.11842 1.29183 7.11782 1.35822C7.11722 1.42461 7.10342 1.49022 7.07722 1.55122C7.05102 1.61222 7.01292 1.6674 6.96522 1.71352L4.31871 4.36002L6.96522 7.00648C7.05632 7.10078 7.10672 7.22708 7.10552 7.35818C7.10442 7.48928 7.05182 7.61468 6.95912 7.70738C6.86642 7.80018 6.74102 7.85268 6.60992 7.85388C6.47882 7.85498 6.35252 7.80458 6.25822 7.71348L3.61171 5.06702L0.965207 7.71348C0.870907 7.80458 0.744606 7.85498 0.613506 7.85388C0.482406 7.85268 0.357007 7.80018 0.264297 7.70738C0.171597 7.61468 0.119017 7.48928 0.117877 7.35818C0.116737 7.22708 0.167126 7.10078 0.258206 7.00648L2.90471 4.36002L0.258206 1.71352C0.164476 1.61976 0.111816 1.4926 0.111816 1.36002C0.111816 1.22744 0.164476 1.10028 0.258206 1.00652Z"
              fill="currentColor"
            ></path>
          </svg>
        </button>
      </div>
      <div class="ti-modal-body">
        <div class="grid lg:grid-cols-2 gap-6">
          <div class="space-y-2">
            <label class="ti-form-label mb-0">First Name</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="Firstname"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Last Name</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="Lastname"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Phone Number</label>
            <input
              type="number"
              class="my-auto ti-form-input"
              placeholder="+91 123-456-789"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Email Address</label>
            <input
              type="email"
              class="my-auto ti-form-input"
              placeholder="your@site.com"
            />
          </div>
        </div>
        <div class="my-5">
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Address</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="Address"
            />
          </div>
        </div>
        <div class="grid lg:grid-cols-2 gap-6">
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Address Type</label>
            <ng-select class="ti-form-select billing-search">
              <ng-option value="0">Select One</ng-option>
              <ng-option value="1">Home</ng-option>
              <ng-option value="2">Office</ng-option>
            </ng-select>
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Available Timings</label>
            <ng-select class="ti-form-select billing-search">
              <ng-option value="0">Select One</ng-option>
              <ng-option value="1">7Am - 9Pm</ng-option>
              <ng-option value="2">9Am - 7Pm</ng-option>
            </ng-select>
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">City</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="city"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">State</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="state"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Country</label>
            <input
              type="text"
              class="my-auto ti-form-input"
              placeholder="country"
            />
          </div>
          <div class="space-y-2">
            <label class="ti-form-label mb-0">Pincode</label>
            <input
              type="number"
              class="my-auto ti-form-input"
              placeholder="pincode"
            />
          </div>
        </div>
      </div>
      <div class="ti-modal-footer">
        <button
          type="button"
          class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
          data-hs-overlay="#addadress"
        >
          Discard
        </button>
        <a class="ti-btn ti-btn-primary" href="javascript:void(0);"> Save </a>
      </div>
    </div>
  </div>
</div>

<div id="payment-success" class="hs-overlay ti-modal hidden">
  <div
    class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] min-h-[calc(100%-3.5rem)] flex items-center !max-w-2xl"
  >
    <div class="ti-modal-content">
      <div class="ti-modal-body !p-6">
        <div class="checkout-payment-success">
          <div class="mb-5">
            <img src="./assets/img/png-images/13.png" alt="" class="mx-auto" />
          </div>
          <div class="text-center">
            <h5 class="text-base font-semibold mb-1">
              Hurray !..Your Order Has Been confirmed
            </h5>
            <p class="text-sm font-semibold text-gray-500 dark:text-white/70">
              Order Has Been Placed Successfully Now You Can Track Your Order
              ...
            </p>
            <a (click)="routerchange()" data-hs-overlay="#payment-success"
              class="ti-btn ti-btn-secondary mt-4"
              >Track Your Order</a
            >
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- End::Modal -->