Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 11 2015 19:43

    gdi2290 on master

    Delete CNAME (compare)

  • Oct 11 2015 16:31

    gdi2290 on master

    Create CNAME (compare)

  • Oct 11 2015 16:26

    gdi2290 on master

    Delete CNAME (compare)

  • Sep 01 2015 05:10

    Hendrixer on master

    chore() (compare)

  • May 18 2015 05:21
    gdi2290 closed #1
  • May 18 2015 05:21
    gdi2290 commented #1
  • May 18 2015 05:12
    gitter-badger opened #1
jai
@jaik1064

@jaik1064
Hi all, I am new to angular2 i have small application for online order. for backend API am using front-end angluar product list page i have select option for that selected value change my price and pack weight. after i added to the cart its showing array only not excatly selected value, add to cart click its cloning my product how can i fix this issue
<div *ngIf= "item.product_type === 'C'">
<ion-select>
<div *ngFor="let option of item.option_details" >
<label> {{option.catalogue_product_variant}} </label>
<ion-option Value="option.catalogue_product_variant_option_id"> <!-- Product options list -->
{{option.catalogue_product_variant_option_name}}

                </ion-option>
            </div>
          </ion-select>
          <ion-list>
      <label>Pack Weight (Kg) : </label><br>

<label>Pack Price : </label>
</ion-list>

      </div>

this my html code
addItem(item, Product){
this.productdetails.push(this.productdetails, item);
console.log(item);
}
this my ts file